oasDuplicationDescription
oasDescriptionDuplication
will check each description
found in the specification and
creates a hash of it.
Hashes are then checked for equality, if the hashes match, the content is identical and a violation is triggered.
Example ruleset configuration
description-duplication:
description: "Check descriptions for duplicates"
type: "validation"
recommended: true
severity: "info"
given: "$"
then:
function: "oasDescriptionDuplication"
The function is used by the description-duplication Rule