Interactive API Docs with Swagger UI
Explore the automatic interactive documentation FastAPI generates, customize it with metadata and tags, and use it to test your endpoints right in the browser.
Docs for Free
FastAPI's standout perk: automatic interactive docs. From your type hints and models it builds an OpenAPI schema and serves Swagger UI at /docs and ReDoc at /redoc.
Where Docs Come From
Both doc UIs render one OpenAPI JSON spec that FastAPI builds from your routes, params, and models. View the raw spec at /openapi.json.
All lessons in this course
- Introduction to FastAPI & Setup
- Your First API Endpoint
- Path & Query Parameters
- Interactive API Docs with Swagger UI