unique-case-insensitive-schema-title
Overview
This rule belongs to the openapi-v3-codegen-linting
ruleset and states that:
A duplicate schema title has been detected, indicating that there are multiple schemas with the same title. Since titles are compared in a case-insensitive manner, it is important that each title in an schema object is unique.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Duplicate schema title found, ignoring case sensitivity. |
Code | OPENAPI3CODEGEN_L610 |
Type | Linting |
Rule System | Semantic |
Broad Category | OpenAPI Schemas |
Products Impacted | Code Generation, Developer Experience Portal |
Tags | code generation sdks openapi3 openapi semantic linting apimatic schema title unique duplicate case-insensitive |
Suggested Fixes
- Remove duplicate titles.
- Assign a unique title to the conflicting schema.
- Titles are compared in a case-insensitive manner to prevent issues in Code Generation.