unique-model-names
Overview
This rule belongs to the apimatic-codegen-validation
ruleset and states that:
Names of globally defined custom types/models must be unique.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Duplicate model name found. |
Code | APIMATICCODEGEN_V131 |
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 type custom type model complex model |
Suggested Fixes
- Remove duplicate models.
- Assign a unique name to the conflicting models and update references accordingly.
- Names are compared in a case-insensitive manner to prevent issues in Code Generation.