dynamic-entity-cannot-be-array
Overview
This rule belongs to the apimatic-preliminary-validation
ruleset and states that:
If an entity has the type "Dynamic", it cannot be declared as an array.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Dynamic typed entity marked as an array which is not allowed. |
Code | APIMATICPRE_V407 |
Type | Validation |
Rule System | Semantic |
Broad Category | Types |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary checks validation apimatic array dynamic type |
Suggested Fixes
- To continue using "Dynamic" type, mark the entity as non-array.
- Change current type to one that supports arrays.