Skip to main content

security-property-redefined

Flags ordinary parameters that duplicate credentials supplied by an active security scheme.

AttributeValue
CategorySecurity
MaturityPlatinum
Lenient–StrictWarning
CompleteError

See it fail

security: [{ bearerAuth: [] }]
parameters:
- in: header
name: Authorization
schema: { type: string }

Bearer, Basic, OAuth2, and header/query API-key shapes are checked. Names compare case-insensitively.

Fix it

Remove the duplicate parameter; keep the security scheme as the credential definition.

Nearby: security-defined, no-apikey-in-query-parameters.