You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given you have a parameter definition like this, where the name ends with a "[]", because that is a standard you've agreed on.
parameters:
- name: ids[]description: IDs of the things to getin: queryschema:
type: arrayitems:
type: integer
Expected behavior:
For a request like GET /things?ids[]=1&ids=[]=2, I would expect committee to convert the array items to integers as described in the API description.
Current behavior:
Array items do not get converted to integers, but remain strings.
I guess this is mostly due to Rack's default handling of "xx[]" parameters, as it handles those as an "xx" array by default, so this might be tricky.
Do you plan to support this? If so I would be happy to help.