server-parameter-cannot-be-array
Overview
This rule belongs to the apimatic-preliminary-validation
ruleset and states that:
Server URL parameters cannot be declared as arrays. Only primitive types like string, number or string/number enumeration types are allowed.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Server URL parameter declared as an array which is not allowed. |
Code | APIMATICPRE_V051 |
Type | Validation |
Rule System | Semantic |
Broad Category | Server Configuration Parameters |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary checks validation apimatic array type parameter server configuration api |
Suggested Fixes
- Change the type to one of the supported types: string, number, enumeration