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.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Current authentication type requires one or more parameters to be defined, which are missing. |
Code | APIMATICPRE_V061 |
Type | Validation |
Rule System | Semantic |
Broad Category | Authentication |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary 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.