Back to catalog

lengrufeng2008 /

lengrufeng2008/dsh-openapi-diff

Verified

Structural OpenAPI JSON breaking-change check for DSH: paths, methods, parameters, required fields, responses, types.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
READMESource: main@12eb2884

OpenAPI Diff for DSH

Structural OpenAPI JSON breaking-change check: removed paths/methods/params/properties/responses, new required fields, parameter-became-required, type changes.

Use

node bin/dsh-openapi-diff.mjs old.json new.json
node bin/dsh-openapi-diff.mjs old.json new.json --json

In DSH:

Use openapi_diff with old=old.json new=new.json.

Limits

  • JSON only
  • Structural subset; no full $ref resolution or oneOf/allOf semantics
  • Not a behavioral compatibility test or contract test
  • A clean result is not a compatibility proof

Tests

npm test

Provenance

A small independent structural diff. License: MIT.

—/ 5

No ratings yet

Community comments

No comments yet. Be the first to write one.