Compare two OpenAPI specs for breaking changes
Paste, upload or link the old and the new spec and see every change that can break a client, line by line. Your specs never leave your browser.
- Free, no sign-up
- OpenAPI 3.x and Swagger 2.0
Old spec
New spec
Want this on every pull request?Run the same check in CI
What the check flags as breaking
A breaking change can make an existing client fail: a request it sends is refused, or a response it reads is not what it expects. These four come first in every result.
Something is removed
An endpoint or a response field. Clients that use it get a 404, or nothing where a value used to be.
Something new is required
A parameter or request field. Every request an existing client sends is now missing it.
A type changes
A client that parses a number gets a string, or the other way around.
Accepted values narrow
An enum value goes, a maximum shrinks, a pattern gets stricter. Values clients send today stop being valid.
NON-BREAKINGA new optional field, endpoint or response code breaks no one. The result lists those separately, out of your way.
Read the result like a code review
The result is the new spec next to the old one, line by line. Each change the check finds sits under the line it comes from, with the endpoint it affects.
- Removed line from the old spec
- Added line in the new spec
- What breaks, under the line that caused it
- Unchanged lines, folded until you open them
Copy as Markdown turns the breaking changes into a list for a pull request or a chat thread.
OpenAPI 3.x and Swagger 2.0
YAML or JSON. A Swagger 2.0 spec is converted to OpenAPI 3.0, then compared, and you can download the converted file. Graphwake itself watches OpenAPI 3.x specs, so that file is the one to use.
Your specs never leave your browser
The comparison runs in this tab. A file you choose is read here, and a URL is fetched by your browser straight from that address. We never receive the spec, the file or the URL.
Run the same check on every pull request
Pasting two specs works for one change. To catch every change before it merges, run the check in CI.
- One step sends the spec from GitHub Actions, GitLab CI, Azure DevOps, Bitbucket Pipelines or Jenkins.
- On GitHub and Azure DevOps, the pull request gets a comment with the breaking changes, the teams they affect and the impact score.
- It never fails your build unless you ask it to with
--fail-on.
More in OpenAPI diff in CI and the Graphwake CI agent.
orders-api: 3 breaking changes
GET /orders/{id}new required query parametercurrencyGET /orders/{id}response propertytotalremovedDELETE /orders/{id}endpoint removed
Affected teams: checkout-web, mobile-app
A diff tells you what changed. Not who it breaks.
The question that decides whether a change is safe is who calls this endpoint? The author usually doesn't know, and nobody keeps the list.
Graphwake keeps it. Consumer teams subscribe to the endpoints they use. When a spec changes, Graphwake runs this same check, scores the change from 0 to 100 and tells only the affected teams, in Slack, Microsoft Teams or email, before the merge.
Start free trial7-day free trial. Cancel before day 7 and you pay nothing.
Is it free?
Yes. There is no account, no limit on how often you use it and nothing to install.
Are my specs uploaded or stored?
No. The comparison runs in your browser. A file you choose is read in the tab, and a URL is fetched by your browser straight from that address. We never receive the spec, the file or the URL.
Does it support Swagger 2.0 and OpenAPI 3.1?
Yes. OpenAPI 3.0 and 3.1 specs are compared as they are. A Swagger 2.0 spec is converted to OpenAPI 3.0 before the comparison, and you can download the converted file.
What about $ref to other files?
References inside the same file work. References to other files or URLs can't be followed from the browser, so bundle the spec into one file first.
How big can a spec be?
Up to 10 MB of text on each side. Very large specs, a few megabytes of YAML, can take longer than the 20 seconds the browser check allows; the result then says so.
Can I run this check in CI?
Yes. The Graphwake CI agent runs the same check on every pull request. On GitHub and Azure DevOps it also comments on the pull request with the breaking changes and the teams they affect. It never fails your pipeline unless you turn that on with --fail-on.