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 Answer 1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.