mirror of
https://github.com/containers/podman.git
synced 2025-06-20 17:13:43 +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
|
// description: the name or ID of the container
|
||||||
// - in: query
|
// - in: query
|
||||||
// name: condition
|
// name: condition
|
||||||
|
// type: array
|
||||||
|
// items:
|
||||||
// type: string
|
// type: string
|
||||||
// description: |
|
// enum:
|
||||||
// wait until container is to a given condition. default is stopped. valid conditions are:
|
|
||||||
// - configured
|
// - configured
|
||||||
// - created
|
// - created
|
||||||
// - exited
|
|
||||||
// - paused
|
|
||||||
// - running
|
// - running
|
||||||
// - stopped
|
// - stopped
|
||||||
|
// - paused
|
||||||
|
// - exited
|
||||||
|
// - removing
|
||||||
|
// - stopping
|
||||||
|
// description: "Conditions to wait for. If no condition provided the 'exited' condition is assumed."
|
||||||
// produces:
|
// produces:
|
||||||
// - application/json
|
// - application/json
|
||||||
// responses:
|
// responses:
|
||||||
|
Reference in New Issue
Block a user