protected RouterOperation getRouterFunctionPaths(String beanName, RequestMethod requestMethod) {
		RouterOperations routerOperations = applicationContext.findAnnotationOnBean(beanName, RouterOperations.class);
		RouterOperation routerOperationResult = null;
		if (routerOperations == null) {
			org.springdoc.core.annotations.RouterOperation routerOperation = applicationContext.findAnnotationOnBean(beanName, org.springdoc.core.annotations.RouterOperation.class);
			if (routerOperation != null)
				routerOperationResult = new RouterOperation(routerOperation);
		}
		else {
			org.springdoc.core.annotations.RouterOperation[] routerOperationArray = routerOperations.value();
			if (ArrayUtils.isNotEmpty(routerOperationArray)) {
				if (routerOperationArray.length == 1)
					routerOperationResult = new RouterOperation(routerOperationArray[0]);
				else {
					Optional<org.springdoc.core.annotations.RouterOperation> routerOperationOptional = Arrays.stream(routerOperationArray)
							.filter(routerOperation -> Arrays.asList(routerOperation.method()).contains(requestMethod)).findAny();
					if (routerOperationOptional.isPresent())
						routerOperationResult = new RouterOperation(routerOperationOptional.get(), requestMethod);
				}
			}
		}
		return routerOperationResult;
	}
Gets router function paths.

@param beanName      the bean name
@param requestMethod the request method
@return the router function paths
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/providers/SpringCloudFunctionProvider.java