File tree Expand file tree Collapse file tree 2 files changed +1
-30
lines changed
src/main/java/io/swagger/validator/models Expand file tree Collapse file tree 2 files changed +1
-30
lines changed Original file line number Diff line number Diff line change 4545 <plugin >
4646 <artifactId >maven-failsafe-plugin</artifactId >
4747 <version >2.19</version >
48- <executions >
49- <execution >
50- <goals >
51- <goal >integration-test</goal >
52- <goal >verify</goal >
53- </goals >
54- </execution >
55- </executions >
5648 </plugin >
5749 <plugin >
5850 <groupId >org.eclipse.jetty</groupId >
6961 <port >${jetty.http.port} </port >
7062 </httpConnector >
7163 </configuration >
72- <executions >
73- <execution >
74- <id >start-jetty</id >
75- <phase >pre-integration-test</phase >
76- <goals >
77- <goal >run</goal >
78- </goals >
79- <configuration >
80- <scanIntervalSeconds >0</scanIntervalSeconds >
81- <daemon >true</daemon >
82- </configuration >
83- </execution >
84- <execution >
85- <id >stop-jetty</id >
86- <phase >post-integration-test</phase >
87- <goals >
88- <goal >stop</goal >
89- </goals >
90- </execution >
91- </executions >
9264 </plugin >
9365 </plugins >
9466 </build >
Original file line number Diff line number Diff line change @@ -61,10 +61,9 @@ public SchemaValidationError(JsonNode node) {
6161 }
6262
6363 prop = node .get ("required" );
64- if (prop != null ) {
64+ if (prop != null && prop . isArray () ) {
6565 ArrayNode an = (ArrayNode ) prop ;
6666 }
67-
6867 }
6968
7069 public String getLevel () {
You can’t perform that action at this time.
0 commit comments