DEV Community

Discussion on: Tired of json-schema, try dry-validation

Collapse
 
kelseydh profile image
Kelsey Hannan

I love this! What file do you put the schema in?

I'm also interested in whether this could also be used within the API consumer itself, to render error messages or to detect an outage from malformed JSON.

Collapse
 
alirezabashiri profile image
Alireza Bashiri

We used this more on testing side but now days I'd recommend keep it simple and using just a minittest helper or a rspec helper instead of brining a whole library unless necessary and if I'm not wrong we used to write them in spce/schemas.