Skip to main content



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.

Maximum SeverityError
MessageDuplicate XML node names found in the fields marked as XML attributes of the custom type.
Rule SystemSemantic
Broad CategoryXML Attributes
Products ImpactedCode Generation, Developer Experience Portal
Tagsapimatic 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.

For More Information