unique-case-insensitive-global-tag-name
Overview
This rule belongs to the openapi-v3-codegen-linting
ruleset and states that:
A duplicate tag name has been detected, indicating that there are multiple tag objects with the same name defined. Since tag names are compared in a case-insensitive manner, it is crucial that each tag object has a unique name.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Duplicate tag names found, ignoring case sensitivity. |
Code | OPENAPI3CODEGEN_L580 |
Type | Linting |
Rule System | Semantic |
Broad Category | OpenAPI Tags |
Products Impacted | Code Generation, Developer Experience Portal |
Tags | code generation sdks openapi3 openapi semantic linting apimatic tag name unique duplicate case-insensitive |
Suggested Fixes
- Remove duplicate tags.
- Names are compared in a case-insensitive manner to prevent issues during Code Generation.
- Operations are grouped with tags. Make sure they are unique.