predefined-endpoint-path-template-parameter
Overview
This rule belongs to the apimatic-preliminary-validation ruleset and states that:
All path/template parameters present in the endpoint relative route must have a corresponding definition in the endpoint.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Endpoint route requires a parameter which is undefined. |
| Code | APIMATICPRE_V201 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Endpoint Parameters |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | preliminary checks validation apimatic parameter template path endpoint |
Suggested Fixes
- Make sure all your path/template parameters specified within the endpoint relative route/path are defined in the endpoint to avoid this issue.