authentication-scheme-referenced-by-auth-option
Overview
This rule belongs to the apimatic-post-processing-validation
ruleset and states that:
A valid authentication option must reference at least one or more predefined authentication schemes depending on the option type. A single authentication option type can only reference one authentication scheme while a group authentication option can consist of two or more authentication schemes. An option that does not reference any authentication scheme will be considered an invalid option and automatically removed from the list of available options.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Warning |
Message | Authentication option does not reference any authentication scheme and has been removed from the list of applicable authentication options. |
Code | APIMATICPOSTPROCESS_V107 |
Type | Validation |
Rule System | Semantic |
Broad Category | Authentication |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | apimatic postprocessing validation authentication option single authentication option group authentication option authentication scheme authentication |
Suggested Fixes
- For single auth option, make sure that the authentication applied is not null or invalid.
- For group auth option, make sure that the list of authentication schemes that need to be applied is not empty or null or consists of any invalid scheme.