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

@ApiParam not working in interface #2239

Closed
piyushj90 opened this issue Feb 8, 2018 · 6 comments
Closed

@ApiParam not working in interface #2239

piyushj90 opened this issue Feb 8, 2018 · 6 comments

Comments

@piyushj90
Copy link

I have added @ApiParam annotation in interface method, but it is not working. Please let me know, if it is fixed in v2.8.0.
Below is code sample:
@ApiOperation(value = "Find") ResponseDto find(@ApiParam(value = "Filter Criteria", required = true) String filterCriteria, HttpServletResponse response);

I am using springfox v2.8.0

@dilipkrish
Copy link
Member

@piyushj90 It is not fixed #1575

@3t-dev
Copy link

3t-dev commented Aug 4, 2018

Could you try to add more @RequestParam annotation, like as @ApiOperation(value = "Find") ResponseDto find(@ApiParam(value = "Filter Criteria", required = true) @RequestParam() String filterCriteria, HttpServletResponse response);?
It works for me.

@lafangyuan
Copy link

so which version solves this bug?

@astral-keks
Copy link

astral-keks commented Sep 19, 2018

the issue is still reproducible for springfox-swagger2 v2.9.2

@dilipkrish
Copy link
Member

It isnt fixed yet please track #1575

@dilipkrish
Copy link
Member

Closing as duplicate of #1575

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

No branches or pull requests

5 participants