Skip to content

Commit

Permalink
docs(openapi): update responses for POST /routes
Browse files Browse the repository at this point in the history
  • Loading branch information
Icikowski committed Jan 27, 2023
1 parent 8d45f58 commit 1c0902b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions api/spec_adminapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,23 @@ paths:
responses:
'202':
description: Routes configuration accepted
'400':
description: Unable to apply configuration due to missing payloads
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
example:
status: 400
message: missing payloads
details: "cannot find payload for default method of '/' route: payload with given ID does not exist: u4-i74LliXKedbn40vWj6"
text/yaml:
schema:
$ref: "#/components/schemas/ErrorResponse"
example:
status: 400
message: missing payloads
details: "cannot find payload for default method of '/' route: payload with given ID does not exist: u4-i74LliXKedbn40vWj6"
'422':
description: Unable to parse request body
content:
Expand Down

0 comments on commit 1c0902b

Please sign in to comment.