unique-attribute-xml-node-names-in-model
Overview
This rule belongs to the apimatic-codegen-validation ruleset and states that:
The XML node names assigned to fields marked as XML attributes in a model must be unique.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Duplicate XML node names found in the fields marked as XML attributes of the custom type. |
| Code | APIMATICCODEGEN_V008 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | XML Attributes |
| Products Impacted | Code Generation, Developer Experience Portal |
| Tags | apimatic code generation codegen sdks portal docs validation apimatic xml node name xml attribute xml field type custom type model complex model |
Suggested Fixes
- Ensure that all fields of the complex model marked as XML attributes have unique XML node names assigned to them.
- Remove fields with conflicting XML node names.