File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/com/mservicetech/openapi/validation Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 19
19
<modelVersion >4.0.0</modelVersion >
20
20
<groupId >com.mservicetech</groupId >
21
21
<artifactId >openapi-schema-validation</artifactId >
22
- <version >1.0.1 </version >
22
+ <version >1.0.2 </version >
23
23
<packaging >jar</packaging >
24
24
<description >openapi schema for openpai 3.*</description >
25
25
<url >https://github.com/mservicetech/openapi-schema-validation</url >
56
56
<properties >
57
57
<java .version>11</java .version>
58
58
<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>
60
60
<version .light-4j>2.0.16</version .light-4j>
61
61
<version .jackson>2.10.0</version .jackson>
62
62
<version .slf4j>1.7.25</version .slf4j>
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public class OpenApiValidator {
49
49
*/
50
50
public OpenApiValidator () {
51
51
try {
52
- InputStream in = this .getClass ().getResourceAsStream (OPENAPI_YML_CONFIG );
52
+ InputStream in = this .getClass ().getClassLoader (). getResourceAsStream (OPENAPI_YML_CONFIG );
53
53
if (in == null ) {
54
54
throw new IOException ("cannot load openapi spec file" );
55
55
}
You can’t perform that action at this time.
0 commit comments