From bb26b059a19b345e9ec36134fc4f1cfe4e3ba725 Mon Sep 17 00:00:00 2001 From: Andrew Omondi Date: Mon, 4 Nov 2024 09:54:07 +0300 Subject: [PATCH] fix intergration tests --- .../SearchProviders/OpenApiSpec/OpenApiSpecSeachProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kiota.Builder/SearchProviders/OpenApiSpec/OpenApiSpecSeachProvider.cs b/src/Kiota.Builder/SearchProviders/OpenApiSpec/OpenApiSpecSeachProvider.cs index 74a6a4c2a4..9d6bca4ea7 100644 --- a/src/Kiota.Builder/SearchProviders/OpenApiSpec/OpenApiSpecSeachProvider.cs +++ b/src/Kiota.Builder/SearchProviders/OpenApiSpec/OpenApiSpecSeachProvider.cs @@ -17,7 +17,7 @@ public Task> SearchAsync(string term, string? if (term.Split(termSeparator, StringSplitOptions.RemoveEmptyEntries).Any(Keywords.Contains)) { return Task.FromResult>(new Dictionary { - { "petstore", new SearchResult(ApiTitle, ApiDescription, new Uri("https://petstore.swagger.io/v1"), new Uri("https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.yaml"), new List { "1.0.0" }) } + { "petstore", new SearchResult(ApiTitle, ApiDescription, new Uri("https://petstore.swagger.io/v1"), new Uri("https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/tests/v3.0/pass/petstore.yaml"), new List { "1.0.0" }) } }); } return Task.FromResult>(new Dictionary());