Skip to content

Commit

Permalink
Shortened assignment of output folder
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent Biret <vibiret@microsoft.com>
  • Loading branch information
darrelmiller and baywet authored Jun 12, 2023
1 parent 7247f74 commit bab8a96
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Microsoft.OpenApi.Hidi/OpenApiService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -721,9 +721,8 @@ internal async static Task PluginManifest(HidiOptions options, ILogger logger, C
{
outputFolder.Create();
}
var slicedOpenApi = new FileInfo(Path.Combine(options.OutputFolder,"openapi.json"));
// Write OpenAPI to Output folder
options.Output = slicedOpenApi;
options.Output = new FileInfo(Path.Combine(options.OutputFolder,"openapi.json"));
options.TerseOutput =true;
WriteOpenApi(options, OpenApiFormat.Json, OpenApiSpecVersion.OpenApi3_0, document, logger);

Expand Down

0 comments on commit bab8a96

Please sign in to comment.