# 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: November 19, 2026

## Chapters

- [Request and Response Models](https://www.ask-codey.com/courses/python-web-apis/chapters/fastapi-request-and-response-models) (3 topics, 6 lessons)
- [REST Design and Errors](https://www.ask-codey.com/courses/python-web-apis/chapters/fastapi-rest-design-and-errors) (3 topics, 4 lessons)
- [Testing an API](https://www.ask-codey.com/courses/python-web-apis/chapters/fastapi-testing-an-api) (4 topics, 5 lessons)

Source: https://www.ask-codey.com/courses/python-web-apis/modules/2
