non-empty-schema-enum-value
Overview
This rule belongs to the openapi-v3-apimatic-linting
ruleset and states that:
All items of an enumeration list must have a non-empty and non-null value. They represent the set of possible values of the enumeration and, therefore, cannot be empty or null.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Empty enumeration item found which is not allowed. |
Code | OPENAPI3APIMATIC_L696 |
Type | Linting |
Rule System | Semantic |
Broad Category | OpenAPI Schemas |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | openapi3 openapi apimatic semantic linting empty enum schema item entry |
Suggested Fixes
- Make sure that no enumeration item is null or empty.