API-First! Contract-First! Make API development great again!
summary
Shows an automatic OpenAPI endpoint validation workflow that generates a Spring Boot backend and an Angular client from a single YAML/JSON spec, wires them to MongoDB in Docker, and runs integration tests that fail when the spec and code diverge. Uses the OpenAPI generator to produce models/controllers and an Atlassian request-validator (RestAssured module) plus an Express validator and Mocha on the front end; demo builds, runs, and demonstrates tests failing and then passing after fixing either spec or code.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 2:24What is API
- 6:04Design First vs Code First
- 7:49Advantages and Disadvantages
- 9:42Why APIFirst
- 11:01API Contract
- 11:57ContractFirst Development
- 13:45Tools
- 16:07Demo
- 23:14Testing
- 28:56Recap
related talks
16mAPI-First Development with OpenAPI — You Should Practice It!?
19mAutomate your API to perfection
50mUsing Spring with OpenAPI
30mOne Spec to Rule them all - OpenAPI in Action
27m"Building Elegant API Contracts: From Zero to Hero"
35mOpensource API Tools to agile your apifirst strategy.
47mContract-Driven API Development with OpenAPI Specification
59mDriving better outcomes through API first development
