diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-04-08 13:04:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-08 13:04:23 -0400 |
commit | 3a03c2ec71799727ea062faab0cc18050ec8c85e (patch) | |
tree | f022ce712f09a11f98c6da9d7ec6b98c12d3c68c /pkg/api/server/register_manifest.go | |
parent | a81b078a588fa5f9b5b42b2ffc894d00f06980c3 (diff) | |
parent | 4ceed6eb2f487899b19fade9cad01e5e8aaa7673 (diff) | |
download | podman-3a03c2ec71799727ea062faab0cc18050ec8c85e.tar.gz podman-3a03c2ec71799727ea062faab0cc18050ec8c85e.tar.bz2 podman-3a03c2ec71799727ea062faab0cc18050ec8c85e.zip |
Merge pull request #9121 from tmds/swagger_remove_name_wildcards
[NO TESTS NEEDED] swagger: remove name wildcards
Diffstat (limited to 'pkg/api/server/register_manifest.go')
-rw-r--r-- | pkg/api/server/register_manifest.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkg/api/server/register_manifest.go b/pkg/api/server/register_manifest.go index ba5577a85..010d8a79e 100644 --- a/pkg/api/server/register_manifest.go +++ b/pkg/api/server/register_manifest.go @@ -59,7 +59,7 @@ func (s *APIServer) registerManifestHandlers(r *mux.Router) error { // 500: // $ref: '#/responses/InternalError' r.Handle(VersionedPath("/libpod/manifests/{name}/exists"), s.APIHandler(libpod.ExistsManifest)).Methods(http.MethodGet) - // swagger:operation GET /libpod/manifests/{name:.*}/json manifests ManifestInspectLibpod + // swagger:operation GET /libpod/manifests/{name}/json manifests ManifestInspectLibpod // --- // summary: Inspect // description: Display a manifest list @@ -67,7 +67,7 @@ func (s *APIServer) registerManifestHandlers(r *mux.Router) error { // - application/json // parameters: // - in: path - // name: name:.* + // name: name // type: string // required: true // description: the name or ID of the manifest @@ -79,7 +79,7 @@ func (s *APIServer) registerManifestHandlers(r *mux.Router) error { // 500: // $ref: "#/responses/InternalError" r.Handle(VersionedPath("/libpod/manifests/{name:.*}/json"), s.APIHandler(libpod.ManifestInspect)).Methods(http.MethodGet) - // swagger:operation POST /libpod/manifests/{name:.*}/add manifests ManifestAddLibpod + // swagger:operation POST /libpod/manifests/{name}/add manifests ManifestAddLibpod // --- // summary: Add image // description: Add an image to a manifest list @@ -87,7 +87,7 @@ func (s *APIServer) registerManifestHandlers(r *mux.Router) error { // - application/json // parameters: // - in: path - // name: name:.* + // name: name // type: string // required: true // description: the name or ID of the manifest @@ -107,7 +107,7 @@ func (s *APIServer) registerManifestHandlers(r *mux.Router) error { // 500: // $ref: "#/responses/InternalError" r.Handle(VersionedPath("/libpod/manifests/{name:.*}/add"), s.APIHandler(libpod.ManifestAdd)).Methods(http.MethodPost) - // swagger:operation DELETE /libpod/manifests/{name:.*} manifests ManifestDeleteLibpod + // swagger:operation DELETE /libpod/manifests/{name} manifests ManifestDeleteLibpod // --- // summary: Remove // description: Remove an image from a manifest list @@ -115,7 +115,7 @@ func (s *APIServer) registerManifestHandlers(r *mux.Router) error { // - application/json // parameters: // - in: path - // name: name:.* + // name: name // type: string // required: true // description: the image associated with the manifest |