dropwizard-swagger
dropwizard-swagger copied to clipboard
description specified in @APi annotation doens't apear on doc page
Hi,
In my resource class, I have:
@Api(value = "/calendar", description="The Holiday API")
However when I look at localhost:8080/swagger, I see:
which oddly displays the description of the last
@ApiOperation( value = "Get next business day", notes = "Returns the next business day fom the supplied date expressed as YYYY-mm-dd.", response = HolidayResponse.class ) method in my class..
Is this a bug or am I missing some configuration? Thanks, Jason
I had the same problem, but I found it is fixed in this fork: https://github.com/smoketurner/dropwizard-swagger. It doesn't actually show the description, but at least it doesn't show the wrong value.