unique-field-name
Overview
This rule belongs to the apimatic-codegen-validation
ruleset and states that:
Names of fields in a model must be unique.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Duplicate field name found in model. |
Code | APIMATICCODEGEN_V135 |
Type | Validation |
Rule System | Semantic |
Broad Category | Global Types/Models |
Products Impacted | Code Generation, Developer Experience Portal |
Tags | apimatic code generation codegen sdks portal docs validation apimatic name field property type custom type model complex model |
Suggested Fixes
- Remove duplicate fields.
- Names are compared in a case-insensitive manner to prevent issues in Code Generation.