Header is not an array, the 'items' property must not be defined

Description

The header in question is not an array, but you have defined the items property for it. Non-array headers must not have the items property defined.

For more details, see the OpenAPI Specification.

Example

The following is an example of how this issue could look in your API definition:

...
  "headers": {
    "x-ids": {
      "schema": {
        "type": "integer",
        "items": {
          ...
        }
      }
    }
  }
...
}

Remediation

Make sure that non-array headers do not have the items property defined.

...
  "headers": {
    "x-ids": {
      "schema": {
        "type": "integer"
      }
    }
  }
...
}