Merge pull request #9029 from mergetb/master

[CI:DOCS] api: fix import image swagger definition
This commit is contained in:
OpenShift Merge Robot
2021-01-26 17:22:59 +01:00
committed by GitHub

View File

@ -837,13 +837,16 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// name: url
// description: Load image from the specified URL
// type: string
// - in: formData
// - in: body
// name: upload
// type: file
// required: true
// description: tarball for imported image
// schema:
// type: "string"
// produces:
// - application/json
// consumes:
// - application/x-tar
// responses:
// 200:
// $ref: "#/responses/DocsLibpodImagesImportResponse"