diff --git a/openapi.yaml b/openapi.yaml index 4cfbb67..b878129 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -38,7 +38,7 @@ paths: schema: type: object /image/: - put: + post: summary: Upload an image to the server operationId: ImageUpload tags: ["image"] @@ -52,6 +52,13 @@ paths: application/json: schema: $ref: "#/components/schemas/Error" + '413': + description: Image is too large for upload + headers: *headers-default + content: + application/json: + schema: + $ref: "#/components/schemas/Error" '500': $ref: "#/components/responses/InternalServerError" options: