OpenAPI Diff (2026)
Diff two OpenAPI specs to surface added, removed, and changed operations. Flags potential breaking changes so you know when to bump the major version. Pure browser.
DELETE /pets/{id}new operationGET /breedsnew operation
Why API diffing matters
An API contract is a promise to your clients. Breaking that contract — removing an operation, requiring a new parameter, narrowing a response — silently breaks integrations that worked yesterday. Diffing catches these in CI so they never reach production without an explicit version bump and consumer notice.
What semver says about API versioning
- Major (v1 → v2): breaking changes — any removed/renamed operation, any parameter or response that breaks existing clients.
- Minor (v1.0 → v1.1): backward- compatible additions — new operations, new optional parameters, new optional response fields.
- Patch (v1.0.0 → v1.0.1): bug fixes, doc improvements, no contract change.
Diffing in CI
For automated breaking-change detection on every PR, run oasdiff or openapi-diff against the spec on main. Both tools have rich breaking-change detection beyond what this widget does. Or use Specway — every spec import is automatically diffed against the previous version, with breaking changes surfaced in the changelog.