Contract Review

Review changes between two OpenAPI contracts.

Compare OpenAPI 3.0 documents and inspect breaking, nonbreaking, and unclassified changes.

Running this tool sends your inputs to UtilZilla on Vercel for this check. Inputs are not saved by the tool. Do not submit secrets or payment-card data.

OpenAPI 3.0 only · JSON or YAML · 512 KiB per specification · internal references only.

Found this useful? Share it

X LinkedIn Reddit WhatsApp

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

  1. Load or paste your older OpenAPI 3.0 file into Previous specification.
  2. Load or paste the revised file into New specification, as JSON or YAML.
  3. Select Run check and read the Breaking changes, Nonbreaking changes and Manual review tables.
  4. Download contract-review.md if you want the findings for a pull request or release note.

Frequently Asked Questions

Paste the old and new OpenAPI 3.0 documents into the two boxes and run the check. Differences are grouped as breaking, nonbreaking or needing manual review, each with a change code and the part of the spec affected.

OpenAPI 3.0 only, in JSON or YAML. Swagger 2.0 and OpenAPI 3.1 documents are rejected with an error, and each specification must be no larger than 512 KiB.

They fall outside what the diff engine can classify with confidence. Any change to a parameter schema is reported this way because its effect on callers depends on how they use it. Treat these items as needing a human decision.

References to external files or URLs are not allowed, only internal ones beginning with #/. YAML aliases are also refused, as are specs with cyclic structure or excessive nesting. Bundle the spec into one self-contained file first.

Both documents are sent over HTTPS to a stateless UtilZilla endpoint on Vercel for the comparison. They are not stored in an application database or intentionally logged, though hosting request metadata may be retained. Remove secrets and internal URLs first.

No. The comparison covers only the keywords the diff library supports plus the parameter checks described above. Behaviour that is not captured in the spec is invisible to it, so use the result as a review aid.