CmdID

CmdID / Commands

swagger-codegen

Generate code and documentation for your REST api from an OpenAPI/swagger definition. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Generate documentation and code from an OpenAPI/swagger file

swagger-codegen generate --input-spec swagger_file --lang languageIdentify

Generate 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=trueIdentify

List available languages

swagger-codegen langsIdentify

Display help for a specific command

swagger-codegen generate --helpIdentify