unique-path
Overview
This rule belongs to the swagger-v2-standards-validation
ruleset and states that:
Path keys are patterned fields that must have unique values within the Paths Object.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Duplicate path entry found. |
Code | SWAGGER20STANDARDS_V040 |
Type | Validation |
Rule System | Semantic |
Broad Category | Paths |
Products Impacted | API Transformer |
Tags | swagger2 swagger standards semantic validation paths path |
Suggested Fixes
- Remove duplicate path entries from the Paths Object.
- Path value is compared in a case-sensitive manner.