Header cannot be a JSON reference pointing outside '#/components/headers'

Issue ID: v3-validation-reference-header

Description

One or more JSON references to reusable headers in your API point outside the #/components/headers object in the API definition. The $ref of all reusable headers must point to a header object in the components object, otherwise they have no effect.

For more details, see the OpenAPI Specification.

Remediation

Make sure that all JSON references to reusable headers point to #/components/headers.