Skip to content

Commit 22117b0

Browse files
committed
Depend on -validator 2.2.5
Signed-off-by: Francis Galiegue <[email protected]>
1 parent abf401c commit 22117b0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

project.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* Project-specific settings. Unfortunately we cannot put the name in there!
2121
*/
2222
group = "com.github.fge";
23-
version = "0.8";
23+
version = "0.8.1-SNAPSHOT";
2424
sourceCompatibility = "1.6";
2525
targetCompatibility = "1.6"; // defaults to sourceCompatibility
2626

@@ -33,7 +33,7 @@ project.ext {
3333
*/
3434
dependencies {
3535
compile(group: "com.github.fge", name: "json-schema-validator",
36-
version: "2.2.3");
36+
version: "2.2.5");
3737
compile(group: "com.github.reinert", name: "jjschema", version: "0.6") {
3838
exclude(group: "com.google.guava", module: "guava");
3939
exclude(group: "com.fasterxml.jackson.core", module: "jackson-core");
@@ -46,7 +46,7 @@ dependencies {
4646
}
4747
compile(group: "com.github.fge", name: "json-schema-avro",
4848
version: "0.1.4");
49-
compile(group: "com.github.fge", name: "json-patch", version: "1.6");
49+
compile(group: "com.github.fge", name: "json-patch", version: "1.7");
5050
testCompile(group: "org.testng", name: "testng", version: "6.8.7") {
5151
exclude(group: "junit", module: "junit");
5252
exclude(group: "org.beanshell", module: "bsh");

src/main/java/com/github/fge/jjschema/JJSchemaProcessor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import com.github.fge.jsonschema.core.report.ProcessingReport;
88
import com.github.fge.jsonschema.core.tree.CanonicalSchemaTree;
99
import com.github.fge.jsonschema.core.tree.SchemaTree;
10+
import com.github.fge.jsonschema.core.tree.key.SchemaKey;
1011
import com.github.reinert.jjschema.JsonSchemaGenerator;
1112
import com.github.reinert.jjschema.SchemaGeneratorBuilder;
1213

@@ -29,6 +30,6 @@ protected SchemaTree rawProcess(final ProcessingReport report,
2930
final ProcessingMessage message = newMessage(input);
3031
report.debug(message.setMessage("processing"));
3132
final JsonNode node = GENERATOR.generateSchema(input);
32-
return new CanonicalSchemaTree(node);
33+
return new CanonicalSchemaTree(SchemaKey.anonymousKey(), node);
3334
}
3435
}

0 commit comments

Comments
 (0)