Skip to main content

required-node-name-for-xml-entity

Overview

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

An entity marked as an XML entity must declare a non-empty and non-null XML node name.

PropertyValue
EnabledYes
Maximum SeverityError
MessageThe entity is marked as an XML entity but the node name is missing.
CodeAPIMATICPRE_V602
TypeValidation
Rule SystemSemantic
Broad CategoryXML Attributes
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks validation apimatic name xml node name xml

Suggested Fixes

  • Set a valid XML node name for this entity.
  • Set the entity as a non-XML entity.
  • Make sure the XML node name is not empty or null.