mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
[NO TESTS NEEDED] Clean up swagger
* Removed defined by unused responses * Added missing body definitions * Updated header input definitions Outstanding issues: * Supporting body ContainerConfig for /commit endpoint Fixes #8577 Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
@ -21,6 +21,12 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
|
||||
// name: name
|
||||
// type: string
|
||||
// description: container name
|
||||
// - in: body
|
||||
// name: body
|
||||
// description: Container to create
|
||||
// schema:
|
||||
// $ref: "#/definitions/CreateContainerConfig"
|
||||
// required: true
|
||||
// responses:
|
||||
// 201:
|
||||
// $ref: "#/responses/ContainerCreateResponse"
|
||||
|
Reference in New Issue
Block a user