diff options
author | Tom Deseyn <tom.deseyn@gmail.com> | 2021-04-07 15:21:44 +0200 |
---|---|---|
committer | Tom Deseyn <tom.deseyn@gmail.com> | 2021-04-07 15:21:44 +0200 |
commit | 71322d6c1fd4ebe81efeea5a0b8e1d11ef42aa29 (patch) | |
tree | 4eecbce2cedb7f8d3f2d76b5dfe045cb7f0af375 /pkg/api/server/register_generate.go | |
parent | b8a4494b102a84e21e267ad1242e4af9ca413f2f (diff) | |
download | podman-71322d6c1fd4ebe81efeea5a0b8e1d11ef42aa29.tar.gz podman-71322d6c1fd4ebe81efeea5a0b8e1d11ef42aa29.tar.bz2 podman-71322d6c1fd4ebe81efeea5a0b8e1d11ef42aa29.zip |
swagger: remove name wildcards
Signed-off-by: Tom Deseyn <tom.deseyn@gmail.com>
Diffstat (limited to 'pkg/api/server/register_generate.go')
-rw-r--r-- | pkg/api/server/register_generate.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/api/server/register_generate.go b/pkg/api/server/register_generate.go index 208bf668c..e10c7029c 100644 --- a/pkg/api/server/register_generate.go +++ b/pkg/api/server/register_generate.go @@ -8,7 +8,7 @@ import ( ) func (s *APIServer) registerGenerateHandlers(r *mux.Router) error { - // swagger:operation GET /libpod/generate/{name:.*}/systemd libpod GenerateSystemdLibpod + // swagger:operation GET /libpod/generate/{name}/systemd libpod GenerateSystemdLibpod // --- // tags: // - containers @@ -17,7 +17,7 @@ func (s *APIServer) registerGenerateHandlers(r *mux.Router) error { // description: Generate Systemd Units based on a pod or container. // parameters: // - in: path - // name: name:.* + // name: name // type: string // required: true // description: Name or ID of the container or pod. |