required-oauth-2-endpoint-url
Overview
This rule belongs to the apimatic-preliminary-validation
ruleset and states that:
The URL specified for an OAuth 2.0 endpoint must be a valid non-null, non-empty path relative to the OAuth server.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | OAuth 2.0 endpoint required URL is missing or invalid. |
Code | APIMATICPRE_V068 |
Type | Validation |
Rule System | Semantic |
Broad Category | Authentication |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary checks validation apimatic url server oauth 2.0 authentication server configuration api |
Suggested Fixes
- URL must be non-empty and non-null when using OAuth 2.0 authentication.
- URL must be a relative path starting with a leading forward slash "/".
- The endpoint must not contain URL fragments.