[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:
Jhon Honce
2021-08-18 16:27:20 -07:00
parent 5a32946d61
commit 0897946f60
7 changed files with 36 additions and 41 deletions

View File

@ -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"