Skip to content

Commit

Permalink
chore; upgrades plugin manifest lib to align oai.net versions
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Biret <[email protected]>
  • Loading branch information
baywet committed Jan 8, 2025
1 parent 6608a8d commit fbfd05d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Kiota.Builder/Kiota.Builder.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<PackageReference Include="Microsoft.OpenApi" Version="2.0.0-preview4" />
<PackageReference Include="Microsoft.OpenApi.ApiManifest" Version="0.6.0-preview" />
<PackageReference Include="Microsoft.OpenApi.Readers" Version="2.0.0-preview4" />
<PackageReference Include="Microsoft.Plugins.Manifest" Version="1.0.0-rc3" />
<PackageReference Include="Microsoft.Plugins.Manifest" Version="1.0.0-rc4" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.12.19">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -521,7 +521,7 @@ public async Task GeneratesManifestWithAuthAsync(string securitySchemesComponent
// Cleanup
try
{
Directory.Delete(outputDirectory);
Directory.Delete(outputDirectory, true);
}
catch (Exception)
{
Expand Down

0 comments on commit fbfd05d

Please sign in to comment.