01 - FastAPI from Scratch: Setup, Type Hints and OpenAPI Self-Documentation
Learn how to start a FastAPI project in less than 5 minutes: type hints as API contract, Pydantic v2 for data validation and automatically generated Swagger…
Series “FastAPI”: it starts with “01 - FastAPI from Scratch: Setup, Type Hints and OpenAPI Self-Documentation”. FastAPI 10 min FastAPI from Scratch: Setup, Type Hints and OpenAPI Self-Documentation Discover how to start a FastAPI project in less than 5 minutes: type hints...
This series collects 3 articles (approximately 39 minutes of total reading time), designed for a level Intermediate. The main topics covered are FastAPI, Python API, OpenAPI, Swagger.
Learn how to start a FastAPI project in less than 5 minutes: type hints as API contract, Pydantic v2 for data validation and automatically generated Swagger…
Practical explanation of how asyncio works in Python: event loop, coroutine, task and the crucial difference between I/O-bound and CPU-bound workloads…
Explore what's new in Pydantic v2 (Rust core, 5-50x faster): New API model_validate/model_dump, TypeAdapter for non-model validation…