matiwinnetou / swagger-play24

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

Adding note to readme about annotation compatibility #2

Closed felixbr closed 9 years ago

felixbr commented 9 years ago

I spent the last few hours banging my head against a wall, because swagger would just ignore my annotations.

As it turns out, your PlayApiScanner compares the annotations to com.wordnik.annotation.Apiand I was using io.swagger.annotation.Api, so the annotation was never found. I cannot fix the issue itself, but I added a note, so others don't run into the same problem.