0

I git cloned the swagger-api/swagger-codegen project from github and tried the generated code in samples/server/petstore/springboot (mvn package and java -jar ...). The server runs but I can't access any of the apis. They always say 404 not found. Any ideas?

Jack Peng
  • 576
  • 5
  • 19

1 Answers1

0

turned out that there is a server.contextPath parameter in application.properties of value /v1. All urls have this prefix.

Jack Peng
  • 576
  • 5
  • 19