swagger: remove name wildcards

Signed-off-by: Tom Deseyn <tom.deseyn@gmail.com>
This commit is contained in:
Tom Deseyn
2021-04-07 15:21:44 +02:00
parent b8a4494b10
commit 71322d6c1f
4 changed files with 40 additions and 40 deletions

View File

@@ -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.