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

@ -63,14 +63,14 @@ paths:
schema:
type: string
example: 2025-01-01T11:28:36.000Z
format: date-time
format: date-time
description: Filter by start date
- in: query
name: endDate
schema:
type: string
example: 2025-01-13T11:28:36.000Z
format: date-time
format: date-time
description: Filter by end date
- in: query
name: feedback
@ -206,7 +206,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/Assistant'
$ref: '#/components/schemas/Assistant'
'500':
description: Internal error
/assistants/{id}:
@ -264,7 +264,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/assistant'
$ref: '#/components/schemas/Assistant'
'400':
description: The specified ID is invalid or body is missing
'404':
@ -553,12 +553,12 @@ paths:
responses:
'200':
description: A list of document stores
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/DocumentStore'
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/DocumentStore'
'500':
description: Internal server error
@ -778,7 +778,8 @@ paths:
'200':
description: Successfully execute refresh operation
content:
application/json:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/VectorUpsertResponse'
@ -1035,8 +1036,8 @@ paths:
required: true
responses:
'200':
description: Feedback successfully created
content:
description: Feedback successfully created
content:
application/json:
schema:
$ref: '#/components/schemas/ChatMessageFeedback'
@ -1447,7 +1448,7 @@ paths:
parameters:
- in: path
name: id
required: false
required: true
schema:
type: string
description: Chatflow ID to filter records by
@ -2036,7 +2037,7 @@ components:
properties:
type:
type: string
enum: [audio, url, file, file:rag, file:full]
enum: [audio, url, file, 'file:rag', 'file:full']
description: The type of file upload
example: file
name: