swagger-tools
swagger-tools copied to clipboard
Support for Swagger 3.0?
The Swagger 3.0 spec was released back in July source, but the README.md for swagger-tools (latest release: 0.10.1) states support only for 1.2 and 2.0.
What is your timeline for 'officially' supporting Swagger 3.0?
I appreciate to see support for Swagger 3 too. Is there an estimate when this could happen?
Is someone working on 3.0 support? Myself and my colleague @Sabyasachi2k are looking forward to collaborate.
Bump, this would be nice to see here as well.
3.0 support in sway should be out within a couple weeks, I apologize for the delay. When 3.0 is out, which replaces the API portion of swagger-tools, I'll update sway-connect (replaces the connect middleware) and oval (replaces the CLI).
Cool thank you. Will try that out. What about JWT auth, will it be completely supported and validated properly? This is crucial, because 2.0 is not properly handle it.
On Tue, 21 May 2019 at 20:22, Jeremy Whitlock [email protected] wrote:
3.0 support in sway https://github.com/apigee-127/sway should be out within a couple weeks, I apologize for the delay. When 3.0 is out, which replaces the API portion of swagger-tools, I'll update sway-connect https://github.com/whitlockjc/sway-connect (replaces the connect middleware) and oval https://github.com/whitlockjc/oval (replaces the CLI).
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/apigee-127/swagger-tools/issues/529?email_source=notifications&email_token=AADTXILHYPDCKD4RQCUV5F3PWRK2FA5CNFSM4D273XW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV5CIXI#issuecomment-494543965, or mute the thread https://github.com/notifications/unsubscribe-auth/AADTXIJ32A3HM6Z7GBRCHQTPWRK2FANCNFSM4D273XWQ .
JWT in OpenAPI 2.x is not supported and in 3.x it's slightly supported. The plan will be for sway-connect to enforce JWT-based security where possible. My hope is eventually we'll be able to support JWT officially, with https://github.com/OAI/OpenAPI-Specification/issues/1881 becoming the beginning of rewriting Security Definitions to be token aware.
@whitlockjc any update to this? Where is the PR?
Any update on this? its sad to see one of the only good swagger libraries for node go silent
For Swagger/OpenApi 3.0 you should try to use oas-tools https://github.com/oas-tools/oas-tools It is based on this swagger-tools implementation and the setup and options are quite similar.