Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageDynamic typed entity marked as an array has been converted to a non-array entity.
CodeAPIMATICPOSTPROCESS_V352
TypeValidation
Rule SystemSemantic
Broad CategoryTypes
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagsapimatic 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.

For More Information