using a two dimensional array in swagger php api

236 views Asked by At

i want to get a get request http://localhost/api/catalog/product/list?filters[filter14][]=0 but in swagger it turns out only enter image description here

enter image description here

how to create two dimensional array input in swagger editor?

1

There are 1 answers

0
Helen On

OpenAPI 3.x does not support nested arrays and nested objects in query strings. You'll need to either pass those filters in the request body (e.g. as a JSON object or array), or replace the filters parameter with individual named filter parameters.