Query parameters are optional by nature and it's currently not possible to omit them using this library. Would it be possible to skip query parameter inclusion if a null value is used?
Interface;
@GET
public Response findEntities(@QueryParam("search") String text, @QueryParam("optionalParam") UUID optionalParam);
Usage:
myApi.findEntities("ent%", null);
Result:
GET http://localhost:8080/entities?search=ent%
Query parameters are optional by nature and it's currently not possible to omit them using this library. Would it be possible to skip query parameter inclusion if a null value is used?
Interface;
Usage:
Result:
GET http://localhost:8080/entities?search=ent%