Specification-Driven Development of REST APIs
summary
Tooling shows how a compact, human syntax converts into a full OpenAPI artifact: Tiny Spec turns three terse files into a 57-line OpenAPI JSON and then reuses that OpenAPI JSON for automated unit tests, request validation via JSON Schema, and model serialization with Sequelize serialize. Examples include a patch user_update schema that drops is_admin and enforces strict properties, a type-casting step before validation, and generated TypeScript types for end-to-end consistency.
AI-written summary · about
chapters (10)
- 0:00Start
- 0:40What Is a Specification
- 2:18Open Api
- 4:26Online Editors and Services
- 4:54Reuse Your Specification Code
- 7:47The Json Api
- 8:18The Unit Test
- 10:01Json Schema
- 11:23User Data Validation
- 12:05User Update
related talks
30mOne Spec to Rule them all - OpenAPI in Action
50mContract-Driven Development
31mUnifying OpenAPI & AsyncAPI : Designing JSON Schemas+Examples.
47mContract-Driven API Development with OpenAPI Specification
35mAPI-First! Contract-First! Make API development great again!
30mLeveraging Prompt Engineering for Effective OpenAPI Descriptions of APIs
32mThe little schema that could (...but should it?)
21mDesigning APIs with OpenAPI: Build the Right APIs the Right Way.
