OAI / oascomply

Apache License 2.0
21 stars 5 forks source link

Prune JSON Schema error reporting #40

Open handrews opened 1 year ago

handrews commented 1 year ago

JSON Schema standard error reporting is verbose (even when using the "basic" format, and more so with the more complex ones). oascomply should log the full error output ("detailed" or "verbose"?), at least on a high logging verbosity. But for the main error report, it should prune the output.

Ideas include:

handrews commented 10 months ago

One thing to do: "if" errors get included in the report, which is useful when figuring out why the wrong one of "then" vs "else" was selected, but they should be moved to a more supplemental area.