Created
April 17, 2013 00:50
-
-
Save fehguy/5400909 to your computer and use it in GitHub Desktop.
Creating client libs for subtledata api
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
git clone [email protected]:wordnik/swagger-codegen.git | |
./sbt assembly | |
# generate java library in generated-code/java | |
scala -cp target/swagger-codegen-assembly-2.0.2-SNAPSHOT.jar com.wordnik.swagger.codegen.BasicJavaGenerator http://developers.subtledata.com/swagger/api-docs.json | |
# build the library | |
cd generated-code/java | |
mvn package | |
# generate php library in generated-code/php | |
scala -cp target/swagger-codegen-assembly-2.0.2-SNAPSHOT.jar com.wordnik.swagger.codegen.BasicPhpGenerator http://developers.subtledata.com/swagger/api-docs.json | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment