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 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 >
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>
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments