Skip to main content

no-array-header-parameters

Overview

This rule belongs to the apimatic-codegen-validation ruleset and states that:

A header parameter cannot be set as an array.

PropertyValue
EnabledYes
Maximum SeverityError
MessageHeader parameter has been set as an array which is not allowed.
CodeAPIMATICCODEGEN_V074
TypeValidation
Rule SystemSemantic
Broad CategoryEndpoint Parameters
Products ImpactedCode Generation, Developer Experience Portal
Tagsapimatic code generation codegen sdks portal docs validation apimatic header parameter endpoint

Suggested Fixes

  • Mark the parameter as a non-array entity.
  • Change the parameter format to one other than "Header".

For More Information