private void calculateHeader(ApiResponse apiResponseObject) {
		Map<String, Header> headers = apiResponseObject.getHeaders();
		if (!CollectionUtils.isEmpty(headers)) {
			for (Map.Entry<String, Header> entry : headers.entrySet()) {
				Header header = entry.getValue();
				if (header.getSchema() == null) {
					Schema<?> schema = AnnotationsUtils.resolveSchemaFromType(String.class, null, null, propertyResolverUtils.isOpenapi31());
					header.setSchema(schema);
					entry.setValue(header);
				}
			}
		}
	}
Calculate header.

@param apiResponseObject the api response object
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/service/OperationService.java