Skip to content

Commit 1c0902b

Browse files
committed
docs(openapi): update responses for POST /routes
1 parent 8d45f58 commit 1c0902b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

api/spec_adminapi.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,23 @@ paths:
362362
responses:
363363
'202':
364364
description: Routes configuration accepted
365+
'400':
366+
description: Unable to apply configuration due to missing payloads
367+
content:
368+
application/json:
369+
schema:
370+
$ref: "#/components/schemas/ErrorResponse"
371+
example:
372+
status: 400
373+
message: missing payloads
374+
details: "cannot find payload for default method of '/' route: payload with given ID does not exist: u4-i74LliXKedbn40vWj6"
375+
text/yaml:
376+
schema:
377+
$ref: "#/components/schemas/ErrorResponse"
378+
example:
379+
status: 400
380+
message: missing payloads
381+
details: "cannot find payload for default method of '/' route: payload with given ID does not exist: u4-i74LliXKedbn40vWj6"
365382
'422':
366383
description: Unable to parse request body
367384
content:

0 commit comments

Comments
 (0)