swagger-core icon indicating copy to clipboard operation
swagger-core copied to clipboard

Swagger @ApiParam not working for QueryParam

Open shruthipodduturi opened this issue 10 years ago • 2 comments

Hi

I am using swagger @ApiParam annotation for JAX-RS Query Param. But Query Params are not recognized in Swagger UI.In Swagger UI all the Query Params are coming as body parameters. We have an interface and implementation class for our REST API's. If i remove interface class its working...Ideally interface should nt create any problem.....Any help would be appreciated.

shruthipodduturi avatar May 27 '16 03:05 shruthipodduturi

Please share more details if you're still having an issue.

fehguy avatar Dec 25 '16 04:12 fehguy

Yes, this issue still exists. Query Params are not recognized in Swagger UI. The QueryParams are coming as body. Using ApiParam also doesn't get it fixed.

lvabarajithan avatar Jun 13 '19 04:06 lvabarajithan