summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_archive.go
diff options
context:
space:
mode:
authorTom Deseyn <tom.deseyn@gmail.com>2021-02-03 14:22:26 +0100
committerJhon Honce <jhonce@redhat.com>2021-04-05 13:57:13 -0700
commit5cbda3b789a89cca1a884df97887c99b9eef192f (patch)
tree22de85f010dcf732a259989a566fed611a154cb9 /pkg/api/server/register_archive.go
parent1214b1a38b1877fecfdf232d8b3fc7f2a1dab9a2 (diff)
downloadpodman-5cbda3b789a89cca1a884df97887c99b9eef192f.tar.gz
podman-5cbda3b789a89cca1a884df97887c99b9eef192f.tar.bz2
podman-5cbda3b789a89cca1a884df97887c99b9eef192f.zip
Move operationIds to swagger:operation line
Signed-off-by: Tom Deseyn <tom.deseyn@gmail.com>
Diffstat (limited to 'pkg/api/server/register_archive.go')
-rw-r--r--pkg/api/server/register_archive.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkg/api/server/register_archive.go b/pkg/api/server/register_archive.go
index 15933abbf..af64bd993 100644
--- a/pkg/api/server/register_archive.go
+++ b/pkg/api/server/register_archive.go
@@ -8,10 +8,9 @@ import (
)
func (s *APIServer) registerArchiveHandlers(r *mux.Router) error {
- // swagger:operation PUT /containers/{name}/archive compat putArchive
+ // swagger:operation PUT /containers/{name}/archive compat PutContainerArchive
// ---
// summary: Put files into a container
- // operationId: PutContainerArchive
// description: Put a tar archive of files into a container
// tags:
// - containers (compat)
@@ -53,10 +52,9 @@ func (s *APIServer) registerArchiveHandlers(r *mux.Router) error {
// 500:
// $ref: "#/responses/InternalError"
- // swagger:operation GET /containers/{name}/archive compat getArchive
+ // swagger:operation GET /containers/{name}/archive compat ContainerArchive
// ---
// summary: Get files from a container
- // operationId: ContainerArchive
// description: Get a tar archive of files from a container
// tags:
// - containers (compat)