Closed mafayaz closed 6 years ago
I am trying to add swagger to one of my sub-projects. I have added the "ApiHelpController" as below
subproject routes file GET /swagger.json controllers.ApiHelpController.getResources subproject conf file
GET /swagger.json controllers.ApiHelpController.getResources
play.modules.enabled += "play.modules.swagger.SwaggerModule"
However, I am getting the following error Type ApiHelpController is not a member of package <subproject>.controllers
Type ApiHelpController is not a member of package <subproject>.controllers
How can I fix the package path for ApiHelpController??
playVersion = "2.5.14" scalaVersion := "2.11.11" "io.swagger" %% "swagger-play2" % "1.5.3", "org.webjars" % "swagger-ui" % "2.2.0"
I have fixed the issue on my side. It was more related to play path settings than swagger, so I am closing this issue.
I am trying to add swagger to one of my sub-projects. I have added the "ApiHelpController" as below
subproject routes file
GET /swagger.json controllers.ApiHelpController.getResources
subproject conf fileHowever, I am getting the following error
Type ApiHelpController is not a member of package <subproject>.controllers
How can I fix the package path for ApiHelpController??