返回目录
开发工具 插件

dsh-openapi-diff

lengrufeng2008/dsh-openapi-diff

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

Stars
0
Forks
0
Issues
0
更新
22 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:lengrufeng2008/dsh-openapi-diff

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

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 $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.

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类开发工具
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: api、openapi。