-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Feature request: support for callbacks
#419
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The OpenAPI specification allows of the definition of callback operations. FastAPI supports this by constructing an additional router and passing this router's routes to the relevant path decorator. (More information here.)
This is mostly a problem for documentation, since the callback has no functional meaning to FastAPI. But ideally, the OpenAPI files generated by FastAPI (
/openapi.json
,/docs/
,/redoc/
) are as close to the original schema as possible.The text was updated successfully, but these errors were encountered: