You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed, that response model is missing in the OpenAPI spec and Swagger for @cache decorated endpoints unless response_model is specified explicitly in the endpoint handler decorator, which is optional for newer versions of FastAPI. Specifying return type annotation of a handler function should be enough.
I've noticed, that response model is missing in the OpenAPI spec and Swagger for @cache decorated endpoints unless
response_model
is specified explicitly in the endpoint handler decorator, which is optional for newer versions of FastAPI. Specifying return type annotation of a handler function should be enough.Versions (from pyproject.toml):
The text was updated successfully, but these errors were encountered: