-
Notifications
You must be signed in to change notification settings - Fork 79
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Endpoint with limiter does not show 429 as a possible answer on the documentation page #74
Comments
To elaborate, the generated OpenAPI docs available for the service at |
@twcurrie Yes, right now the decorator has no effect on OpenAPI generation.
I have to specify the error manually to get the desired result:
Since the decorator before app.get does not work is there an alternative way to automatically generate 429 response code for OpenAPI? |
I'd need to review the internals of FastAPI's docs generation to identify a way to hook into that process, but I agree, that should be surfaced within the OpenAPI documentation. |
Endpoint with limiter does not show 429 as a possible answer on the documentation page
The text was updated successfully, but these errors were encountered: