Skip to main content



This rule belongs to the swagger-v2-standards-validation ruleset and states that:

The security definitions keys are patterned fields that must have unique values within the Security Definitions Object. The keys represent the names of the security definitions that are available to be used in the specification.

Maximum SeverityError
MessageDuplicate entry found for security scheme name in the Security Definitions Object.
Rule SystemSemantic
Broad CategorySecurity Schemes
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsswagger2 swagger standards semantic validation name security scheme security definition security definition object

Suggested Fixes

  • Remove duplicate security definition name entries from the Security Definitions Object.
  • Security definition key value is compared in a case-sensitive manner.

For More Information