OpenAPI Diff and Breaking Change Checker
Paste the old and new API description and see every change sorted into breaking, to review and safe, with a suggested version bump and Markdown changelog.
브라우저에서 실행됩니다. 파일은 기기 밖으로 나가지 않습니다. 확인하는 방법 보기
…
사용 방법
- 1Paste the old version
Paste or open the previous OpenAPI or Swagger file.
- 2Paste the new version
Add the changed file on the right; use Swap if needed.
- 3Read the summary
Check counts of breaking, review and safe changes and the bump.
- 4Filter the changes
Turn on Breaking only to focus on what will hurt clients.
- 5Check endpoints
See which operations were added, removed or changed.
- 6Export
Download the Markdown changelog, CSV or JSON report.
이 도구 소개
When an API changes, the hardest question is whether existing clients will break. A diff of the YAML files shows lines, not meaning: a moved property or a reformatted file creates noise, while a single word such as required can break every mobile app in the field. This checker compares two OpenAPI documents structurally. It lines up operations by method and path, resolves local references, compares parameters, request bodies and responses down to nested properties, and applies the direction rule that matters for compatibility: anything a client must now send, or may no longer send, is breaking for requests, and anything a client may no longer receive is breaking for responses. The result is a sorted list of changes, an endpoint table, a suggested semantic version bump and a changelog you can paste into release notes or a pull request.
What counts as breaking
Removed endpoints, new required parameters or request properties, optional parameters that became required, changed types, request enums that lost values, tighter limits such as a lower maxLength or maximum, media types no longer accepted, removed success response codes, removed response properties and properties that are no longer guaranteed in a response. Adding authentication to an operation that had none is also breaking.
What needs review
Removed optional query parameters, new enum values in responses (clients with strict enums may fail), deprecated endpoints, removed error responses and changed security requirements are listed as warnings rather than errors.
Safe changes
New endpoints, new optional parameters, new response codes and new properties are non-breaking. They lead to a minor version bump suggestion; only fixes and documentation changes suggest a patch.
Swagger 2 support
Body and formData parameters are converted to request bodies and response schemas are read directly, so you can compare a Swagger 2 file with its OpenAPI 3 replacement.
Output
Filter to breaking changes only, view endpoints as added, removed or changed with a count of breaking changes each, and download a Markdown changelog, CSV or JSON report.
Limits
External $ref files are not loaded, so split specifications should be bundled first. The checker reasons about the description, not your server, and it does not model every JSON Schema keyword (for example oneOf branches are compared by type only). Treat the output as a review aid, not a guarantee of compatibility.
풀이 예시
A shop API moved from 1.4.0 to 2.0.0. The checker found 5 breaking changes: the coupon lookup by code (GET /coupons) removed, a new required currency query parameter on GET /products, limit maximum lowered from 100 to 50, qty now required in the order body, and Product.stock changed from integer to string. It listed 2 warnings, the removed optional note property in the order body and the new archived status value in responses, and 2 safe changes, the new POST /returns endpoint and the rating property in responses. The suggested bump was major, which matched the team's plan.
한눈에 보기
- 카테고리: 개발 및 데이터
- 브라우저에서 실행되며 가입도 업로드도 필요 없습니다.
- 입력한 정보는 기기에 머뭅니다.
- 영어로 제공됩니다.
- 콘텐츠 최종 검토일:
- 공식 출처: OpenAPI Specification 3.1.0
자주 묻는 질문
Does it understand $ref?
Yes, local references such as #/components/schemas/Order are resolved before comparing, and cycles are cut off safely. References to other files are not fetched.
Why is a new enum value only a warning?
For requests it is safe, since clients may simply not use it. For responses, clients that map enums strictly can fail on unknown values, so it is worth a review but often acceptable.
Can I compare YAML with JSON?
Yes. Each side may be YAML or JSON, and OpenAPI 3.x or Swagger 2.0.
Is a removed optional parameter breaking?
Usually not for clients, because servers typically ignore unknown query parameters, but clients that relied on its effect will behave differently, so it is listed for review.
How is the version bump suggested?
Any breaking change suggests major, any added endpoint or property suggests minor, otherwise patch, following Semantic Versioning.
Are my API files uploaded?
No. Both documents are parsed in your browser and saved only as a local draft.
