@@ -45,7 +45,28 @@ paths:
45
45
content :
46
46
application/json :
47
47
schema :
48
- $ref : ' #/components/schemas/HTTPError'
48
+ type : object
49
+ properties :
50
+ message :
51
+ type : string
52
+ description : The message to return
53
+ data :
54
+ $ref : ' #/components/schemas/HTTPError'
55
+ status_code :
56
+ type : integer
57
+ description : The HTTP status code
58
+ warnings :
59
+ type : array
60
+ items :
61
+ $ref : ' #/components/schemas/ValidationError'
62
+ errors :
63
+ type : array
64
+ items :
65
+ $ref : ' #/components/schemas/ValidationError'
66
+ pagination_info :
67
+ description : The pagination information for paginated endpoints
68
+ allOf :
69
+ - $ref : ' #/components/schemas/PaginationInfo'
49
70
description : Service Unavailable
50
71
tags :
51
72
- Health
@@ -85,13 +106,55 @@ paths:
85
106
content :
86
107
application/json :
87
108
schema :
88
- $ref : ' #/components/schemas/ValidationError'
109
+ type : object
110
+ properties :
111
+ message :
112
+ type : string
113
+ description : The message to return
114
+ data :
115
+ $ref : ' #/components/schemas/ValidationError'
116
+ status_code :
117
+ type : integer
118
+ description : The HTTP status code
119
+ warnings :
120
+ type : array
121
+ items :
122
+ $ref : ' #/components/schemas/ValidationError'
123
+ errors :
124
+ type : array
125
+ items :
126
+ $ref : ' #/components/schemas/ValidationError'
127
+ pagination_info :
128
+ description : The pagination information for paginated endpoints
129
+ allOf :
130
+ - $ref : ' #/components/schemas/PaginationInfo'
89
131
description : Validation error
90
132
' 401 ' :
91
133
content :
92
134
application/json :
93
135
schema :
94
- $ref : ' #/components/schemas/HTTPError'
136
+ type : object
137
+ properties :
138
+ message :
139
+ type : string
140
+ description : The message to return
141
+ data :
142
+ $ref : ' #/components/schemas/HTTPError'
143
+ status_code :
144
+ type : integer
145
+ description : The HTTP status code
146
+ warnings :
147
+ type : array
148
+ items :
149
+ $ref : ' #/components/schemas/ValidationError'
150
+ errors :
151
+ type : array
152
+ items :
153
+ $ref : ' #/components/schemas/ValidationError'
154
+ pagination_info :
155
+ description : The pagination information for paginated endpoints
156
+ allOf :
157
+ - $ref : ' #/components/schemas/PaginationInfo'
95
158
description : Authentication error
96
159
tags :
97
160
- User
@@ -140,13 +203,55 @@ paths:
140
203
content :
141
204
application/json :
142
205
schema :
143
- $ref : ' #/components/schemas/ValidationError'
206
+ type : object
207
+ properties :
208
+ message :
209
+ type : string
210
+ description : The message to return
211
+ data :
212
+ $ref : ' #/components/schemas/ValidationError'
213
+ status_code :
214
+ type : integer
215
+ description : The HTTP status code
216
+ warnings :
217
+ type : array
218
+ items :
219
+ $ref : ' #/components/schemas/ValidationError'
220
+ errors :
221
+ type : array
222
+ items :
223
+ $ref : ' #/components/schemas/ValidationError'
224
+ pagination_info :
225
+ description : The pagination information for paginated endpoints
226
+ allOf :
227
+ - $ref : ' #/components/schemas/PaginationInfo'
144
228
description : Validation error
145
229
' 401 ' :
146
230
content :
147
231
application/json :
148
232
schema :
149
- $ref : ' #/components/schemas/HTTPError'
233
+ type : object
234
+ properties :
235
+ message :
236
+ type : string
237
+ description : The message to return
238
+ data :
239
+ $ref : ' #/components/schemas/HTTPError'
240
+ status_code :
241
+ type : integer
242
+ description : The HTTP status code
243
+ warnings :
244
+ type : array
245
+ items :
246
+ $ref : ' #/components/schemas/ValidationError'
247
+ errors :
248
+ type : array
249
+ items :
250
+ $ref : ' #/components/schemas/ValidationError'
251
+ pagination_info :
252
+ description : The pagination information for paginated endpoints
253
+ allOf :
254
+ - $ref : ' #/components/schemas/PaginationInfo'
150
255
description : Authentication error
151
256
tags :
152
257
- User
@@ -198,13 +303,55 @@ paths:
198
303
content :
199
304
application/json :
200
305
schema :
201
- $ref : ' #/components/schemas/HTTPError'
306
+ type : object
307
+ properties :
308
+ message :
309
+ type : string
310
+ description : The message to return
311
+ data :
312
+ $ref : ' #/components/schemas/HTTPError'
313
+ status_code :
314
+ type : integer
315
+ description : The HTTP status code
316
+ warnings :
317
+ type : array
318
+ items :
319
+ $ref : ' #/components/schemas/ValidationError'
320
+ errors :
321
+ type : array
322
+ items :
323
+ $ref : ' #/components/schemas/ValidationError'
324
+ pagination_info :
325
+ description : The pagination information for paginated endpoints
326
+ allOf :
327
+ - $ref : ' #/components/schemas/PaginationInfo'
202
328
description : Authentication error
203
329
' 404 ' :
204
330
content :
205
331
application/json :
206
332
schema :
207
- $ref : ' #/components/schemas/HTTPError'
333
+ type : object
334
+ properties :
335
+ message :
336
+ type : string
337
+ description : The message to return
338
+ data :
339
+ $ref : ' #/components/schemas/HTTPError'
340
+ status_code :
341
+ type : integer
342
+ description : The HTTP status code
343
+ warnings :
344
+ type : array
345
+ items :
346
+ $ref : ' #/components/schemas/ValidationError'
347
+ errors :
348
+ type : array
349
+ items :
350
+ $ref : ' #/components/schemas/ValidationError'
351
+ pagination_info :
352
+ description : The pagination information for paginated endpoints
353
+ allOf :
354
+ - $ref : ' #/components/schemas/PaginationInfo'
208
355
description : Not found
209
356
tags :
210
357
- User
@@ -250,19 +397,82 @@ paths:
250
397
content :
251
398
application/json :
252
399
schema :
253
- $ref : ' #/components/schemas/ValidationError'
400
+ type : object
401
+ properties :
402
+ message :
403
+ type : string
404
+ description : The message to return
405
+ data :
406
+ $ref : ' #/components/schemas/ValidationError'
407
+ status_code :
408
+ type : integer
409
+ description : The HTTP status code
410
+ warnings :
411
+ type : array
412
+ items :
413
+ $ref : ' #/components/schemas/ValidationError'
414
+ errors :
415
+ type : array
416
+ items :
417
+ $ref : ' #/components/schemas/ValidationError'
418
+ pagination_info :
419
+ description : The pagination information for paginated endpoints
420
+ allOf :
421
+ - $ref : ' #/components/schemas/PaginationInfo'
254
422
description : Validation error
255
423
' 401 ' :
256
424
content :
257
425
application/json :
258
426
schema :
259
- $ref : ' #/components/schemas/HTTPError'
427
+ type : object
428
+ properties :
429
+ message :
430
+ type : string
431
+ description : The message to return
432
+ data :
433
+ $ref : ' #/components/schemas/HTTPError'
434
+ status_code :
435
+ type : integer
436
+ description : The HTTP status code
437
+ warnings :
438
+ type : array
439
+ items :
440
+ $ref : ' #/components/schemas/ValidationError'
441
+ errors :
442
+ type : array
443
+ items :
444
+ $ref : ' #/components/schemas/ValidationError'
445
+ pagination_info :
446
+ description : The pagination information for paginated endpoints
447
+ allOf :
448
+ - $ref : ' #/components/schemas/PaginationInfo'
260
449
description : Authentication error
261
450
' 404 ' :
262
451
content :
263
452
application/json :
264
453
schema :
265
- $ref : ' #/components/schemas/HTTPError'
454
+ type : object
455
+ properties :
456
+ message :
457
+ type : string
458
+ description : The message to return
459
+ data :
460
+ $ref : ' #/components/schemas/HTTPError'
461
+ status_code :
462
+ type : integer
463
+ description : The HTTP status code
464
+ warnings :
465
+ type : array
466
+ items :
467
+ $ref : ' #/components/schemas/ValidationError'
468
+ errors :
469
+ type : array
470
+ items :
471
+ $ref : ' #/components/schemas/ValidationError'
472
+ pagination_info :
473
+ description : The pagination information for paginated endpoints
474
+ allOf :
475
+ - $ref : ' #/components/schemas/PaginationInfo'
266
476
description : Not found
267
477
tags :
268
478
- User
0 commit comments