diff options
author | Jhon Honce <jhonce@redhat.com> | 2021-08-18 16:27:20 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2021-08-19 07:57:54 -0700 |
commit | 0897946f60e7a7096497a8a24a17c2581a339743 (patch) | |
tree | edf05bdb78806a25aa343e27b9521199629befaa /pkg/api/server/register_containers.go | |
parent | 5a32946d61fd282d0801208ae414111626c79768 (diff) | |
download | podman-0897946f60e7a7096497a8a24a17c2581a339743.tar.gz podman-0897946f60e7a7096497a8a24a17c2581a339743.tar.bz2 podman-0897946f60e7a7096497a8a24a17c2581a339743.zip |
[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>
Diffstat (limited to 'pkg/api/server/register_containers.go')
-rw-r--r-- | pkg/api/server/register_containers.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/api/server/register_containers.go b/pkg/api/server/register_containers.go index 0ec4f95d9..b36cb75f1 100644 --- a/pkg/api/server/register_containers.go +++ b/pkg/api/server/register_containers.go @@ -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" |