Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityError
MessageDynamic typed entity marked as an array which is not allowed.
CodeAPIMATICPRE_V407
TypeValidation
Rule SystemSemantic
Broad CategoryTypes
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary 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.

For More Information