entity-cannot-be-xml-attribute
Overview
This rule belongs to the apimatic-preliminary-validation
ruleset and states that:
The current entity type cannot qualify as an XML attribute and therefore can only be marked as an XML element.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Entity cannot be marked as an XML attribute but is still set as one. |
Code | APIMATICPRE_V607 |
Type | Validation |
Rule System | Semantic |
Broad Category | XML Attributes |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary checks validation apimatic attribute xml attribute xml |
Suggested Fixes
- Disable the "IsAttribute" flag for the entity in its XML attributes.