predefined-server-template-parameter
Overview
This rule belongs to the apimatic-preliminary-validation
ruleset and states that:
A template parameter referenced by a server must have a corresponding definition in the server configuration parameters.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Server template parameter has a missing definition. |
Code | APIMATICPRE_V046 |
Type | Validation |
Rule System | Semantic |
Broad Category | Server Configuration Parameters |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary checks validation apimatic parameter template path server server configuration api |
Suggested Fixes
- Explicitly define all template parameters used by the server in the server configuration parameters.
- Remove the parameter reference from the server URL.