rororo icon indicating copy to clipboard operation
rororo copied to clipboard

Use jsonschema-rs for request/response validation

Open playpauseandstop opened this issue 5 years ago • 1 comments

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.

playpauseandstop avatar Jun 09 '20 20:06 playpauseandstop

As of https://twitter.com/Stranger6667/status/1271075766835576832,

JSONSchema.validate method is implemented in 0.3.0. It raises ValidationError :) Quite similar to jsonschema lib behavior. Iterator over errors will be implemented soon

playpauseandstop avatar Jun 11 '20 19:06 playpauseandstop