mirror of
https://github.com/containers/podman.git
synced 2025-11-30 18:18:18 +08:00
swagger: remove name wildcards
Signed-off-by: Tom Deseyn <tom.deseyn@gmail.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user