Skip to content

Commit a65c45f

Browse files
authored
Merge pull request #43 from openai/dev/ds-error-types
define error types
2 parents 9305b47 + 8ea6412 commit a65c45f

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

Diff for: openapi.yaml

+29
Original file line numberDiff line numberDiff line change
@@ -2009,6 +2009,35 @@ paths:
20092009
20102010
components:
20112011
schemas:
2012+
Error:
2013+
type: object
2014+
properties:
2015+
type:
2016+
type: string
2017+
nullable: false
2018+
message:
2019+
type: string
2020+
nullable: false
2021+
param:
2022+
type: string
2023+
nullable: true
2024+
code:
2025+
type: string
2026+
nullable: true
2027+
required:
2028+
- type
2029+
- message
2030+
- param
2031+
- code
2032+
2033+
ErrorResponse:
2034+
type: object
2035+
properties:
2036+
error:
2037+
$ref: '#/components/schemas/Error'
2038+
required:
2039+
- error
2040+
20122041
ListEnginesResponse:
20132042
type: object
20142043
properties:

0 commit comments

Comments
 (0)