Comprehensive FastAPI expertise for building Python web APIs. Use when: (1) Creating new FastAPI applications or endpoints, (2) Defining Pydantic models for request/response validation, (3) Implementing dependency injection patterns, (4) Adding middleware (CORS, GZip, custom), (5) Setting up authentication/authorization (OAuth2, JWT, API keys), (6) Writing tests with TestClient and pytest, (7) Configuring APIRouter for modular applications, (8) Working with WebSockets, background tasks, file uploads, (9) Database integration with SQLModel/SQLAlchemy, (10) Any Python web API task using FastAPI or Starlette.
2026-02-12