Skip to content

Commit

Permalink
[CI:DOCS] [NO TESTS NEEDED] Update swagger doc for libpod container wait
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Vasek <[email protected]>
  • Loading branch information
matejvasek committed Feb 18, 2021
1 parent b2bb05d commit caa0bc1
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 caa0bc1

Please sign in to comment.