server-parameter-cannot-be-array
Overview
This rule belongs to the apimatic-post-processing-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. Array type server parameters will be automatically converted to non-array entities.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Warning |
Message | Server URL parameter declared as an array has been marked as a non-array entity. |
Code | APIMATICPOSTPROCESS_V001 |
Type | Validation |
Rule System | Semantic |
Broad Category | Server Configuration |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | apimatic postprocessing validation array type parameter server configuration api |
Suggested Fixes
- Use only supported types for server configuration parameters, to avoid this issue: string, number, enumeration