Open chussenot opened 7 years ago
@chussenot
This repository is supposed to be build using:
mvn assembly:assembly -DdescriptorId=jar-with-dependencies
However, as of last month this repository is deprecated as it has been integrated and is being now updated in the main swagger-codegen project: https://github.com/swagger-api/swagger-codegen
To use it try:
git clone https://github.com/swagger-api/swagger-codegen
cd swagger-codegen
mvn package
java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate -i http://petstore.swagger.io/v2/swagger.json -l bash -o generated/bash/petstore -c modules/swagger-codegen/src/test/resources/2_0/bash-config.json
cd generated/bash/petstore
chmod u+x petstore-cli
./petstore-cli -h
Sorry, I forgot to update the README here...