summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorMatej Vasek <mvasek@redhat.com>2021-02-12 17:22:46 +0100
committerMatej Vasek <mvasek@redhat.com>2021-02-18 18:09:21 +0100
commitcaa0bc157693bacbb21528f8d9645182f3e13516 (patch)
tree97d1e5b1ae49f9dab4e91f2e836eaef9e0ae3628 /pkg
parentb2bb05d598452f7653e5b9311e3bd844b767cb26 (diff)
downloadpodman-caa0bc157693bacbb21528f8d9645182f3e13516.tar.gz
podman-caa0bc157693bacbb21528f8d9645182f3e13516.tar.bz2
podman-caa0bc157693bacbb21528f8d9645182f3e13516.zip
[CI:DOCS] [NO TESTS NEEDED] Update swagger doc for libpod container wait
Signed-off-by: Matej Vasek <mvasek@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/api/server/register_containers.go22
1 files changed, 13 insertions, 9 deletions
diff --git a/pkg/api/server/register_containers.go b/pkg/api/server/register_containers.go
index ff1781d1e..2b8330d4c 100644
--- a/pkg/api/server/register_containers.go
+++ b/pkg/api/server/register_containers.go
@@ -1176,15 +1176,19 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
// description: the name or ID of the container
// - in: query
// name: condition
- // type: string
- // description: |
- // wait until container is to a given condition. default is stopped. valid conditions are:
- // - configured
- // - created
- // - exited
- // - paused
- // - running
- // - stopped
+ // type: array
+ // items:
+ // type: string
+ // enum:
+ // - configured
+ // - created
+ // - running
+ // - stopped
+ // - paused
+ // - exited
+ // - removing
+ // - stopping
+ // description: "Conditions to wait for. If no condition provided the 'exited' condition is assumed."
// produces:
// - application/json
// responses: