private static IList <SearchResult> FindOperations(OpenApiDocument sourceDocument, Func <string, OperationType?, OpenApiOperation, bool> predicate)
        {
            var search = new OperationSearch(predicate);
            var walker = new OpenApiWalker(search);

            walker.Walk(sourceDocument);
            return(search.SearchResults);
        }
        private static IList <SearchResult> FindOperations(OpenApiDocument graphOpenApi, Func <OpenApiOperation, bool> predicate)
        {
            var search = new OperationSearch(predicate);
            var walker = new OpenApiWalker(search);

            walker.Walk(graphOpenApi);
            return(search.SearchResults);
        }