OpenAPITools / OpenAPITools/openapi-diff
Version identifiers in paths
未关闭
还没有人认领这个 Issue。
enhancement
help wanted
- 主要语言
- Java
- 星标
- 1.1k
- 派生
- 190
- PR 合并指标
- 30 天内没有已合并 PR
描述
The specs I want to compare have a version identifier in their paths:
E.g. api/v1/users and api/v2/users
Comparing these specs triggers false positives because of the paths, even when the rest of the specs are identical.
As a workaround I'm manipulating the specs before comparing - manually replacing api/v*/users with api/users in both.
Is there a way built into the tool that could solve my problem?
Or would it perhaps make sense to implement some kind of wildcard support?
Great project!
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先使用两个示例路径 api/v1/users 和 api/v2/users 重现比较,并检查路径差异是如何报告的。明确预期结果是与版本无关的比较,还是支持通配符;完成后应消除误报,同时保留有意义的路径差异。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- api
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100