Skip to content

fix(openapi): add response body to generic error responses#366

Open
lilkraftwerk wants to merge 2 commits into
mainfrom
fix/openapi-error-response-bodies
Open

fix(openapi): add response body to generic error responses#366
lilkraftwerk wants to merge 2 commits into
mainfrom
fix/openapi-error-response-bodies

Conversation

@lilkraftwerk
Copy link
Copy Markdown
Contributor

The generic error-response components (BadRequest, Unauthorized, Forbidden, NotFound, PayloadTooLarge, TooManyRequests, QuotaExceeded) were declared with a description only. The API returns an application/json {"message": "..."} body for these, so reference the existing ErrorResponse schema.

Lucas Mathis and others added 2 commits June 4, 2026 14:03
The generic error-response components (BadRequest, Unauthorized, Forbidden,
NotFound, PayloadTooLarge, TooManyRequests, QuotaExceeded) were declared with
a description only. The API returns an application/json {"message": "..."}
body for these, so reference the existing ErrorResponse schema.

URITooLong, InternalServerError and ServiceUnavailable are intentionally left
unchanged.
@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented Jun 4, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
deepl-c950b784 🟢 Ready View Preview Jun 4, 2026, 12:06 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant