0

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 Answers1

1

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.

Helen
  • 87,344
  • 17
  • 243
  • 314