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

fixing openapi version

Open ekimia opened this issue 2 years ago • 1 comments

When merging multiple OpenAPI files that are version 3.0.0, the resulting file currently always has version 3.0.3. Is it possible to fix a particular version? In this case, the output OpenAPI version would be 3.0.0.

Sounds minor, but some tools like Postman are very strict on the API versions that are imported.

ekimia avatar Aug 16 '22 01:08 ekimia

That's fair. I'd be okay with making this be a configuration option in the Merge Options. I'm on leave at the moment but feel free to raise a PR to do this. Cheers.

robertmassaioli avatar Sep 02 '22 02:09 robertmassaioli