Skip to content

Commit

Permalink
[NO NEW TEST NEEDED] Add schema for ImageCreate 200 response.
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Deseyn <[email protected]>
  • Loading branch information
tmds authored and patrycja-guzik committed Feb 15, 2022
1 parent 3d9e266 commit 2af90fa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/api/server/register_images.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2af90fa

Please sign in to comment.