swagger-codegen
Else, you could use:
java -jar swagger-codegen-cli-2.2.1.jar
Help options in terminal
To see the various help section options of the Swagger Codegen -
If you have Homebrew installed:
swagger-codegen help
Else, you could use:
java -jar swagger-codegen-cli-2.2.1.jar help