From e405fefb314e8f629e52e4ea18243a7826496aff Mon Sep 17 00:00:00 2001 From: Tom Deseyn Date: Mon, 7 Feb 2022 12:55:29 +0100 Subject: [NO NEW TEST NEEDED] Add schema for ImageCreate 200 response. Signed-off-by: Tom Deseyn --- pkg/api/server/register_images.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pkg/api/server') 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: -- cgit v1.2.3-54-g00ecf