OpenAPITools/openapi-diff

Version identifiers in paths

Open

#253 建立於 2021年7月28日

在 GitHub 查看
 (3 留言) (1 反應) (0 負責人)Java (187 fork)user submission
enhancementhelp wanted

倉庫指標

Star
 (1,079 star)
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!

貢獻者指南