While defining a client interface is there a way to pass a map of Query parameters? I know I can do a single via:
@Client("MyApi)
interface Zoo {
fun fetchAnimals(@QueryValue color : String) : String
}
But, how would a add a variable map of parameters?
@Client
interface Zoo {
fun fetchAnimals(@QueryMap color : Map<String,String>) : String
}
@QueryMap is from retrofit but I can't figure out an equivalent in micronaut or another workaround?