thoughtbot / json_matchers

Validate your JSON APIs
MIT License
384 stars 40 forks source link

Pulling schema from a hash instead of file...anyone else interested? #103

Open keithmgould opened 4 years ago

keithmgould commented 4 years ago

I'm using RSwag, and that means I'm defining my response object inside of a spec. It would be really cool to validate that definition with the actual response using your json_matchers helpers. But your helpers require that the schema be in a file.

Any interest in also allowing something like a hash?