mirror of https://github.com/containers/podman.git
fix swagger doc for manifest create
The manifest name is part of the path in the URL. Fixes #22255 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
parent
7eaedaf359
commit
7c4f2c79ea
|
|
@ -103,14 +103,14 @@ func (s *APIServer) registerManifestHandlers(r *mux.Router) error {
|
|||
// 500:
|
||||
// $ref: "#/responses/internalError"
|
||||
v4.Handle("/{name:.*}/registry/{destination:.*}", s.APIHandler(libpod.ManifestPush)).Methods(http.MethodPost)
|
||||
// swagger:operation POST /libpod/manifests manifests ManifestCreateLibpod
|
||||
// swagger:operation POST /libpod/manifests/{name} manifests ManifestCreateLibpod
|
||||
// ---
|
||||
// summary: Create
|
||||
// description: Create a manifest list
|
||||
// produces:
|
||||
// - application/json
|
||||
// parameters:
|
||||
// - in: query
|
||||
// - in: path
|
||||
// name: name
|
||||
// type: string
|
||||
// description: manifest list or index name to create
|
||||
|
|
|
|||
Loading…
Reference in New Issue