This rule belongs to the
apimatic-codegen-validation ruleset and states that:
Use of complex model types for non-body parameters (template, header) is currently not supported. Only enumeration or primitive types are allowed.
|Message||Endpoint has a parameter of a type which cannot be serialized.|
|Broad Category||Endpoint Parameters|
|Products Impacted||Code Generation, Developer Experience Portal|
- Avoid use of complex models for parameters that are not sent in the request body.