Skip to content

Commit

Permalink
Bump com.networknt:json-schema-validator from 1.1.0 to 1.3.3 (#3547)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
dependabot[bot] and JonasKunz authored Mar 11, 2024
1 parent 9a97f78 commit cb50984
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
import com.fasterxml.jackson.databind.ObjectMapper;
import com.networknt.schema.JsonSchema;
import com.networknt.schema.JsonSchemaFactory;
import com.networknt.schema.SpecVersion;
import com.networknt.schema.ValidationMessage;
import org.awaitility.core.ThrowingRunnable;
import org.stagemonitor.configuration.ConfigurationRegistry;
Expand Down Expand Up @@ -810,7 +811,7 @@ private enum SchemaInstance {

private static JsonSchema getSchema(String resource) {
InputStream input = Objects.requireNonNull(MockReporter.class.getResourceAsStream(resource), "missing resource " + resource);
return JsonSchemaFactory.getInstance().getSchema(input);
return JsonSchemaFactory.getInstance(SpecVersion.VersionFlag.V4).getSchema(input);
}
}

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
<version.ecs.logging>1.5.0</version.ecs.logging>
<version.spring>5.0.15.RELEASE</version.spring>
<version.jetty-server>9.4.11.v20180605</version.jetty-server>
<version.json-schema-validator>1.1.0</version.json-schema-validator>
<version.json-schema-validator>1.3.3</version.json-schema-validator>
<!-- Byte Buddy and ASM must be kept in sync -->
<version.byte-buddy>1.14.12</version.byte-buddy>
<version.asm>9.6</version.asm>
Expand Down

0 comments on commit cb50984

Please sign in to comment.