Forrest logo
back to context overview

swagger-codegen

List of commands for swagger-codegen:

  • swagger-codegen:tldr:06acf swagger-codegen: Generate documentation and code from an OpenAPI/swagger file.
    $ swagger-codegen generate -i ${swagger_file} -l ${language}
    try on your machine
    explain this command
  • swagger-codegen:tldr:5bbe2 swagger-codegen: 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}
    try on your machine
    explain this command
  • swagger-codegen:tldr:82e10 swagger-codegen: Display help options for the generate command.
    $ swagger-codegen help ${generate}
    try on your machine
    explain this command
  • swagger-codegen:tldr:f110b swagger-codegen: List available languages.
    $ swagger-codegen langs
    try on your machine
    explain this command
back to context overview