private boolean checkFile(MethodParameter methodParameter) {
		if (methodParameter.getParameterAnnotation(RequestPart.class) != null)
			return true;
		else if (methodParameter.getParameterAnnotation(RequestParam.class) != null) {
			return isFile(methodParameter.getParameterType());
		}
		return false;
	}
Check file boolean.

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