OpenAPITools/openapi-diff

Version identifiers in paths

Open

#253 aberto em 28 de jul. de 2021

Ver no GitHub
 (3 comments) (1 reaction) (0 assignees)Java (187 forks)user submission
enhancementhelp wanted

Métricas do repositório

Stars
 (1.079 stars)
Métricas de merge de PR
 (Mesclagem média 38d 22h) (15 fundiu PRs em 30d)

Description

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!

Guia do colaborador