lengrufeng2008/dsh-openapi-diff ↗★ 0
dsh-openapi-diff
Structural OpenAPI JSON breaking-change check for DSH: paths, methods, parameters, required fields, responses, types.
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lengrufeng2008/dsh-openapi-diffREADME
Read the full README ↗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
$refresolution 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.