Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityError
MessageDuplicate schema title found, ignoring case sensitivity.
CodeOPENAPI3CODEGEN_L610
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Schemas
Products ImpactedCode Generation, Developer Experience Portal
Tagscode 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.

For More Information