mirror of https://github.com/containers/podman.git
Merge pull request #5371 from edsantiago/apiv2_fixes
more swagger fixes
This commit is contained in:
commit
1641ee6180
|
@ -25,7 +25,7 @@ func (s *APIServer) registerVolumeHandlers(r *mux.Router) error {
|
||||||
// '500':
|
// '500':
|
||||||
// "$ref": "#/responses/InternalError"
|
// "$ref": "#/responses/InternalError"
|
||||||
r.Handle(VersionedPath("/libpod/volumes/create"), s.APIHandler(libpod.CreateVolume)).Methods(http.MethodPost)
|
r.Handle(VersionedPath("/libpod/volumes/create"), s.APIHandler(libpod.CreateVolume)).Methods(http.MethodPost)
|
||||||
// swagger:operation POST /libpod/volumes/json volumes listVolumes
|
// swagger:operation GET /libpod/volumes/json volumes listVolumes
|
||||||
// ---
|
// ---
|
||||||
// summary: List volumes
|
// summary: List volumes
|
||||||
// description: Returns a list of networks
|
// description: Returns a list of networks
|
||||||
|
|
Loading…
Reference in New Issue