swagger-codegen

swagger-codegen

TLDR

Generate documentation and code from an OpenAPI/swagger file

>_ swagger-codegen generate -i [swagger_file] -l [language]
copy

Generate java code using the library retrofit2 and the option useRxJava2

>_ swagger-codegen generate -i [http://petstore.swagger.io/v2/swagger.json] -l [java] --library [retrofit2] -D[useRxJava2]=[true]
copy

List available languages

>_ swagger-codegen langs
copy

Display help options for the generate command

>_ swagger-codegen help [generate]
copy

Copied to clipboard
free 100$ digital ocean credit