public boolean isFile(MethodParameter methodParameter) {
		if (methodParameter.getGenericParameterType() instanceof ParameterizedType) {
			ParameterizedType parameterizedType = (ParameterizedType) methodParameter.getGenericParameterType();
			return isFile(parameterizedType);
		}
		else {
			Class type = methodParameter.getParameterType();
			return isFile(type);
		}
	}
Is file boolean.

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