"Building Elegant API Contracts: From Zero to Hero"
summary
Shows that writing an OpenAPI/Swagger YAML as the single source of truth produces a concrete contract for a three‑route talks API (list, get by ID, post) that can generate mock responses and tighten unit tests, reducing integration bugs and dev cost. Demonstrates serving the spec via FastAPI auto-docs or generating JSON from Flask with apispec, and using a Postman mock server to validate responses before writing backend code.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:10Agenda
- 2:24What is API
- 3:44Principles of API
- 9:52API Contracts
- 14:41Path Objects
- 23:33Fast API
related talks
47mContract-Driven API Development with OpenAPI Specification
35mFake It Before You Make It: Mocking Your Way to Better HTTP APIs
25mThe Life Changing Magic of Becoming API First
28mDelivering successful API integrations
35mAPI-First! Contract-First! Make API development great again!
37mAutomation++ - Building an Enterprise API Economy from scratch
19mSecure and accelerate APIs' lifecycle with the OpenAPI specification
43mWhy You Should Be Doing Contract-First Development
