Skip to content

Commit

Permalink
define error types
Browse files Browse the repository at this point in the history
  • Loading branch information
schnerd committed Jun 11, 2023
1 parent 9305b47 commit 8ea6412
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2009,6 +2009,35 @@ paths:
components:
schemas:
Error:
type: object
properties:
type:
type: string
nullable: false
message:
type: string
nullable: false
param:
type: string
nullable: true
code:
type: string
nullable: true
required:
- type
- message
- param
- code

ErrorResponse:
type: object
properties:
error:
$ref: '#/components/schemas/Error'
required:
- error

ListEnginesResponse:
type: object
properties:
Expand Down

0 comments on commit 8ea6412

Please sign in to comment.