server-parameter-cannot-be-constant
Overview
This rule belongs to the apimatic-preliminary-validation ruleset and states that:
Server URL parameter cannot be declared as read-only or constant.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Server URL parameter declared as read-only which is not allowed. |
| Code | APIMATICPRE_V053 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Server Configuration Parameters |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | preliminary checks validation apimatic constant read only parameter server configuration api |
Suggested Fixes
- Remove any attributes of the server URL parameter that makes it read-only/constant.