Skip to content

Commit e3ca48a

Browse files
committed
docs(api): clarified that the detail and instance fields of problem details are optional
1 parent 710ac39 commit e3ca48a

1 file changed

Lines changed: 33 additions & 33 deletions

File tree

openapi.yaml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,6 @@ paths:
5151
status: 400
5252
detail: The request was invalid or could not be processed.
5353
instance: null
54-
Query too long error:
55-
summary: Query too long error
56-
value:
57-
type: about:blank
58-
title: Query too long error
59-
status: 400
60-
detail: The provided query exceeds the model's maximum input length
61-
less overhead.
62-
instance: null
6354
Invalid IQL query error:
6455
summary: Invalid IQL query error
6556
value:
@@ -69,6 +60,15 @@ paths:
6960
detail: The provided query is not valid Isaacus Query Language
7061
(IQL) syntax.
7162
instance: null
63+
Query too long error:
64+
summary: Query too long error
65+
value:
66+
type: about:blank
67+
title: Query too long error
68+
status: 400
69+
detail: The provided query exceeds the model's maximum input length
70+
less overhead.
71+
instance: null
7272
'401':
7373
description: The API key you provided does not exist, is expired or revoked,
7474
or is not authorized to access this resource.
@@ -214,8 +214,8 @@ components:
214214
examples:
215215
- A string.
216216
- type: 'null'
217-
description: A human-readable explanation specific to this occurrence of
218-
the problem.
217+
description: An optional human-readable explanation specific to this occurrence
218+
of the problem.
219219
default: You are not allowed to access this resource.
220220
examples:
221221
- You are not allowed to access this resource.
@@ -227,8 +227,8 @@ components:
227227
examples:
228228
- A string.
229229
- type: 'null'
230-
description: A URI reference that identifies the specific occurrence of
231-
the problem.
230+
description: An optional URI reference that identifies the specific occurrence
231+
of the problem.
232232
examples:
233233
- null
234234
type: object
@@ -275,8 +275,8 @@ components:
275275
examples:
276276
- A string.
277277
- type: 'null'
278-
description: A human-readable explanation specific to this occurrence of
279-
the problem.
278+
description: An optional human-readable explanation specific to this occurrence
279+
of the problem.
280280
default: Your account is overdue, please pay any outstanding invoices to
281281
continue using our services.
282282
examples:
@@ -290,8 +290,8 @@ components:
290290
examples:
291291
- A string.
292292
- type: 'null'
293-
description: A URI reference that identifies the specific occurrence of
294-
the problem.
293+
description: An optional URI reference that identifies the specific occurrence
294+
of the problem.
295295
examples:
296296
- null
297297
type: object
@@ -407,8 +407,8 @@ components:
407407
examples:
408408
- A string.
409409
- type: 'null'
410-
description: A human-readable explanation specific to this occurrence of
411-
the problem.
410+
description: An optional human-readable explanation specific to this occurrence
411+
of the problem.
412412
default: An unexpected error occurred while processing the request.
413413
examples:
414414
- An unexpected error occurred while processing the request.
@@ -420,8 +420,8 @@ components:
420420
examples:
421421
- A string.
422422
- type: 'null'
423-
description: A URI reference that identifies the specific occurrence of
424-
the problem.
423+
description: An optional URI reference that identifies the specific occurrence
424+
of the problem.
425425
examples:
426426
- null
427427
type: object
@@ -467,8 +467,8 @@ components:
467467
examples:
468468
- A string.
469469
- type: 'null'
470-
description: A human-readable explanation specific to this occurrence of
471-
the problem.
470+
description: An optional human-readable explanation specific to this occurrence
471+
of the problem.
472472
default: The request is larger than the server is willing or able to process.
473473
examples:
474474
- The request is larger than the server is willing or able to process.
@@ -480,8 +480,8 @@ components:
480480
examples:
481481
- A string.
482482
- type: 'null'
483-
description: A URI reference that identifies the specific occurrence of
484-
the problem.
483+
description: An optional URI reference that identifies the specific occurrence
484+
of the problem.
485485
examples:
486486
- null
487487
type: object
@@ -528,8 +528,8 @@ components:
528528
examples:
529529
- A string.
530530
- type: 'null'
531-
description: A human-readable explanation specific to this occurrence of
532-
the problem.
531+
description: An optional human-readable explanation specific to this occurrence
532+
of the problem.
533533
default: The API key you provided does not exist, is expired or revoked,
534534
or is not authorized to access this resource.
535535
examples:
@@ -543,8 +543,8 @@ components:
543543
examples:
544544
- A string.
545545
- type: 'null'
546-
description: A URI reference that identifies the specific occurrence of
547-
the problem.
546+
description: An optional URI reference that identifies the specific occurrence
547+
of the problem.
548548
examples:
549549
- null
550550
type: object
@@ -802,8 +802,8 @@ components:
802802
examples:
803803
- A string.
804804
- type: 'null'
805-
description: A human-readable explanation specific to this occurrence of
806-
the problem.
805+
description: An optional human-readable explanation specific to this occurrence
806+
of the problem.
807807
default: The request was invalid or could not be processed.
808808
examples:
809809
- The request was invalid or could not be processed.
@@ -815,8 +815,8 @@ components:
815815
examples:
816816
- A string.
817817
- type: 'null'
818-
description: A URI reference that identifies the specific occurrence of
819-
the problem.
818+
description: An optional URI reference that identifies the specific occurrence
819+
of the problem.
820820
examples:
821821
- null
822822
type: object

0 commit comments

Comments
 (0)