mongoose-to-swagger icon indicating copy to clipboard operation
mongoose-to-swagger copied to clipboard

Open API Spec version

Open catharsisjelly opened this issue 3 years ago • 2 comments

Hiya,

Not sure if I have missed something or not but I seem to only be able to get Swagger 2.0 out of the code. have I missed a config seeting to be able to output OpenApi 3? If not do you have plans to support the newer format?

catharsisjelly avatar Apr 14 '21 09:04 catharsisjelly

Currently only 2.0 is supported. There are no plans but we're open to PRs!

blugavere avatar Apr 14 '21 20:04 blugavere

Cheers for the response, I'll see if I can find the time to put some work towards supporting v3. I might just submit a PR to update the docs so that it's declared in the README which version of swagger it outputs.

catharsisjelly avatar Apr 15 '21 09:04 catharsisjelly