OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
21.98k stars 6.6k forks source link

[REQ] Add support for Swashbuckle 5.0.0 in aspdotnetcore #2646

Open theletterf opened 5 years ago

theletterf commented 5 years ago

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.

wing328 commented 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.

A-Joshi commented 5 years ago

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.)

Clean-Cole commented 4 years ago

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

InfoSec812 commented 4 years ago

@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?

knom commented 2 years ago

@wing328 isn't that closed already?