Skip to content

Commit a015e31

Browse files
committed
fixes #510 try to reproduce the issue but failed
1 parent 62f418f commit a015e31

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.networknt.schema;
2+
3+
import com.fasterxml.jackson.databind.ObjectMapper;
4+
import org.junit.jupiter.api.Test;
5+
6+
public class Issue510Test {
7+
@Test
8+
public void testIssue510() {
9+
ObjectMapper objectMapper = new ObjectMapper();
10+
JsonSchemaFactory schemaFactory = JsonSchemaFactory.builder(JsonSchemaFactory.getInstance(SpecVersion.VersionFlag.V201909)).objectMapper(objectMapper).build();
11+
System.out.println("schemaFactory = " + schemaFactory);
12+
}
13+
}

0 commit comments

Comments
 (0)