unique-tag-name
Overview
This rule belongs to the swagger-v2-standards-validation
ruleset and states that:
The list of root Swagger Object level tags
must have a unique name assigned to them in the Tag Object definition using the name
property.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Duplicate name for tag found. |
Code | SWAGGER20STANDARDS_V261 |
Type | Validation |
Rule System | Semantic |
Broad Category | Tags |
Products Impacted | API Transformer, Code Generation, Developer Experience Portal |
Tags | swagger2 swagger standards semantic validation name tags tag |
Suggested Fixes
- Make sure that all Tag Object definitions in the
tags
list have unique names assigned to them. - Remove entries of tags that have equal names.
- Tag names are compared in a case-sensitive manner.