Skip to main content

no-xml-wrapping-for-non-array-entity

Overview

This rule belongs to the apimatic-preliminary-validation ruleset and states that:

XML wrapping cannot be used for non-array entities.

PropertyValue
EnabledYes
Maximum SeverityError
MessageXML wrapping is enabled for an entity which is not an array.
CodeAPIMATICPRE_V606
TypeValidation
Rule SystemSemantic
Broad CategoryXML Attributes
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks validation apimatic array xml

Suggested Fixes

  • Set the entity as an array.
  • Disable XML wrapping.