shell $ npm install -g swagger-codegen json { "swagger": "2.0", "info": { "title": "Sample API", "version": "1.0.0" }, "paths": { "/users": { "get": { "summary": "Get all users", "responses": { "200": { "description": "OK" } } } } } } shell $ swagger-codegen generate -i swagger.json -l python -o ./python-client


上一篇:
下一篇:
切换中文