matiwinnetou / swagger-play24

Port of swagger 1.3.12 to Play 2.4
Apache License 2.0
21 stars 7 forks source link

Java Support #4

Closed ghost closed 9 years ago

ghost commented 9 years ago

This is likely a user-error, but I cannot seem to get it working with Java. I wonder if Scala and Java have different controller classes and the swagger scanner is looking for Scala controllers.

ghost commented 9 years ago

It appears my routes file is not being enumerated. The logs never show the statement "route" as I would have expected. I do not know Scala well, so my reading of the code may be incorrect.

ghost commented 9 years ago

Yup, user-error. I needed to add additional route entries to see the details.

GET /api-docs/foo pl.matisoft.swagger.ApiHelpController.getResource(path = "/foo")