OpenAPITools/openapi-diff

Version identifiers in paths

オープン

#253 opened on 2021/07/28

 (3 件のコメント) (1 件のリアクション) (0 人の担当者)Java (187 件のフォーク)user submission
enhancementhelp wanted

Repository metrics

Stars
 (1,079 個のスター)
PR merge metrics
 (30d に merged 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!

コントリビューターガイド