unique-element-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 elements 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 elements of the custom type. |
Code | APIMATICCODEGEN_V007 |
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 element xml field type custom type model complex model |
Suggested Fixes
- Ensure that all fields of the complex model marked as XML elements have unique XML node names assigned to them.
- Remove fields with conflicting XML node names.