diff --git a/openapi.yaml b/openapi.yaml index 1c3f01c..e5072b8 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -9,7 +9,6 @@ paths: summary: List Models description: List all models available to the user. operationId: list_models_v1_models_get - parameters: [] responses: "200": description: Successful Response @@ -1859,10 +1858,12 @@ components: title: Messages description: The prompt(s) to generate completions for, encoded as a list of dict with role and content. examples: - - { - "role": "user", - "content": "Who is the best French painter? Answer in one short sentence.", - } + - [ + { + "role": "user", + "content": "Who is the best French painter? Answer in one short sentence.", + }, + ] response_format: $ref: "#/components/schemas/ResponseFormat" tools: @@ -2206,10 +2207,12 @@ components: user: "#/components/schemas/UserMessage" description: The prompt(s) to generate completions for, encoded as a list of dict with role and content. examples: - - { - "role": "user", - "content": "Who is the best French painter? Answer in one short sentence.", - } + - [ + { + "role": "user", + "content": "Who is the best French painter? Answer in one short sentence.", + }, + ] response_format: $ref: "#/components/schemas/ResponseFormat" tools: @@ -2432,7 +2435,8 @@ components: anyOf: - type: "null" - type: array - $ref: "#/components/schemas/ToolCall" + items: + $ref: "#/components/schemas/ToolCall" securitySchemes: ApiKey: type: http