Dev.to
7/17/2026

How to catch breaking OpenAPI changes before they reach production
Short summary
A technical guide to detecting breaking API changes by comparing baseline and candidate OpenAPI documents in pull requests. Common breaking changes include removing paths or response codes, making optional parameters required, and narrowing enum values. The author recommends automating compatibility checks alongside tests and linting, and introduces API Contract Guard as a tool for both browser-based and GitHub-integrated contract comparison.
- •Breaking API changes often look reasonable in implementation but break existing clients
- •Compare base and candidate OpenAPI documents in PR checks to catch breaks before production
- •Intentional breaks should be deliberate engineering decisions with versioning or migration paths
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



