Skip to content

Commit

Permalink
fixes #510 try to reproduce the issue but failed
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehu committed Feb 15, 2022
1 parent 62f418f commit a015e31
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/test/java/com/networknt/schema/Issue510Test.java
Original file line number Diff line number Diff line change
@@ -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);
}
}

0 comments on commit a015e31

Please sign in to comment.