OpenAPI Security Schemes API Keys Type 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 type of apiKey set.

OpenAPISecurityDefault

Rule Definition

openapi-security-schemes-api-key-type-info.yaml
{"openapi-security-schemes-api-key-type-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 type of apiKey set.","message":"Components Have a Security Schemes API Keys Type","severity":"info","given":"$.components.securitySchemes.apiKeys","then":[{"field":"type","function":"pattern","functionOptions":{"notMatch":"\\b(apiKey)\\b"}}]}}

Back to All of the Rules