openapi-merge icon indicating copy to clipboard operation
openapi-merge copied to clipboard

Possible to skip duplicate paths?

Open adsiddiqui-equinix opened this issue 2 years ago • 0 comments

Is it possible to add some flag in the config file openapi-merge.json which would skip duplicate paths instead of throwing this error?

Error merging files: Input 2: The path '/api/associations' maps to '/api/associations' and this has already been added by another input file (duplicate-paths)

I have a use case where multiple Swagger specification files could have the same path and i am unifying them into a single file. Thanks!

adsiddiqui-equinix avatar Apr 21 '22 07:04 adsiddiqui-equinix