Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger 2 support #24

Open
VitaliiHoncharenko opened this issue May 18, 2020 · 5 comments
Open

Swagger 2 support #24

VitaliiHoncharenko opened this issue May 18, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@VitaliiHoncharenko
Copy link

Is it possible integrate this client to the previous version swagger?

@anttiviljami
Copy link
Member

Hi @VitaliiHoncharenko ! Not at the moment. But perhaps we should provide that functionality. I'm a bit worried about the effect on bundle size if we include a library like swagger2openapi to do that.

@anttiviljami anttiviljami added the enhancement New feature or request label May 30, 2020
@anttiviljami anttiviljami changed the title Connect to Swagger v.2 Swagger 2 support May 30, 2020
@j-zimnowoda
Copy link

@anttiviljami The OpenApiV3 is relatively new and there is a huge number of existing API in version 2. I would be eager to contribute to this project, as I see a lot benefits of having support for V2.
If the bundle size wouldn't be an issue. Do you see any other impediments?

@anttiviljami
Copy link
Member

@j-zimnowoda Perhaps we publish multiple packages? A common openapi-client-axios and swagger-client-axios with swagger 2.0 support?

@talolard
Copy link

talolard commented Oct 7, 2020

Hi,
Just found this issue because I have an Swagger 2.0 spec (that I can't upgrade) and want to use this library (which is amazing and made my life so much better when I has OpenAPI 3).
So +1

@XiRoSe
Copy link

XiRoSe commented May 17, 2021

I support this support request as well, a lot of existing Swagger 2.0 projects exist out there and will benefit greatly from that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants