summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_archive.go
diff options
context:
space:
mode:
authorTom Deseyn <tom.deseyn@gmail.com>2021-01-27 13:48:16 +0100
committerJhon Honce <jhonce@redhat.com>2021-04-05 13:56:51 -0700
commit1214b1a38b1877fecfdf232d8b3fc7f2a1dab9a2 (patch)
tree905979835298fb7e650fe5aa7b24993a7ff48649 /pkg/api/server/register_archive.go
parent2b13c5d92aa64165aa08b4adc96d3324dc9988ec (diff)
downloadpodman-1214b1a38b1877fecfdf232d8b3fc7f2a1dab9a2.tar.gz
podman-1214b1a38b1877fecfdf232d8b3fc7f2a1dab9a2.tar.bz2
podman-1214b1a38b1877fecfdf232d8b3fc7f2a1dab9a2.zip
swagger: add operationIds that match with docker
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.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/api/server/register_archive.go b/pkg/api/server/register_archive.go
index 2ac126644..15933abbf 100644
--- a/pkg/api/server/register_archive.go
+++ b/pkg/api/server/register_archive.go
@@ -11,6 +11,7 @@ func (s *APIServer) registerArchiveHandlers(r *mux.Router) error {
// swagger:operation PUT /containers/{name}/archive compat putArchive
// ---
// summary: Put files into a container
+ // operationId: PutContainerArchive
// description: Put a tar archive of files into a container
// tags:
// - containers (compat)
@@ -55,6 +56,7 @@ func (s *APIServer) registerArchiveHandlers(r *mux.Router) error {
// swagger:operation GET /containers/{name}/archive compat getArchive
// ---
// summary: Get files from a container
+ // operationId: ContainerArchive
// description: Get a tar archive of files from a container
// tags:
// - containers (compat)