mpgirro / hemin

🔎 Hemin is a Podcast Catalog & Search Engine System built with Scala, Akka, and Elm
https://hemin.io
7 stars 0 forks source link

No paths generated for swagger.json #49

Open mpgirro opened 5 years ago

mpgirro commented 5 years ago

We upgrades to Play 2.7 and re able to use the newer version of swagger-play. A swagger.json is also generated at runtime. The Swagger UI is deployed correctly, and uses the generated swagger.json when we call the UI at http://localhost:9000/docs/. We added numerous swagger annotations to the controllers, and in the UI we can see only those API resources that we annotated as an @Api. However, no endpoints are show, because the path property in swagger.json is not there. Hence, the Swagger UI is pretty empty and useless.

Why is this the case?!