Models and Validation
Make an API trust nothing: check input by hand, then with Pydantic models and field rules, read and reshape FastAPI's validation errors, choose what goes back…
Updated
Chapters
- Request and Response Models (3 topics, 6 lessons)
- REST Design and Errors (3 topics, 4 lessons)
- Testing an API (4 topics, 5 lessons)