Created
March 23, 2017 17:59
-
-
Save tamalsaha/b61271b1f479e919a8587f423329133a to your computer and use it in GitHub Desktop.
Install swagger-codegen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/2.1.6/swagger-codegen-cli-2.1.6.jar -O /usr/local/share/swagger-codegen-cli.jar | |
cat >/usr/local/bin/swagger-codegen << EOF | |
#!/bin/sh | |
java -jar /usr/local/share/swagger-codegen-cli.jar "$@" | |
EOF | |
chmod +x /usr/local/bin/swagger-codegen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment