server-parameter-cannot-be-map-object
Overview
This rule belongs to the apimatic-preliminary-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.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Server URL parameter declared as a map/object which is not allowed. |
Code | APIMATICPRE_V052 |
Type | Validation |
Rule System | Semantic |
Broad Category | Server Configuration Parameters |
Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
Tags | preliminary checks validation apimatic map object type parameter server configuration api |
Suggested Fixes
- Change the type to one of the supported types: string, number, enumeration