Skip to content

Commit f67c563

Browse files
committed
json-schema-validator version change
1 parent cbd9e27 commit f67c563

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<modelVersion>4.0.0</modelVersion>
2020
<groupId>com.mservicetech</groupId>
2121
<artifactId>openapi-schema-validation</artifactId>
22-
<version>1.0.1</version>
22+
<version>1.0.2</version>
2323
<packaging>jar</packaging>
2424
<description>openapi schema for openpai 3.*</description>
2525
<url>https://github.com/mservicetech/openapi-schema-validation</url>
@@ -56,7 +56,7 @@
5656
<properties>
5757
<java.version>11</java.version>
5858
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
59-
<version.json-schema-validator>1.0.29</version.json-schema-validator>
59+
<version.json-schema-validator>1.0.44</version.json-schema-validator>
6060
<version.light-4j>2.0.16</version.light-4j>
6161
<version.jackson>2.10.0</version.jackson>
6262
<version.slf4j>1.7.25</version.slf4j>

src/main/java/com/mservicetech/openapi/validation/OpenApiValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public class OpenApiValidator {
4949
*/
5050
public OpenApiValidator() {
5151
try {
52-
InputStream in = this.getClass().getResourceAsStream(OPENAPI_YML_CONFIG);
52+
InputStream in = this.getClass().getClassLoader().getResourceAsStream(OPENAPI_YML_CONFIG);
5353
if (in == null) {
5454
throw new IOException("cannot load openapi spec file");
5555
}

0 commit comments

Comments
 (0)