swagger-tools icon indicating copy to clipboard operation
swagger-tools copied to clipboard

Support for Swagger 3.0?

Open rmharrison opened this issue 8 years ago • 9 comments

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?

rmharrison avatar Sep 14 '17 18:09 rmharrison

I appreciate to see support for Swagger 3 too. Is there an estimate when this could happen?

indianscout avatar Nov 12 '18 08:11 indianscout

Is someone working on 3.0 support? Myself and my colleague @Sabyasachi2k are looking forward to collaborate.

dpalanivel avatar May 16 '19 16:05 dpalanivel

Bump, this would be nice to see here as well.

Somebi avatar May 21 '19 18:05 Somebi

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

whitlockjc avatar May 21 '19 20:05 whitlockjc

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 .

Somebi avatar May 22 '19 09:05 Somebi

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 avatar May 22 '19 15:05 whitlockjc

@whitlockjc any update to this? Where is the PR?

cjancsar avatar Jan 17 '20 19:01 cjancsar

Any update on this? its sad to see one of the only good swagger libraries for node go silent

robert-cronin avatar Sep 24 '20 05:09 robert-cronin

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.

tuunit avatar Apr 29 '22 08:04 tuunit