Skip to content

Commit cb50984

Browse files
Bump com.networknt:json-schema-validator from 1.1.0 to 1.3.3 (#3547)
* Bump com.networknt:json-schema-validator from 1.1.0 to 1.3.3 Bumps [com.networknt:json-schema-validator](https://github.com/networknt/json-schema-validator) from 1.1.0 to 1.3.3. - [Release notes](https://github.com/networknt/json-schema-validator/releases) - [Changelog](https://github.com/networknt/json-schema-validator/blob/master/CHANGELOG.md) - [Commits](networknt/json-schema-validator@1.1.0...1.3.3) --- updated-dependencies: - dependency-name: com.networknt:json-schema-validator dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Fix compilation * Fix schema version --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jonas Kunz <[email protected]>
1 parent 9a97f78 commit cb50984

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

apm-agent-core/src/test/java/co/elastic/apm/agent/MockReporter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
import com.fasterxml.jackson.databind.ObjectMapper;
4141
import com.networknt.schema.JsonSchema;
4242
import com.networknt.schema.JsonSchemaFactory;
43+
import com.networknt.schema.SpecVersion;
4344
import com.networknt.schema.ValidationMessage;
4445
import org.awaitility.core.ThrowingRunnable;
4546
import org.stagemonitor.configuration.ConfigurationRegistry;
@@ -810,7 +811,7 @@ private enum SchemaInstance {
810811

811812
private static JsonSchema getSchema(String resource) {
812813
InputStream input = Objects.requireNonNull(MockReporter.class.getResourceAsStream(resource), "missing resource " + resource);
813-
return JsonSchemaFactory.getInstance().getSchema(input);
814+
return JsonSchemaFactory.getInstance(SpecVersion.VersionFlag.V4).getSchema(input);
814815
}
815816
}
816817

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
<version.ecs.logging>1.5.0</version.ecs.logging>
130130
<version.spring>5.0.15.RELEASE</version.spring>
131131
<version.jetty-server>9.4.11.v20180605</version.jetty-server>
132-
<version.json-schema-validator>1.1.0</version.json-schema-validator>
132+
<version.json-schema-validator>1.3.3</version.json-schema-validator>
133133
<!-- Byte Buddy and ASM must be kept in sync -->
134134
<version.byte-buddy>1.14.12</version.byte-buddy>
135135
<version.asm>9.6</version.asm>

0 commit comments

Comments
 (0)