private void addHeader(String mediaType, String header, RouterFunctionData routerFunctionData) {
		if (HttpHeaders.CONTENT_TYPE.equals(header))
			routerFunctionData.addConsumes(mediaType);
		else if (HttpHeaders.ACCEPT.equals(header))
			routerFunctionData.addProduces(mediaType);
	}
Add header.

@param mediaType          the media type
@param header             the header
@param routerFunctionData the router function data
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/fn/AbstractRouterFunctionVisitor.java