-
Separate error handling for validation errors.
- This will allow developers to customize the exception handlers.
- Document better how to handle exceptions and use error handlers.
- Include
RequestValidationError
andWebSocketRequestValidationError
(this last one will be useful once encode/starlette#527 or equivalent is merged). - New documentation about exceptions handlers:
- PR #273.
-
Fix support for paths in path parameters without needing explicit
Path(...)
.- PR #256.
- Documented in PR #272 by @wshayes.
- New documentation at: Path Parameters containing paths.
-
Update docs for testing FastAPI. Include using
POST
, sending JSON, testing headers, etc. New documentation: Testing. PR #271. -
Fix type declaration of
response_model
to allow generic Python types asList[Model]
. Mainly to fixmypy
for users. PR #266.