I want to make a swagger code for chatgpt custom connector , the swagger code that i have now is as follows.
swagger: '2.0' info: title: ChatGpt description: '' version: '1.0' host: api.openai.com basePath: / schemes: - https consumes: [] produces: [] paths: /v1/chat/completions: post: responses: default: description: default schema: {} summary: GetResponse operationId: GetResponse parameters: - name: Content-Type in: header required: false type: string - name: body in: body required: false schema: type: object properties: model: type: string description: model messages: type: array items: type: object properties: role: type: string description: role content: type: string description: content description: messages temperature: type: number format: float description: temperature definitions: {} parameters: {} responses: {} securityDefinitions: {} security: - API Key: [] tags: []
This swagger is for creating completions in Chatgpt.
The response it gives is as follows.
I want to my swagger such that it will generate a custom response rather than the one mentioned above.
I need steps on how i can achieve this.

Report
All responses (
Answers (