openapi: 3.0.1 info: title: Prompt Enhancer description: Enhance prompts for optimal results using chatgpt. version: 'v1' servers: - url: paths: /get-prompt: post: operationId: getPrompt summary: get prompt from user command description: Based on user command generate prompt for chat gpt requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/Data' responses: '200': description: Content Generation Successful content: application/json: schema: $ref: '#/components/schemas/ContentResponse' '400': description: Invalid input. '500': description: Internal server error. components: schemas: Data: type: object properties: command: type: string description: Command to generate the prompt required: - command ContentResponse: articleWriter: type: string description: What is bascially the response.