rororo
rororo copied to clipboard
Use jsonschema-rs for request/response validation
jsonschema-rs in theory should allow rororo dramatically improve request/response validation speed.
As of 0.1.0 version error handling is not there, but it is still good idea to prepare basis for drop-in replacement for request/response validation via faster jsonschema alternative.
As of https://twitter.com/Stranger6667/status/1271075766835576832,
JSONSchema.validatemethod is implemented in 0.3.0. It raisesValidationError:) Quite similar tojsonschemalib behavior. Iterator over errors will be implemented soon