Skip to main content

valid-authentication-scheme-name

Overview

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

Authentication scheme key name must be non-null, non-empty and use only letters, numbers, dashes, underscores or dots.

PropertyValue
EnabledYes
Maximum SeverityError
MessageAuthentication scheme name is invalid.
CodeAPIMATICPRE_V070
TypeValidation
Rule SystemSemantic
Broad CategoryAuthentication
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks validation apimatic authentication key authentication name authentication scheme authentication

Suggested Fixes

  • Make sure that the authentication scheme key name is not null or empty.
  • Ensure that the authentication scheme key name follows the regex pattern ^[a-zA-Z0-9.-_]+$
  • An authentication scheme key name can only use letters, numbers, dashes, underscores and dots.