valid-endpoint-relative-route
Overview
This rule belongs to the apimatic-preliminary-validation ruleset and states that:
Endpoint route must be a relative path to the base server URL and begin with a leading forward slash "/". It must also consist of valid path segments.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Endpoint route is invalid. |
| Code | APIMATICPRE_V102 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Endpoints |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | preliminary checks validation apimatic route path endpoint |
Suggested Fixes
- Make sure your endpoint route/path begins with a forward slash.
- Make sure that the route does not contain any forbidden characters.
- Use curly braces "{", "}" for any template/path parameters.