EXSyst / ApiDocBundle

UNMAINTAINED - Use NelmioApiDocBundle instead
MIT License
1 stars 0 forks source link

"items" is required when type is "array" #4

Open magnetik opened 7 years ago

magnetik commented 7 years ago

When a param is declared as array, items should be provided per specification

Required if type is "array". Describes the type of items in the array.

https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#parameterObject

GuilhemN commented 7 years ago

@magnetik I think this will be up to the model detector. We can't know yet what's the sub-type.