Is there some definition how to use nested GET parameters within tests?
This does not work:
parameter name: :checkboxes,
in: :path,
description: 'The values of marked checkboxes',
type: :array,
items: {
type: :string
}
the final I am trying to call URL looks like this: /?checkboxes[]=Value 1&checkboxes[]=Value 2
Thank you in advance!
Try the following ...
parameter name: :'checkboxes[]', in: :query, type: :array, collectionFormat: :multi
I had an error on Swagger UI with the definition of the array using collectionFormat: :multi.

But with the schema defined like this it works.
parameter name: :'apps[]',
in: :query,
required: false,
type: :array,
collectionFormat: :multi,
schema: { type: 'array', items: { type: 'string' } }
Swagger UI is not able to render it properly.

BTW it is still not OpenApi 3 compatible. https://github.com/rswag/rswag/issues/256#issuecomment-780240614
Most helpful comment
Try the following ...