Skip to main content

non-empty-api-key-security-parameter-name

Overview

This rule belongs to the openapi-v3-apimatic-linting ruleset and states that:

The name property is used to identify the parameter or header that contains the API key. The name property of an API key security scheme must not be empty or null.

PropertyValue
EnabledYes
Maximum SeverityError
MessageThe name property of an API key security scheme is empty or null.
CodeOPENAPI3APIMATIC_L870
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Security Schemes
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting empty api key security parameter name

Suggested Fixes

  • Make sure to provide a valid parameter name for the API key security scheme.

For More Information