server-parameter-cannot-be-map-object
Overview
This rule belongs to the apimatic-post-processing-validation
ruleset and states that:
Server URL parameters cannot be declared as maps or objects. Only primitive types like string, number or string/number enumeration types are allowed. Map/object type server parameters will be automatically converted to primitive entities.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Warning |
Message | Server URL parameter declared as a map/object has been converted to a primitive entity. |
Code | APIMATICPOSTPROCESS_V002 |
Type | Validation |
Rule System | Semantic |
Broad Category | Server Configuration |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | apimatic postprocessing validation map object type parameter server configuration api |
Suggested Fixes
- Use only supported types for server configuration parameters, to avoid this issue: string, number, enumeration