I am trying to configure Swagger with my Play-2.5 project.
I followed this tutorial and it worked, but only for the older version of Play and not working with Play-2.5. As the project has migrated into Play-2.5, we had to remove the swagger configuration.
Firstly, the issue seemed to be with static controller vs non static controller in Play-2.5, but I ended up with proving myself wrong. I am facing this error
type ApiHelpController is not a member of package controllers
GET /api-docs controllers.ApiHelpController.getResources
If any one knows any link for Swagger configuration with Play-2.5 for Java, please guide.
PS: there are tutorials available for Scala not for java.
Try this repo:
https://github.com/CreditCardsCom/swagger-play
I created this as a temporary workaround until we get support for Play 2.5 in the official swagger-play repo.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With