A header MUST contain either schema or content, but not both.
schema
content
https://spec.openapis.org/oas/v3.2.1.html#header-object
A header MUST contain either
schemaorcontent, but not both.