swagger-codegen
Generate code and documentation for your REST api from an OpenAPI/swagger definition. More information: https://github.com/swagger-api/swagger-codegen.
- Generate documentation and code from an OpenAPI/swagger file:
swagger-codegen generate
- Generate Java code using the library retrofit2 and the option useRxJava2:
swagger-codegen generate --library -D=
- List available languages:
swagger-codegen langs
- Display help for a specific command:
swagger-codegen --help
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
