Swagger Editor openapi2转换为openapi3 install go get github.com/general252/openapi_2_to_3/cmd/openapi_2to3@v1.0.0 go install github.com/general252/openapi_2_to_3/cmd/openapi_2to3@v1.0.0 openapi_2to3.exe -swag2=docs/swagger.json -swag3=docs/swagger3.json ref: getkin/kin-openapi