Hi everyone,
Loving Swagger thus far, but have run into an issue I was hoping you could help with.
I am trying to get a query param to display in the UI. I want to be able to differentiate between it and a standard GET call.
So, I want to display the full path, along query parameter like 'customers?members={ids}'. At the moment it just displays 'customers'. Is this even possible.
My GET method, and annotations, looks as follows:
@GET
@ApiOperation(
value = "Retrieve specified customers by their ids",
notes = "Returns a collection of customes. IDs are delimitted by a comma.",
response = Customer.class)
@ApiResponses(value = {
@ApiResponse(code = 200, message = "OK"),
@ApiResponse(code = 404, message = "No customers found"),
@ApiResponse(code = 500, message = "Something wrong in Server")})
public Response getCustomersById(
@ApiParam(value = "Customer IDs to search for", required = true, allowMultiple = true) @QueryParam("ids") String ids)
{
// empty for this post
}
Any input would be greatly appreciated.
Thanks!
Jon