Skip to content

Commit

Permalink
Merge pull request #1085 from microsoft/mk/add-convert-setting
Browse files Browse the repository at this point in the history
Add conversion setting
  • Loading branch information
MaggieKimani1 authored Nov 21, 2022
2 parents cbafb8c + e708a67 commit 0224604
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Microsoft.OpenApi.Hidi/OpenApiService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,8 @@ public static async Task<OpenApiDocument> ConvertCsdlToOpenApi(Stream csdl, stri
ShowLinks = false,
ExpandDerivedTypesNavigationProperties = false,
EnableCount = true,
UseSuccessStatusCodeRange = true
UseSuccessStatusCodeRange = true,
EnableTypeDisambiguationForDefaultValueOfOdataTypeProperty = true
};
config.GetSection("OpenApiConvertSettings").Bind(settings);

Expand Down

0 comments on commit 0224604

Please sign in to comment.