summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-26 17:22:59 +0100
committerGitHub <noreply@github.com>2021-01-26 17:22:59 +0100
commit5e91afb7c8ecf6bdb1aa4858434ea2844565f7f2 (patch)
treee2e00fe4823a1c49d889d1f54b9a4b805b86f8eb /pkg
parentad1e0bb77f56499ff22eeb8123aaab8e57a43c03 (diff)
parent2fa67fe4b060eed870eada35e73c64559170626a (diff)
downloadpodman-5e91afb7c8ecf6bdb1aa4858434ea2844565f7f2.tar.gz
podman-5e91afb7c8ecf6bdb1aa4858434ea2844565f7f2.tar.bz2
podman-5e91afb7c8ecf6bdb1aa4858434ea2844565f7f2.zip
Merge pull request #9029 from mergetb/master
[CI:DOCS] api: fix import image swagger definition
Diffstat (limited to 'pkg')
-rw-r--r--pkg/api/server/register_images.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go
index a7d350d50..d76f811e9 100644
--- a/pkg/api/server/register_images.go
+++ b/pkg/api/server/register_images.go
@@ -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"