APIDevTools / swagger-cli

Swagger 2.0 and OpenAPI 3.0 command-line tool
https://apitools.dev/swagger-cli
MIT License
515 stars 69 forks source link

Support to Open API 3.1.0 #60

Open luankevinferreira opened 3 years ago

luankevinferreira commented 3 years ago

The 3.1 version of OAS was released, it would be nice to have the compatibility in this tool to validade specifications in this version of the spec.

https://github.com/OAI/OpenAPI-Specification/releases/tag/3.1.0

vhfruud commented 3 years ago

Any update on this?

bogomya commented 3 years ago

+1, any news here ?

singulart commented 3 years ago

Hi! Is there any update on the progress of this?

martin-sommerseth commented 2 years ago

Any updates?

mrehanabbasi commented 2 years ago

I guess there won't be any update on this for a couple more months 😓.

amanda-lange commented 2 years ago

+1 really hoping this will be handled soon

lucianojs commented 2 years ago

@apidevtools/swagger-parser@10.1.0 now support OpenAPI 3.1.0.

Is it just update this dependency to work? https://github.com/APIDevTools/swagger-cli/blob/8e35d8a45d439ce08268626954dccdd699808b28/package.json#L74

TobiasLounsbury commented 2 years ago

It does appear to just be a need to update swagger parser to ^10.1.0. I've opened a PR with that change made along with a version bump. https://github.com/APIDevTools/swagger-cli/pull/78

derhuerst commented 1 year ago

The @apidevtools/swagger-parser has been upgraded to ^10.0.1 in https://github.com/APIDevTools/swagger-cli/commit/37a87c200964a1c28254d4d4d2444398df1c8c64. This change is included in @apidevtools/swagger-cli@4.0.4.