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 45
45
<plugin >
46
46
<artifactId >maven-failsafe-plugin</artifactId >
47
47
<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 >
56
48
</plugin >
57
49
<plugin >
58
50
<groupId >org.eclipse.jetty</groupId >
69
61
<port >${jetty.http.port} </port >
70
62
</httpConnector >
71
63
</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 >
92
64
</plugin >
93
65
</plugins >
94
66
</build >
Original file line number Diff line number Diff line change @@ -61,10 +61,9 @@ public SchemaValidationError(JsonNode node) {
61
61
}
62
62
63
63
prop = node .get ("required" );
64
- if (prop != null ) {
64
+ if (prop != null && prop . isArray () ) {
65
65
ArrayNode an = (ArrayNode ) prop ;
66
66
}
67
-
68
67
}
69
68
70
69
public String getLevel () {
You can’t perform that action at this time.
0 commit comments