Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

description specified in @APi annotation doens't apear on doc page #82

Open
jnovotny opened this issue Feb 21, 2016 · 1 comment
Open

Comments

@jnovotny
Copy link

Hi,

In my resource class, I have:

@Api(value = "/calendar", description="The Holiday API")

However when I look at localhost:8080/swagger, I see:

screen shot 2016-02-21 at 12 34 22 pm

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

@EnigmaCurry
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants