swagger-codegen
Generate code and documentation for your REST api from an OpenAPI/swagger definition. tldr-pages
On several platforms
Several platforms
Generate documentation and code from an OpenAPI/swagger file
swagger-codegen generate --input-spec swagger_file --lang languageIdentifyGenerate Java code using the library retrofit2 and the option useRxJava2
swagger-codegen generate --input-spec http://petstore.swagger.io/v2/swagger.json --lang java --library retrofit2 -DuseRxJava2=trueIdentifyList available languages
swagger-codegen langsIdentifyDisplay help for a specific command
swagger-codegen generate --helpIdentify