public void header(String name, String value) {
		if (HttpHeaders.ACCEPT.equals(name))
			calculateHeader(value, this.produces, name);
		else if (HttpHeaders.CONTENT_TYPE.equals(name))
			calculateHeader(value, this.consumes, name);
		else
			currentRouterFunctionDatas.forEach(routerFunctionData -> routerFunctionData.addHeaders(name + "=" + value));
	}
Header.

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