In my case, we will get multiple X-Forwarded-For header values. I am using this header type as array and style as simple in parameters of yaml. But i am getting error when i pass multiple values.
OASValidation OAS.Validate with resource "oas://OAS.Validate.yaml": failed with reason: "[ERROR - Parameter 'X-Forwarded-For' expected an array style of 'simple' [explode=false].: []]"
X-Forwarded-For
1.2.3.4,5.6.7.8 |
Yaml ::
- name: X-Forwarded-For
in: header
description: ''
schema:
type: array
items:
type: string
style: simple
explode: false
I have tried removing explode and also changing the explode to true but no luck.
Could someone guide me on this please?