OpenAPI Diff Checker

Compare two OpenAPI JSON specs and flag removed or added operations in a copy-ready changelog.

Also useful for: openapi diff openapi change checker swagger diff checker api breaking change checker OpenAPI Diff Checker

OpenAPI Diff Checker

Runs in your browser. Inputs are not uploaded.
Input
Results
Summary: 1 old operation compared with 2 new. 1 note.

Stats
- Before Operations: 1
- After Operations: 2
- Removed: 0
- Added: 1

Issues
- Note: Added operation: GET /invoices

Output
Removed operations:

Added operations:
- GET /invoices

OpenAPI Diff Checker Example Run

Compare path operations between two OpenAPI specs.

Sample inputs
Specs
Before OpenAPI JSON:
{"openapi":"3.1.0","paths":{"/users":{"get":{"summary":"List users"}}}}
After OpenAPI JSON:
{"openapi":"3.1.0","paths":{"/users":{"get":{"summary":"List users"}},"/invoices":{"get":{"summary":"List invoices"}}}}

Generated result
Summary: 1 old operation compared with 2 new. 1 note.

Stats
- Before Operations: 1
- After Operations: 2
- Removed: 0
- Added: 1

Issues
- Note: Added operation: GET /invoices

Output
Removed operations:

Added operations:
- GET /invoices

What the OpenAPI Diff Checker Checks

  • Two JSON specs

    Before and after OpenAPI documents must be separated so each can be parsed independently.

  • Operation inventory

    HTTP methods under paths are collected as operation keys such as GET /users.

  • Removed operations

    Operations present in the old spec but missing from the new spec are reported as breaking-risk errors.

  • Added operations

    New operations are reported separately as informational changes.

  • Scope of diff

    The current implementation compares operation presence, not every parameter, schema, or response-body change.

OpenAPI Diff Checker Questions

  • Q: Does the OpenAPI diff checker upload my API specs? A: No. Inputs are processed in your browser, and pasted content is not sent to analytics or a server.
  • Q: What should I paste into the OpenAPI diff checker? A: Paste the old OpenAPI JSON, a separator line with three hyphens, then the new OpenAPI JSON.
  • Q: What can I copy or download? A: You can copy a removed/added operation report as plain text.
  • Q: What does the OpenAPI diff checker not verify? A: It does not perform a full semantic API compatibility analysis across schemas, parameters, examples, or auth behavior.

Use OpenAPI Diff Checker with an LLM

Copy the prompt or pass the llms.txt contract link to your assistant.

Prompt
Use the CleanUtils OpenAPI Diff Checker tool for this request.
Tool contract: https://cleanutils.com/developer-tools/openapi-diff-checker/llms.txt

Read the llms.txt contract, ask me for any missing required input, then follow the contract exactly. If the contract includes JavaScript, run `runCleanUtilsTool(userInput)` in a sandboxed JavaScript runtime and return the result with any warnings or errors.