Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityError
MessageDuplicate path entry found.
CodeSWAGGER20STANDARDS_V040
TypeValidation
Rule SystemSemantic
Broad CategoryPaths
Products ImpactedAPI Transformer
Tagsswagger2 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.

For More Information