diff --git a/src/test/java/com/networknt/schema/Issue510Test.java b/src/test/java/com/networknt/schema/Issue510Test.java new file mode 100644 index 000000000..6b251e34d --- /dev/null +++ b/src/test/java/com/networknt/schema/Issue510Test.java @@ -0,0 +1,13 @@ +package com.networknt.schema; + +import com.fasterxml.jackson.databind.ObjectMapper; +import org.junit.jupiter.api.Test; + +public class Issue510Test { + @Test + public void testIssue510() { + ObjectMapper objectMapper = new ObjectMapper(); + JsonSchemaFactory schemaFactory = JsonSchemaFactory.builder(JsonSchemaFactory.getInstance(SpecVersion.VersionFlag.V201909)).objectMapper(objectMapper).build(); + System.out.println("schemaFactory = " + schemaFactory); + } +}