Can I make swagger-php use arrays on the query string?
<p>I use Swagger-php. When I define a parameter that's on the query string it can be an array. But from what I can see, it doesn't support this kind of querystring:</p>

<pre><code>https://api.domain.tld/v1/objects?q[]=1&amp;q[]=5&amp;q[]=12
</code></pre>

<p>I believe this would be set <a href="http://swagger.io/specification/#parameterObject" rel="noreferrer">in the <code>collectionFormat</code>field</a> if possible. Currently I've just been using <code>pipes</code>, but I want to use the above format, and have Swagger-UI reflect this, too. However, I read <a href="https://github.com/OAI/OpenAPI-Specification/issues/682" rel="noreferrer">this github issue</a> which has left me wondering if this is actually possible and I've just missed it?</p>

<p>An example of my Swagger-PHP definition:</p>

<pre><code>/**
*     @SWG\Parameter(
*         name="ids",
*         in="query",
*         description="A list of IDs (separated by pipes) to filter the Returns",
*         required=false,
*         type="array",
*         @SWG\Items(
*             type="integer",
*             format="int32"
*         ),
*         collectionFormat="pipes"
*     )
*/
</code></pre>

<p>Which results in the following JSON:</p>

<pre><code>"parameters": {
    "ids": {
        "name": "ids",
        "in": "query",
        "description": "A list of IDs (separated by pipes) to filter the Returns",
        "required": false,
        "type": "array",
        "items": {
            "type": "integer",
            "format": "int32"
        },
        "collectionFormat": "pipes"
    }
}
</code></pre>