Saturday, May 6, 2023

Swagger 2.0 vs OpenAPI 3.0, conversion

https://swagger.io/docs/specification/2-0/basic-structure/ Swagger 2.0 specifications

https://swagger.io/docs/specification/basic-structure/ OpenAPI 3.0 specifications

https://editor.swagger.io/ Swagger Editor, it contains a menu to translate 2.0 into 3.0, but this works by sending the yaml to a remote conversion service, so it might not work in your premises. You can also install the container with swagger-editor https://hub.docker.com/r/swaggerapi/swagger-editor/ , but make sure that external connectoins are legal in your company.



No comments: