How to implement squer brackets parameter with Jax-RS client?

38 views Asked by At

External API is exposing resources with the search parameter.

This is the targeted endpoint: https://example.com/api/categories/?filter[name]=[somename]&display=full

I'm using quarkus with org.eclipse.microprofile.rest.client.inject.RegisterRestClient. I'm trying to somehow map filter parameter with available parameters from javax.ws.rs without luck.

The implementation is done for client, i don't want to get parameter i want to put them into the request.

 @GET
  @Produces(MediaType.TEXT_XML)
  CategoriesResponse searchCategoryByName(@DefaultValue("full") @QueryParam("display") String display, <How to implement this param> Filter f

Any ideas?

0

There are 0 answers