Contract Review
Review changes between two OpenAPI contracts.
Compare OpenAPI 3.0 documents and inspect breaking, nonbreaking, and unclassified changes.
About Contract Review
Contract Review compares two versions of an OpenAPI 3.0 specification and sorts the differences into breaking, nonbreaking and unclassified changes. Paste or load the earlier and the newer document as JSON or YAML. Only OpenAPI 3.0 is accepted; Swagger 2.0 and 3.1 files are rejected. The semantic diff is done with the openapi-diff library, and the tool adds its own parameter checks. A new required parameter or an optional parameter that becomes required is breaking, while a new optional parameter or a required one that becomes optional is nonbreaking. Parameters are identified by their location and name, and path-level parameters are included. Any change to a parameter's schema is reported as unclassified so you can review it by hand. Inputs are limited to 512 KiB each. YAML aliases and references to external files are rejected, only internal references starting with # are followed, and very deep, very large or heavily self-referencing documents are refused. The result is a list plus a downloadable Markdown report. It does not prove that clients and servers stay compatible.
How to use Contract Review
- Load or paste your older OpenAPI 3.0 file into Previous specification.
- Load or paste the revised file into New specification, as JSON or YAML.
- Select Run check and read the Breaking changes, Nonbreaking changes and Manual review tables.
- Download contract-review.md if you want the findings for a pull request or release note.