I'm using the version 10.2.3 of the library, then I noticed that an empty string of my List is being filtered out which goes against the RFC 6570 "only undefined
values should be filtered out".
Example :
public interface TestClient {
@RequestLine("GET /test?people={people}")
Boolean isEligible(@Param(value = "people", encoded = true) Collection<String> people);
}
thereby,
public void test_with_empty_name() {
Boolean isEligible = testClient.isEligible(List.of("","John","Stan"));
}
results in :
.../test?people=John&people=Stan
while the expected result is :
.../test?people=&people=John&people=Stan