'Different query parameter styles for multivalued parameters and regular ones
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¶m[117][]=3344¶m[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¶m[117][]=3344¶m[117][]=5566&limit[]=1
how can quarkus-rest-client-reactive-jackson be configured to get the expected behavior?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
