private void calculateHeader(String value, List<String> headers, String header) {
		if (value.contains(",")) {
			String[] mediaTypes = value.substring(1, value.length() - 1).split(", ");
			for (String mediaType : mediaTypes)
				if (CollectionUtils.isEmpty(currentRouterFunctionDatas))
					headers.add(mediaType);
				else
					currentRouterFunctionDatas.forEach(routerFunctionData -> addHeader(mediaType, header, routerFunctionData));
		}
		else {
			if (CollectionUtils.isEmpty(currentRouterFunctionDatas))
				headers.add(value);
			else
				currentRouterFunctionDatas.forEach(routerFunctionData -> addHeader(value, header, routerFunctionData));
		}
	}
Calculate header.

@param value   the value
@param headers the headers
@param header  the header
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/fn/AbstractRouterFunctionVisitor.java