api/swagger: add missing 400 response for POST /containers/{id}/wait
The /containers/{id}/wait can return a 400 (invalid argument) error if httputils.ParseForm() fails. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
0ac746fabb
commit
0e5929f99d
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue