OpenAPI Security Schemes API Keys In Header Info (Edit)

Having components security schemes which possesses an api-key property that allows to configure how API keys are applied to operations have a in of header set.

OpenAPISecurityDefault

Rule Definition

openapi-security-schemes-api-key-info.yaml
{"openapi-security-schemes-api-key-in-info":{"description":"Having components security schemes which possesses an api-key property that allows to configure how API keys are applied to operations have a in of header set.","message":"Components Have a Security Schemes API Keys In Header","severity":"info","given":"$.components.securitySchemes.apiKeys","then":[{"field":"in","function":"pattern","functionOptions":{"notMatch":"\\b(header)\\b"}}]}}

Back to All of the Rules