Open krx252525 opened 8 years ago
Naming a method status results in the @ApiOperation and @ApiResponses annotations being ignored:
status
@ApiOperation
@ApiResponses
This configuration in my api.routes along with the corresponding method in my controller doesn't work:
api.routes
GET /status com.my.org.api.controllers.ApiController.status
Whereas this configuration in my api.routes along with the corresponding method in my controller does work:
GET /status com.my.org.api.controllers.ApiController.version
Unsure if I've missed something and this is a case of WAD - but it caused me a headache!
Let me know if I can provide you with further context.
Naming a method
status
results in the@ApiOperation
and@ApiResponses
annotations being ignored:This configuration in my
api.routes
along with the corresponding method in my controller doesn't work:Whereas this configuration in my
api.routes
along with the corresponding method in my controller does work:Unsure if I've missed something and this is a case of WAD - but it caused me a headache!
Let me know if I can provide you with further context.