Skip to content

Commit

Permalink
add error 413 request entity too large
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-olvera committed Jun 18, 2024
1 parent 09910e9 commit a3efce6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions common/responses/errors.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ components:
application/json:
schema:
$ref: "../schemas/Error.openapi.yaml#/components/schemas/Error"
Error-413:
description: Request Payload Too Large
content:
application/json:
schema:
$ref: "../schemas/Error.openapi.yaml#/components/schemas/Error"

Error-500:
description: Internal Server Error
content:
Expand Down
2 changes: 2 additions & 0 deletions tools/attachment/attachment.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ paths:
$ref: "../../common/responses/errors.openapi.yaml#/components/responses/Error-406"
"409":
$ref: "../../common/responses/errors.openapi.yaml#/components/responses/Error-409"
"413":
$ref: "../../common/responses/errors.openapi.yaml#/components/responses/Error-413"
"500":
$ref: "../../common/responses/errors.openapi.yaml#/components/responses/Error-500"
"501":
Expand Down

0 comments on commit a3efce6

Please sign in to comment.