Mark Fisher
07/09/2019, 1:41 PMinterface GeneratedPriceClient: PriceClient {
@Get("/v0/prices{?skuId,currency,locale}")
override fun getPricesBySkuId(
@QueryValue("skuId") skuIds: List<String>?,
...
The controller definition is:
@Controller("/v0")
class PriceController(private val service: ProductPriceService) {
@Get("/prices{?currency,skuId,locale}")
fun getPricesBySkuId(
@QueryValue("skuId") skuIds: List<String>?,
...
If I call the controller with /v0/prices?skuId=1&skuId=2&skuId=3
it comes through as a list correctly, but the generated client is making a call with &skuId=1,2,3
as a comma separated list instead of multiple skuId query parameters.
Is this controllable/expected?