Skip to content

Commit 812f769

Browse files
committed
Main: do deep validation by default on non brief or quiet reports
Reports are HUGE as a result, but... Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>
1 parent acd23a7 commit 812f769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/github/fge/jsonschema/main/cli/Reporters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public RetCode validateInstance(final JsonSchema schema,
5757
throws IOException, ProcessingException
5858
{
5959
final ListProcessingReport report
60-
= (ListProcessingReport) schema.validate(node);
60+
= (ListProcessingReport) schema.validate(node, true);
6161
final boolean success = report.isSuccess();
6262
System.out.println("--- BEGIN " + fileName + "---");
6363
System.out.println("validation: " + (success ? "SUCCESS"

0 commit comments

Comments
 (0)