thoughtbot / json_matchers

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

json_matchers should not read _every_ .json file in schema_root #107

Open jasonkarns opened 2 years ago

jasonkarns commented 2 years ago

We have our schemas stored in our app directory in various locations because the schemas are not used solely for testing. Therefore, I attempted to set the schema_root to our app root. However, that caused json_matchers to start assuming any and all *.json files were json schema. Hence, it began blowing up with odd errors as most of these json files were not json schema.