agrestio / agrest

Server-side Java REST Framework for easy access to data graphs from various backends
https://agrest.io
Apache License 2.0
81 stars 34 forks source link

Swagger: duplicate param properties #616

Closed andrus closed 1 year ago

andrus commented 1 year ago

When an endpoint has both @UriInfo and explicit protocol parameters, duplicate parameters are generated. E.g.:

@GET
@Path("x")
public Response getX(
        @QueryParam("include") List<String> includes,
        @QueryParam("exclude") List<String> excludes,

        @Context UriInfo uriInfo
)