valid-server-parameter-type
Overview
This rule belongs to the apimatic-preliminary-validation ruleset and states that:
Valid types for a server parameter include "String", "Number" and a String/Number enumeration. No other types must be used.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Server parameter has an invalid type. |
| Code | APIMATICPRE_V048 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Server Configuration Parameters |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | preliminary checks validation apimatic type parameter template path server server configuration api |
Suggested Fixes
- Make sure the server parameter uses a string or number type only.
- Object or array types are not allowed for server parameters.