I have this quarkus rest api:
@ApplicationScoped
@RegisterRestClient(configKey = "s-api")
@RegisterProvider(LoggingFilter.class)
public interface MyClientAdapter {
@GET
@Produces(MediaType.TEXT_PLAIN)
String search(@QueryParam("lodis") double lodis,
@QueryParam("secTcn") String secTcn);
the api works well, but in case I pass this value to the method ussu%os
, the rest client encodes it to 'ussu%25os':
restClient.search(28322.2, "ussu%os")
As a result of that the endpoint returns nothing.
So my question is how can I disable that encoding for the queryparam secTcn?