From caa0bc157693bacbb21528f8d9645182f3e13516 Mon Sep 17 00:00:00 2001 From: Matej Vasek Date: Fri, 12 Feb 2021 17:22:46 +0100 Subject: [CI:DOCS] [NO TESTS NEEDED] Update swagger doc for libpod container wait Signed-off-by: Matej Vasek --- pkg/api/server/register_containers.go | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'pkg') 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: -- cgit v1.2.3-54-g00ecf