diff --git a/api/swagger.yaml b/api/swagger.yaml index 46505d06c0..8cb8c9cbd1 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -7038,9 +7038,14 @@ paths: - name: "condition" in: "query" description: | - Wait until a container state reaches the given condition, either - 'not-running' (default), 'next-exit', or 'removed'. + Wait until a container state reaches the given condition. + + Defaults to `not-running` if omitted or empty. type: "string" + enum: + - "not-running" + - "next-exit" + - "removed" default: "not-running" tags: ["Container"] /containers/{id}: