jsonschema-rs icon indicating copy to clipboard operation
jsonschema-rs copied to clipboard

Incorrect `schema_path` in errors

Open Kixiron opened this issue 1 year ago • 1 comments

Validating this json with this schema yields a schema_path of [PathChunk::Keyword("oneOf")] which points to nothing, I'd expect the schema path to be something like /definitions/Neg or /definitions/Node/3, something that actually points to the definition at hand

Kixiron avatar Apr 13 '23 17:04 Kixiron