flask-openapi3
flask-openapi3 copied to clipboard
Option to output openapi3 instead of 3.1
Hi! As always, thank you for your excellent work.
I have come to an issue in the 3.0rc version. The command line unexpectantly started to output the openapi spec in openapi3.1 instead of OAS3. Would it be possible to have an option to output to the latest OAS version and one before that for backwards compatibility?
Kr Simon
Workaround for CI pipelines that requires to convert to swagger 2. cat openapi31.yaml | yq '.openapi="3.0.0"' > openapi30.yaml and then https://www.npmjs.com/package/api-spec-converter