I cannot seem to get the annotations I am adding to be seen by swagger-ui. I
am specifically having trouble with the annotations to update the method
descriptions and implementation notes. Everything compiles and runs, but my
descriptions do not show.
As an example, I would expect the method below to update the Implementation
notes section to "Returns news items". Instead it is set to "entries" (the
name of the method).
@RequestMapping(value = "/qtl/hey", method = RequestMethod.GET)
@ApiOperation(value = "Get News", notes = "Returns news items")
Collection<NewsEntry> entries() {
return this.entries.values();
}
I am using Java Spring rest controllers and my gradle config is below. any
help is appreciated
compile group: 'com.mangofactory', name: 'swagger-springmvc', version: '1.0.2'
compile group: 'io.swagger', name: 'swagger-core', version: '1.5.9'
--
You received this message because you are subscribed to the Google Groups
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.