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.
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 generatedswagger.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 thepath
property inswagger.json
is not there. Hence, the Swagger UI is pretty empty and useless.Why is this the case?!