dynamic-entities-cannot-be-arrays
Overview
This rule belongs to the apimatic-post-processing-validation ruleset and states that:
If an entity has the type "Dynamic", it cannot be declared as an array. If it is marked as an array, it will be automatically converted to a non-array entity.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | Dynamic typed entity marked as an array has been converted to a non-array entity. |
| Code | APIMATICPOSTPROCESS_V352 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Types |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | apimatic postprocessing validation array dynamic type |
Suggested Fixes
- To continue using "Dynamic" type, do not declare the entity as an array.
- Change current type to one that supports arrays.