valid-api-base-url
Overview
This rule belongs to the apimatic-codegen-validation ruleset and states that:
The Base URL specified for the API must be a non-empty non-null absolute URL.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Base URL is invalid. |
| Code | APIMATICCODEGEN_V031 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Server Configuration |
| Products Impacted | Code Generation, Developer Experience Portal |
| Tags | apimatic code generation codegen sdks portal docs validation apimatic base url api |
Suggested Fixes
- URL must be non-empty and non-null.
- Do not use relative paths for base URL. URL must be absolute.
- The URL should contain the protocol/scheme (e.g. http) and the host path.