I'm following the README file from the github repo.
When I run the commands:
git clone https://github.com/swagger-api/swagger-codegen cd swagger-codegen mvn clean package
I have the following error
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (test-testng) on project swagger-codegen: There are test failures.
As a result, the swagger-codegen-cli.jar file is missing so I can't run it to generate the code.
What am I doing wrong? Is it just me?
P.S. I tested it on MacOS and Windows10
Solved! Go to Solution.