What are response models in FastAPI?
Response models define the shape of outgoing data, helping validation, filtering, and API documentation.
- Controls output contract
- Can hide internal fields
- Improves docs accuracy
What are response models in FastAPI?