v2 libpod push: correct docs

The swagger documentation for the libpod push endpoint were not in sync
with the implementation.  Correct these docs to reflect the parameters
that are actually supported.

Fixes: #6388
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
Valentin Rothberg
2020-05-27 10:20:45 +02:00
parent d6a7096d61
commit d6fd0952f8

View File

@ -631,13 +631,18 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// required: true // required: true
// description: Name of image to push. // description: Name of image to push.
// - in: query // - in: query
// name: tag // name: destination
// type: string // type: string
// description: The tag to associate with the image on the registry. // description: Allows for pushing the image to a different destintation than the image refers to.
// - in: query // - in: query
// name: credentials // name: credentials
// description: username:password for the registry. // description: username:password for the registry.
// type: string // type: string
// - in: query
// name: tlsVerify
// description: Require TLS verification.
// type: boolean
// default: true
// - in: header // - in: header
// name: X-Registry-Auth // name: X-Registry-Auth
// type: string // type: string