Skip to main content

required-authentication-parameters

Overview

This rule belongs to the apimatic-preliminary-validation ruleset and states that:

For some authentication types like "Custom Field", "Custom Query" and "Custom Header", one or more corresponding authentication parameters must be defined.

PropertyValue
EnabledYes
Maximum SeverityError
MessageCurrent authentication type requires one or more parameters to be defined, which are missing.
CodeAPIMATICPRE_V061
TypeValidation
Rule SystemSemantic
Broad CategoryAuthentication
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks validation apimatic authentication parameter api

Suggested Fixes

  • Define one or more parameters in the authentication section that correspond with the authentication type.
  • For each parameter, provide a name and optionally a default value.

For More Information