reverb / swagger-spec

This fork of the swagger-spec is intended for 2.0 planning
Other
19 stars 15 forks source link

Add a more strict constraint for "items" in the parameter object. #112

Closed webron closed 10 years ago

webron commented 10 years ago

The current implementation in the schema allows for any object.

It should be limited to primitives only. We may consider adding arrays too (of primitives and arrays) since arrays of arrays become supported for models.

webron commented 10 years ago

This was documented in the spec itself. An issue was created for the schema here - https://github.com/wordnik/swagger-spec/issues/119.