public static Optional<Map<String, Header>> getHeaders(io.swagger.v3.oas.annotations.headers.Header[] annotationHeaders, Components components, JsonView jsonViewAnnotation, boolean openapi31) {
		Optional<Map<String, Header>> headerMap = AnnotationsUtils.getHeaders(annotationHeaders, components, jsonViewAnnotation, openapi31);
		if (openapi31) {
			headerMap.ifPresent(map -> {
				for (Entry<String, Header> entry : map.entrySet()) {
					Header header = entry.getValue();
					Schema schema = header.getSchema();
					handleSchemaTypes(schema);
				}
			});
		}
		return headerMap;
	}
Resolve default value object.

@param defaultValueStr the default value str
@param objectMapper    the object mapper
@return the object
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/utils/SpringDocAnnotationsUtils.java