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.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | The entity is marked as an XML entity but the node name is missing. |
| Code | APIMATICPRE_V602 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | XML Attributes |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | preliminary 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.