summaryrefslogtreecommitdiff
path: root/pkg/api/server/register_volumes.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_volumes.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_volumes.go')
-rw-r--r--pkg/api/server/register_volumes.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/api/server/register_volumes.go b/pkg/api/server/register_volumes.go
index b19faefdd..8020b3661 100644
--- a/pkg/api/server/register_volumes.go
+++ b/pkg/api/server/register_volumes.go
@@ -145,6 +145,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error {
// tags:
// - volumes (compat)
// summary: List volumes
+ // operationId: VolumeList
// description: Returns a list of volume
// produces:
// - application/json
@@ -173,6 +174,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error {
// tags:
// - volumes (compat)
// summary: Create a volume
+ // operationId: VolumeCreate
// parameters:
// - in: body
// name: create
@@ -196,6 +198,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error {
// tags:
// - volumes (compat)
// summary: Inspect volume
+ // operationId: VolumeInspect
// parameters:
// - in: path
// name: name
@@ -219,6 +222,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error {
// tags:
// - volumes (compat)
// summary: Remove volume
+ // operationId: VolumeDelete
// parameters:
// - in: path
// name: name
@@ -251,6 +255,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error {
// tags:
// - volumes (compat)
// summary: Prune volumes
+ // operationId: VolumePrune
// produces:
// - application/json
// parameters: