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:
Sebastiaan van Stijn 2022-02-14 10:23:57 +01:00
parent 0ac746fabb
commit 0e5929f99d
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -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: