Skip to content

Instantly share code, notes, and snippets.

@kfurue
Created August 19, 2017 22:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kfurue/0a63aaeec1c231cb279054b1c720f7ee to your computer and use it in GitHub Desktop.
Save kfurue/0a63aaeec1c231cb279054b1c720f7ee to your computer and use it in GitHub Desktop.
Swagger Code Generator for retrofit2-RxJava2
java -jar swagger-codegen-cli-2.2.3.jar generate \
-i swagger_doc.json \
-l java --library=retrofit2 \
-D hideGenerationTimestamp=true \
-o retrofit2-RxJava2 \
--additional-properties projectName=SampleAppClient,podAuthors=kfurue,useRxJava2=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment