Closed
Description
A param declaration like requires :foo, type: Array[Integer]
generates a type: '[Integer]'
entry in the JSON output.
However, the correct format would be:
type: 'array',
items: { type: 'integer' }
as documented by the specification - this btw doesn't appear to have changed in Swagger 2.0.
See also this issue.
It probably should also automatically append "[]" to the parameter name, although I'm not sure about that...