APIDevTools / swagger-parser

Swagger 2.0 and OpenAPI 3.0 parser/validator
https://apitools.dev/swagger-parser
MIT License
1.08k stars 153 forks source link

Update OpenAPI 3.0.0 to OpenAPI 3.1 #249

Closed inayet closed 11 months ago

inayet commented 1 year ago

Are there plans to updating this code to Update OpenAPI 3.0.0 to OpenAPI 3.1? Or a new tool that can take care of that?

philsturgeon commented 11 months ago

There are no plans to add any migration functionality to this package, in fact its winding down (even the name is out of date!)

You can use this package to help with upgrades around schemas, which is the main difference.

https://github.com/openapi-contrib/json-schema-to-openapi-schema/

For the rest, heres a guide.

https://www.openapis.org/blog/2021/02/16/migrating-from-openapi-3-0-to-3-1-0

inayet commented 11 months ago

Thank you @philsturgeon , I started on a project on github to transform OpenAPI 3.0.0 to OpenAPI 3.1.0 works okay but a lot of improvement is needed https://github.com/inayet/openapi30_to_openapi31