Features
- ✨ Allow setting the
response_class
toRedirectResponse
orFileResponse
and returning the URL from the function. New and updated docs are in the tutorial section Custom Response - HTML, Stream, File, others, in RedirectResponse and in FileResponse. PR #3457 by @tiangolo.
Fixes
- 🐛 Fix include/exclude for dicts in
jsonable_encoder
. PR #2016 by @Rubikoid. - 🐛 Support custom OpenAPI / JSON Schema fields in the generated output OpenAPI. PR #1429 by @jmagnusson.
Translations
- 🌐 Add Spanish translation for
tutorial/query-params.md
. PR #2243 by @mariacamilagl. - 🌐 Add Spanish translation for
advanced/response-directly.md
. PR #1253 by @jfunez. - 🌐 Add Spanish translation for
advanced/additional-status-codes.md
. PR #1252 by @jfunez. - 🌐 Add Spanish translation for
advanced/path-operation-advanced-configuration.md
. PR #1251 by @jfunez.