From fbfd05da80811d903a4a4210c2eb01ac1daf127f Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 8 Jan 2025 09:43:38 -0500 Subject: [PATCH] chore; upgrades plugin manifest lib to align oai.net versions Signed-off-by: Vincent Biret --- src/Kiota.Builder/Kiota.Builder.csproj | 2 +- .../Plugins/PluginsGenerationServiceTests.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Kiota.Builder/Kiota.Builder.csproj b/src/Kiota.Builder/Kiota.Builder.csproj index d4208ba545..4d19956f95 100644 --- a/src/Kiota.Builder/Kiota.Builder.csproj +++ b/src/Kiota.Builder/Kiota.Builder.csproj @@ -47,7 +47,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/tests/Kiota.Builder.Tests/Plugins/PluginsGenerationServiceTests.cs b/tests/Kiota.Builder.Tests/Plugins/PluginsGenerationServiceTests.cs index 15d39158c0..db7d7b1072 100644 --- a/tests/Kiota.Builder.Tests/Plugins/PluginsGenerationServiceTests.cs +++ b/tests/Kiota.Builder.Tests/Plugins/PluginsGenerationServiceTests.cs @@ -279,7 +279,7 @@ public async Task GeneratesManifestAndCleansUpInputDescriptionAsync() // Validate the output open api file using var resultOpenApiFile = File.OpenRead(Path.Combine(outputDirectory, OpenApiFileName)); - var resultResult = await OpenApiDocument.LoadAsync(originalOpenApiFile, "yaml"); + var resultResult = await OpenApiDocument.LoadAsync(resultOpenApiFile, "yaml"); var resultDocument = resultResult.Document; Assert.Empty(resultResult.Diagnostic.Errors); @@ -521,7 +521,7 @@ public async Task GeneratesManifestWithAuthAsync(string securitySchemesComponent // Cleanup try { - Directory.Delete(outputDirectory); + Directory.Delete(outputDirectory, true); } catch (Exception) {