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.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | XML wrapping is enabled for an entity which is not an array. |
Code | APIMATICPRE_V606 |
Type | Validation |
Rule System | Semantic |
Broad Category | XML Attributes |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary checks validation apimatic array xml |
Suggested Fixes
- Set the entity as an array.
- Disable XML wrapping.