- Add support for custom route classes for advanced use cases. PR #468 by @dmontagu.
- Allow disabling Google fonts in ReDoc. PR #481 by @b1-luettje.
- Fix security issue: when returning a sub-class of a response model and using
skip_defaults
it could leak information. PR #485 by @dmontagu. - Enable tests for Python 3.8-dev. PR #465 by @Jamim.
- Add support and tests for Pydantic dataclasses in
response_model
. PR #454 by @dconathan. - Fix typo in OAuth2 JWT tutorial. PR #447 by @pablogamboa.
- Use the
media_type
parameter inBody()
params to set the media type in OpenAPI forrequestBody
. PR #439 by @divums. - Add article Deploying a scikit-learn model with ONNX and FastAPI by [https://www.linkedin.com/in/nico-axtmann](Nico Axtmann). PR #438 by @naxty.
- Allow setting custom
422
(validation error) response/schema in OpenAPI. - Fix using
"default"
extra response with status codes at the same time. PR #489. - Allow additional responses to use status code ranges (like
5XX
and4XX
) and"default"
. PR #435 by @divums.