openapi: 3.0.1 info: title: Outrank Article description: An instruction of generating outranked article with content of url version: 'v1' servers: - url: https://outrank-article-qiabyuewca-uc.a.run.app/ paths: /outrank: post: operationId: outrankArticle summary: An instruction of generating outranked article with content of url description: An instruction of generating outranked article with content of url 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: url: type: string description: the url from where content will be found required: - url ContentResponse: type: array description: An array of messages based on which outrank article should be generated by GPT items: type: object properties: role: type: string description: The role associated with the content (e.g., "system", "user"). content: type: string description: The actual content or message.