We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fee155 commit 899f5e2Copy full SHA for 899f5e2
modules/swagger-parser-v3/src/main/java/io/swagger/v3/parser/util/OpenAPIDeserializer.java
@@ -2827,7 +2827,7 @@ at the moment path passed as string (basePath) from upper components can be both
2827
schema.setType(type);
2828
}
2829
2830
- if ("array".equals(schema.getType()) && !(schema instanceof ArraySchema && ((ArraySchema) schema).getItems() != null)) {
+ if ("array".equals(schema.getType()) && schema.getItems() == null) {
2831
result.missing(location, "items");
2832
2833
0 commit comments