summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorTom Deseyn <tom.deseyn@gmail.com>2022-02-07 12:55:29 +0100
committerMatthew Heon <matthew.heon@pm.me>2022-02-10 14:03:26 -0500
commite7998b1224c78acbd4cb1ada2d7ac50f53001926 (patch)
tree823a29c88d7e758c4b9d14ca40484c8ea4af394e /pkg
parent6d01b6dd63132f06c97418799dc200efe6b144db (diff)
downloadpodman-e7998b1224c78acbd4cb1ada2d7ac50f53001926.tar.gz
podman-e7998b1224c78acbd4cb1ada2d7ac50f53001926.tar.bz2
podman-e7998b1224c78acbd4cb1ada2d7ac50f53001926.zip
[NO NEW TEST NEEDED] Add schema for ImageCreate 200 response.
Signed-off-by: Tom Deseyn <tom.deseyn@gmail.com>
Diffstat (limited to 'pkg')
-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: