Seamless Upgrades: Mastering API Compatibility
summary
Claims that updating the API spec first uncovers breaking changes immediately and lets teams develop in parallel with consumer stubs. Uses Specmatic to spin up a mock from an OpenAPI change, runs old-spec contract tests against the new mock, and finds a missing mandatory field; tests expand from 3 to 7 as optional combinations are added. Shows in-memory Kafka/AsyncAPI stubs, CI gating of contract checks, and a workflow that defaults missing cancelable to false so the change remains backward compatible—i.e., it works.
AI-written summary · about
chapters (10)
- 0:00Seamless API upgrades
- 1:10Testing approaches for upgrades
- 4:28Why version skew matters
- 6:00API compatibility challenges
- 8:57Speaker background
- 10:02API evolution example
- 14:04Contract-driven development demo
- 23:20Contract changes in CI/CD
- 29:35Contract-driven workflow summary
- 36:44Specmatic and alternatives Q&A
related talks
51mContract-Driven Development-Escape Microservices Integration & Deployment Hell
24mUsing API spec as an Executable Contract To Mock and Test Microservices
37mStop Doing E2E Tests! Write Better Tests with Contract
30mBreak the API Test Data Bottleneck: Real Scenarios on Real Systems
20mOpenAPIspec
24mBreaking the Interface - API Versioning with REST, JSON and Swagger
33mKafka and JMS Mocking with AsyncAPI using Specmatic
50mRun Specs & Avoid Wrecks — A "Speed With Seatbelts" Lab
