Skip to content

Instantly share code, notes, and snippets.

@bastman
Created March 15, 2018 12:23
Show Gist options
  • Save bastman/693839bd19363b0691a22835e78973e9 to your computer and use it in GitHub Desktop.
Save bastman/693839bd19363b0691a22835e78973e9 to your computer and use it in GitHub Desktop.
swagger-codegen-kotlin: generate kotlin client / model from swagger.json
docker run --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli generate \
-i /local/swagger.json \
-l kotlin \
-o /local/out/kotlin
# help
docker run --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli help generate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment