summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Deseyn <tom.deseyn@gmail.com>2022-02-07 12:55:29 +0100
committerTom Deseyn <tom.deseyn@gmail.com>2022-02-09 10:12:47 +0100
commite405fefb314e8f629e52e4ea18243a7826496aff (patch)
tree86b55cbf0ab0c539bc00c8d7d6c6648670997e80
parent608b6142edb7a4e179ce6d2ae69707be28f29359 (diff)
downloadpodman-e405fefb314e8f629e52e4ea18243a7826496aff.tar.gz
podman-e405fefb314e8f629e52e4ea18243a7826496aff.tar.bz2
podman-e405fefb314e8f629e52e4ea18243a7826496aff.zip
[NO NEW TEST NEEDED] Add schema for ImageCreate 200 response.
Signed-off-by: Tom Deseyn <tom.deseyn@gmail.com>
-rw-r--r--pkg/api/server/register_images.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go
index f0b52dfc6..d7bc17093 100644
--- a/pkg/api/server/register_images.go
+++ b/pkg/api/server/register_images.go
@@ -61,7 +61,10 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// description: Image content if fromSrc parameter was used
// responses:
// 200:
- // $ref: "#/responses/ok"
+ // description: "no error"
+ // schema:
+ // type: "string"
+ // format: "binary"
// 404:
// $ref: "#/responses/NoSuchImage"
// 500: