private boolean isHeaderToIgnore(MethodParameter methodParameter) {
		RequestHeader requestHeader = methodParameter.getParameterAnnotation(RequestHeader.class);
		return requestHeader != null && HttpHeaders.ACCEPT.equals(requestHeader.value());
	}
Is header to ignore boolean.

@param methodParameter the method parameter
@return the boolean
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/data/DataRestRequestService.java