salesking / json_schema_tools

Tools for building and handling a JSON Schema powered API's
27 stars 9 forks source link

json schema now reads nested arrays properly #17

Closed VidurMalik closed 9 years ago

VidurMalik commented 9 years ago

Originally, an item in an array was not being processed properly on a call to as_schema_hash. It did not honor the schema specified using has_schema_attrs in the item's class definition. The gem would try to guess the schema using the class name. This PR forces honoring the specified schema

schorsch commented 9 years ago

looking good, sry did not read the PR when i commented ticket #16

schorsch commented 9 years ago

Tanks a lot! just released v0.6.2