When accessing the Headers property on OpenApiResponse, if the header is a reference to components then it isn't pre-resolved. It is necessary to call (OpenApiHeader)document.ResolveReference(response.Headers['header'].Reference) manually to get details about the header.