vsd_codesode
6 years agoNew Contributor
Error Sibling parameters must have unique name
Hi,
I am defining two parameter for to my REST resource, with specific params as below
@Operation(description = "Download",
summary = "0000",
tags = {"Test-v1.0"},
parameters = {
@@Parameter(name = "id", description = "id", in = ParameterIn.QUERY)
@Parameter(name = "file", description = "file Name", in = ParameterIn.QUERY),
@Parameter(name = "date", description = "Kickoff Date Time", in = ParameterIn.QUERY),
}
)
public Response dowload(@QueryParam("id") String id, @QueryParam("file") String file, @QueryParam("date") String date)
So generating documnet via maven plugin. the result contains two entries for each defined paramenters. Total 6 entries into the generated documents.
Please help me to get it resolve and make maven plugin generate only one entry in paramenter list into json.