Skip to content

Commit

Permalink
api/swagger: add missing 400 response for POST /containers/{id}/wait
Browse files Browse the repository at this point in the history
The /containers/{id}/wait can return a 400 (invalid argument) error if
httputils.ParseForm() fails.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
  • Loading branch information
thaJeztah committed Feb 14, 2022
1 parent 0ac746f commit 0e5929f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7018,6 +7018,10 @@ paths:
Message:
description: "Details of an error"
type: "string"
400:
description: "bad parameter"
schema:
$ref: "#/definitions/ErrorResponse"
404:
description: "no such container"
schema:
Expand Down

0 comments on commit 0e5929f

Please sign in to comment.