Open theletterf opened 5 years ago
@theletterf thanks for the update on Swashbuckle. I agree aspnet core generator should upgrade to 5.x which supports both OpenAPI 2.x and 3.x.
I suggest we do it after v5 stable version is released and we'll do it after releasing openapi-generator 4.0.0.
There is some preliminary work done for this (option swashbuckleVersion) has been added but needs some cleanup to add more version or better still allow any version (rather than the current fixed set of 3.0.0 and 4.0.0 etc.)
I have a list of all the necessary changes to get this working with dotnetcore 3.0/3.1 and the latest swashbuckle. Will try to get an MR up unless it would be duplicative of anyone else's work
@theletterf Could you please try out the latest 5.0.0-beta as I am certain it contains Swashbuckle 5 and is working for some of my projects. If that resolves your issue, could you please resolve this issue?
@wing328 isn't that closed already?
Is your feature request related to a problem? Please describe.
Swashbuckle 5.0.0 is about to go live. The current aspdotnetcore generator uses v3 though.
https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/master/README-v5.md
Describe the solution you'd like
The aspnetcore generator should support v5 of Swashbuckle upon release. The RC2 is already out.