sergioalifanoOccasional ContributorJoined 7 years ago5 Posts1 LikeLikes received1 SolutionView All Badges
ContributionsMost RecentMost LikesSolutionsRe: Maven build fails I've actually figured this out. I had Java 10 installed on my computer. Downgrading to version 8 fixed the issue. Re: Open aspnetcore server .sln file with Visual Studio 2017 I'm replying to myself but I'm curious if someone else has a different solution. I have created an empty solution in Visual Studio and then I've added the project in it (I've deleted the original sln file since it's useless). Anybody else had to do this? Re: Need for swagger scanner You can use Swagger Inspector to generate API specification given an API endpoint (and from there generate the documentation). If you are looking to use annotation from a specific language there are several libraries available, like: - Swashbukle for .NET - swagger-core for Java and so on... Maven build fails 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 SolvedOpen aspnetcore server .sln file with Visual Studio 2017 When I go to http://www.editor.swagger.io and I generate an aspnetcore Server stub using the Petstore sample yaml file and the code gets generated why I can't open the .sln file using Visual Studio 2017? Here is a screenshot: