unique-schema-title
Overview
This rule belongs to the openapi-v3-apimatic-linting
ruleset and states that:
Duplicate schema titles have been found, which can lead to confusion and potential conflicts. Each schema within the API specification must have a unique title.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Duplicate schema title found. |
Code | OPENAPI3APIMATIC_L663 |
Type | Linting |
Rule System | Semantic |
Broad Category | OpenAPI Schemas |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | openapi3 openapi apimatic semantic linting unique schema title duplicate name |
Suggested Fixes
- Remove duplicate schemas.
- If your schema entry is an alias definition, ensure that the alias resolves into a concrete schema definition.
- Assign a unique name to the conflicting schemas and update references accordingly.
- Schemas are compared in a case-sensitive manner.