Skip to content

Commit

Permalink
Merge pull request containers#9339 from matejvasek/update_wait_swagger
Browse files Browse the repository at this point in the history
[CI:DOCS] Update swagger doc for libpod container wait
  • Loading branch information
openshift-merge-robot authored Feb 19, 2021
2 parents b6db60e + caa0bc1 commit 4aaaa6c
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions pkg/api/server/register_containers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4aaaa6c

Please sign in to comment.