There is a problem with rendering textarea for input multiple params.
With 2.2.6 it was working.

Parameter definition:
{"name":"name","in":"query","required":true,"type":"array","items":{"type":"string"},"collectionFormat":"multi"}
There's no text area rendering. It's just a list of items that you can add and remove.
After clicking on "Add item" i get "馃槺 Could not render t, see the console."
Console:
TypeError: h.filter is not a function
at swagger-ui-bundle.js:94121
at swagger-ui-bundle.js:9717
at ze.__iterate (swagger-ui-bundle.js:10952)
at r.__iterateUncached (swagger-ui-bundle.js:9717)
at W (swagger-ui-bundle.js:9717)
at r.M.__iterate (swagger-ui-bundle.js:9717)
at r.toArray (swagger-ui-bundle.js:10952)
at new ze (swagger-ui-bundle.js:9717)
at St (swagger-ui-bundle.js:9717)
at ze.map (swagger-ui-bundle.js:10952)
Can you share a spec that reproduces the issue?
{
"swagger":"2.0",
"basePath":"/v1",
"paths":{
"/test":{
"get":{
"summary":"Lists",
"description":"",
"operationId":"getIds",
"produces":[
"application/json"
],
"parameters":[
{
"name":"name",
"in":"query",
"required":true,
"type":"array",
"items":{
"type":"string"
},
"collectionFormat":"multi"
}
],
"responses":{
"200":{
"description":"successful operation",
"schema":{
"$ref":"#/definitions/GetResponse"
}
}
},
"security":[
{
"apiKey":[
]
}
]
}
}
},
"securityDefinitions":{
"apiKey":{
"description":"",
"type":"apiKey",
"name":"apiKey",
"in":"query"
}
},
"definitions":{
"GetResponse":{
"type":"object",
"properties":{
"name":{
"type":"string"
}
},
"xml":{
"name":"GetResponse"
}
}
}
}
Thanks, issue confirmed.
When is it planned to deploy the fix to http://petstore.swagger.io/ ?
It's deployed now.
Most helpful comment