mirror of
https://github.com/containers/podman.git
synced 2025-06-20 00:51:16 +08:00
Merge pull request #9339 from matejvasek/update_wait_swagger
[CI:DOCS] Update swagger doc for libpod container wait
This commit is contained in:
@ -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: array
|
||||
// items:
|
||||
// type: string
|
||||
// description: |
|
||||
// wait until container is to a given condition. default is stopped. valid conditions are:
|
||||
// enum:
|
||||
// - configured
|
||||
// - created
|
||||
// - exited
|
||||
// - paused
|
||||
// - running
|
||||
// - stopped
|
||||
// - paused
|
||||
// - exited
|
||||
// - removing
|
||||
// - stopping
|
||||
// description: "Conditions to wait for. If no condition provided the 'exited' condition is assumed."
|
||||
// produces:
|
||||
// - application/json
|
||||
// responses:
|
||||
|
Reference in New Issue
Block a user