diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-02-18 20:09:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-18 20:09:46 +0100 |
commit | 931eb1b58314d3385ab48601cb2cc3bd0c371196 (patch) | |
tree | 9de509509ef6012863bc10415e037aa239cec83c /pkg/api/server/register_volumes.go | |
parent | a5d55966bde3b0798f9cb89009d443ccfac3126a (diff) | |
parent | 2a411bcbfa3dc72d3a8cb35c2d1004ab05e4e0e8 (diff) | |
download | podman-931eb1b58314d3385ab48601cb2cc3bd0c371196.tar.gz podman-931eb1b58314d3385ab48601cb2cc3bd0c371196.tar.bz2 podman-931eb1b58314d3385ab48601cb2cc3bd0c371196.zip |
Merge pull request #5231 from edsantiago/swagger_fixes
Swagger: fix inconsistencies (try #2)
Diffstat (limited to 'pkg/api/server/register_volumes.go')
-rw-r--r-- | pkg/api/server/register_volumes.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/api/server/register_volumes.go b/pkg/api/server/register_volumes.go index 1ccf92b46..efe56a3ad 100644 --- a/pkg/api/server/register_volumes.go +++ b/pkg/api/server/register_volumes.go @@ -20,7 +20,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error { // "$ref": "#/responses/InternalError" r.Handle("/libpod/volumes/create", s.APIHandler(libpod.CreateVolume)).Methods(http.MethodPost) r.Handle("/libpod/volumes/json", s.APIHandler(libpod.ListVolumes)).Methods(http.MethodGet) - // swagger:operation POST /volumes/prune volumes pruneVolumes + // swagger:operation POST /libpod/volumes/prune volumes pruneVolumes // --- // summary: Prune volumes // produces: @@ -31,7 +31,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error { // '500': // "$ref": "#/responses/InternalError" r.Handle("/libpod/volumes/prune", s.APIHandler(libpod.PruneVolumes)).Methods(http.MethodPost) - // swagger:operation GET /volumes/{name}/json volumes inspectVolume + // swagger:operation GET /libpod/volumes/{name}/json volumes inspectVolume // --- // summary: Inspect volume // parameters: @@ -50,7 +50,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error { // '500': // "$ref": "#/responses/InternalError" r.Handle("/libpod/volumes/{name}/json", s.APIHandler(libpod.InspectVolume)).Methods(http.MethodGet) - // swagger:operation DELETE /volumes/{name} volumes removeVolume + // swagger:operation DELETE /libpod/volumes/{name} volumes removeVolume // --- // summary: Remove volume // parameters: |