I found a workaround on how to do this.
@GET("/setservices{services_query}") ServicesSetResponse setServices(@EncodedPath("services_query") String servicesQuery);
And then:
getService().setServices("?param1=val1¶m2=val2" + "&services[10]&services[100000]&services[1000000]")
source share