Skip to content

Commit d2fa430

Browse files
authored
Chore/swagger update (#3860)
* update swagger spec * update api docs to include doc store file chunks * update swagger api * update swagger api
1 parent 89c5eb0 commit d2fa430

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

packages/api-documentation/src/yml/swagger.yml

+26-1
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,14 @@ paths:
6262
name: startDate
6363
schema:
6464
type: string
65+
example: 2025-01-01T11:28:36.000Z
6566
format: date-time
6667
description: Filter by start date
6768
- in: query
6869
name: endDate
6970
schema:
7071
type: string
72+
example: 2025-01-13T11:28:36.000Z
7173
format: date-time
7274
description: Filter by end date
7375
- in: query
@@ -80,7 +82,7 @@ paths:
8082
schema:
8183
type: string
8284
enum: [THUMBS_UP, THUMBS_DOWN]
83-
description: Filter by feedback type
85+
description: Filter by feedback type. Only applicable if feedback is true
8486
responses:
8587
'200':
8688
description: A list of chat messages
@@ -130,6 +132,29 @@ paths:
130132
type: string
131133
enum: [INTERNAL, EXTERNAL]
132134
description: Filter by chat type
135+
- in: query
136+
name: startDate
137+
schema:
138+
type: string
139+
example: 2025-01-01T11:28:36.000Z
140+
description: Filter by start date
141+
- in: query
142+
name: endDate
143+
schema:
144+
type: string
145+
example: 2025-01-13T11:28:36.000Z
146+
description: Filter by end date
147+
- in: query
148+
name: feedbackType
149+
schema:
150+
type: string
151+
enum: [THUMBS_UP, THUMBS_DOWN]
152+
description: Filter by feedback type
153+
- in: query
154+
name: hardDelete
155+
schema:
156+
type: boolean
157+
description: If hardDelete is true, messages will be deleted from the third party service as well
133158
responses:
134159
'200':
135160
description: Chat messages deleted successfully

0 commit comments

Comments
 (0)