aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-02-09 04:45:13 -0500
committerGitHub <noreply@github.com>2022-02-09 04:45:13 -0500
commiteb0a0db318a988af9ed70f3cc3a68f3b2bf2aa93 (patch)
tree8fcdde2a0ad65d80ecc29dcb8923a2acf280c2b8
parentb92846b42f4bae30599961a55b3c34252cdaf64a (diff)
parente405fefb314e8f629e52e4ea18243a7826496aff (diff)
downloadpodman-eb0a0db318a988af9ed70f3cc3a68f3b2bf2aa93.tar.gz
podman-eb0a0db318a988af9ed70f3cc3a68f3b2bf2aa93.tar.bz2
podman-eb0a0db318a988af9ed70f3cc3a68f3b2bf2aa93.zip
Merge pull request #13142 from tmds/ImageCreate_200_schema
[CI:DOCS] Add schema for ImageCreate 200 response.
-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: