diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-08-11 17:46:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 17:46:52 +0000 |
commit | 1798cccf3ea3145a82c0948437758a865d7c4c94 (patch) | |
tree | aee4a8fd1ec7971365ec7558ca5d3b9bd63a48d6 /pkg/api | |
parent | 92bbae40de3c48ee6b4692ab9e4d7cc14db242bb (diff) | |
parent | 62e889e2b08117edccb95b863bdd936547b362a7 (diff) | |
download | podman-1798cccf3ea3145a82c0948437758a865d7c4c94.tar.gz podman-1798cccf3ea3145a82c0948437758a865d7c4c94.tar.bz2 podman-1798cccf3ea3145a82c0948437758a865d7c4c94.zip |
Merge pull request #15157 from cdoern/apiLog
fix LogConfig type for libpod API
Diffstat (limited to 'pkg/api')
-rw-r--r-- | pkg/api/server/register_containers.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/api/server/register_containers.go b/pkg/api/server/register_containers.go index b319fc14a..8aba4ea05 100644 --- a/pkg/api/server/register_containers.go +++ b/pkg/api/server/register_containers.go @@ -11,9 +11,9 @@ import ( func (s *APIServer) registerContainersHandlers(r *mux.Router) error { // swagger:operation POST /containers/create compat ContainerCreate // --- - // summary: Create a container // tags: // - containers (compat) + // summary: Create a container // produces: // - application/json // parameters: @@ -678,9 +678,9 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error { // swagger:operation POST /libpod/containers/create libpod ContainerCreateLibpod // --- - // summary: Create a container // tags: // - containers + // summary: Create a container // produces: // - application/json // parameters: @@ -689,6 +689,7 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error { // description: attributes for creating a container // schema: // $ref: "#/definitions/SpecGenerator" + // required: true // responses: // 201: // $ref: "#/responses/containerCreateResponse" |