Chore/Fix Swagger YAML formatting (#4034)

Fix Swagger YAML formatting
This commit is contained in:
Sunny Modi 2025-02-24 08:44:27 -06:00 committed by GitHub
parent 0e10952b45
commit fe2d16004c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 15 deletions

View File

@ -264,7 +264,7 @@ paths:
content: content:
application/json: application/json:
schema: schema:
$ref: '#/components/schemas/assistant' $ref: '#/components/schemas/Assistant'
'400': '400':
description: The specified ID is invalid or body is missing description: The specified ID is invalid or body is missing
'404': '404':
@ -779,6 +779,7 @@ paths:
description: Successfully execute refresh operation description: Successfully execute refresh operation
content: content:
application/json: application/json:
schema:
type: array type: array
items: items:
$ref: '#/components/schemas/VectorUpsertResponse' $ref: '#/components/schemas/VectorUpsertResponse'
@ -1447,7 +1448,7 @@ paths:
parameters: parameters:
- in: path - in: path
name: id name: id
required: false required: true
schema: schema:
type: string type: string
description: Chatflow ID to filter records by description: Chatflow ID to filter records by
@ -2036,7 +2037,7 @@ components:
properties: properties:
type: type:
type: string type: string
enum: [audio, url, file, file:rag, file:full] enum: [audio, url, file, 'file:rag', 'file:full']
description: The type of file upload description: The type of file upload
example: file example: file
name: name: