vacuum
vacuum copied to clipboard
Vacuum to warn of duplicate paths
Vacuum does not warn of duplicate paths. When using the bundle option, if the path is defined multiple times only the first one is kept.
For example, if the spec had something like the following, no warning is given when linting that duplicate paths exist, and the bundle option just drops one of the paths.
path:
/api/endpoint/{id}:
get:
...
/api/endpoint/{id}:
post:
...
Adding the ability to recognize the duplicate paths during bundle would be great, but giving a warning would be sufficient (for both linting and bundling).
Looks a nice feature ! will be usefull in combination of a merge tool