0

I have a service that accepts requests with the following query parameters:

limit=1
param[117]=3345

parameters param[117] are List<String>, and parameter limit is a string

The service expects to receive these parameters in the following form:

.../sevice-name?param[117][]=2233&param[117][]=3344&param[117][]=5566&limit=1

for this I enable the setting on the client in the quarkus options

quarkus.rest-client."sevice-name".query-param-style=ARRAY_PAIRS

and get a query string like this limit[]=1but expected limit=1:

.../sevice-name?param[117][]=2233&param[117][]=3344&param[117][]=5566&limit[]=1

how can quarkus-rest-client-reactive-jackson be configured to get the expected behavior?

mrtopgun
  • 25
  • 5

0 Answers0