[CI:DOCS] [NO TESTS NEEDED] Update swagger doc for libpod container wait

Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
Matej Vasek
2021-02-12 17:22:46 +01:00
parent b2bb05d598
commit caa0bc1576

View File

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