- Notifications
You must be signed in to change notification settings - Fork302
Add HTTP 429 Too Many Requests as a possible generic error response#1226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Add HTTP 429 Too Many Requests as a possible generic error response#1226
Uh oh!
There was an error while loading.Please reload this page.
Conversation
f71e0df
to0a27fa9
CompareThere was a typo - I had a trailing |
@sliverc Could I ask you to review this and tell me how I could proceed with getting this merged, if possible? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thanks for the addition. This looks good to me and ready to merge.
Please note though that OpenAPI schema support will be deprecated in DJA as soon as Django REST framework will deprecate it. Best take a look at#1082 for more details.
As for small fixes like this, we still integrate into DJA for the time being. I would highly recommend you though to get involved with thedrf-spectecular-json-api which will be the successor of the schema generation in the near future.
Uh oh!
There was an error while loading.Please reload this page.
Fixes #
Description of the Change
Adds
429 Too Many Requests
as a possible generic error response.Discovered during an OpenAPI schema validation run as our generic error responses were not found in the schema.
This is essentially same as#1165 but for
429
status code.Checklist
CHANGELOG.md
updated (only for user relevant changes)AUTHORS