I think we should have an extra field in @ApiImplicitParam annotation to
tell Swagger which parameter - if any - it should replace.
Example:
@ApiOperation(value = "Test pet as json string in query", response = Pet.class)
@GET
@Path("/test")
@Produces("application/json")
@ApiImplicitParams({
@ApiImplicitParam(value = "describe Pet in json here", required = false,
dataType = "string", name = "pet", replace = "pet", paramType =
"query")
})
public Pet test(
@ApiParam(value = "describe Pet in json here (THIS TEXT TO BE REPLACED
by @ApiImplicitParam")
@QueryParam("pet") Pet pet) {
return new Pet();
}
--
You received this message because you are subscribed to the Google Groups
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.