Validation fails when schema uses multi collection type for inquery parameters
Closed this issue · 0 comments
YuChem commented
When validating document described by schema having this fragment
"parameters": [
{
"name": "id",
"in": "query",
"description": "Filter the results by id. Multiple ids may be supplied.",
"type": "array",
"items": { "type": "integer" },
"collectionFormat": "multi"
},
validator throws an exception:
python3.5/site-packages/flex/validation/common.py", line 407, in generate_value_processor
delimeter = DELIMETERS[collectionFormat]
KeyError: 'multi'
swagger spec file is validated by swagger.io