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