required-items-of-array-type-items
Overview
This rule belongs to the swagger-v2-standards-validation
ruleset and states that:
The Items Object of type array
must specify items for the internal array using items
property. This property describes the type of items in the internal array.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Required items property of array type Items Object is missing. |
Code | SWAGGER20STANDARDS_V152 |
Type | Validation |
Rule System | Semantic |
Broad Category | Array Items |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | swagger2 swagger standards semantic validation array items items object type |
Suggested Fixes
- Add missing
items
property in the Items object. - Ensure that the
items
property provides a valid Items Object definition and is not set as null.