openapi-client-axios
openapi-client-axios copied to clipboard
Swagger 2 support
Is it possible integrate this client to the previous version swagger?
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 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?
@j-zimnowoda Perhaps we publish multiple packages? A common openapi-client-axios
and swagger-client-axios
with swagger 2.0 support?
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
I support this support request as well, a lot of existing Swagger 2.0 projects exist out there and will benefit greatly from that.