In Play if you want to use a module in an another Play module, you must namespace your routes file to e.g. common.routes and your application.conf to e.g. common.application.conf.
However Swagger Play assumes the routes file is called "routes" - this results in a NullPointerException.
To fix this Swagger Play should check the play.http.router from the application conf.
In Play if you want to use a module in an another Play module, you must namespace your routes file to e.g.
common.routes
and your application.conf to e.g.common.application.conf
.However Swagger Play assumes the routes file is called "routes" - this results in a NullPointerException.
To fix this Swagger Play should check the
play.http.router
from the application conf.