Skip to content

Commit 0224604

Browse files
Merge pull request #1085 from microsoft/mk/add-convert-setting
Add conversion setting
2 parents cbafb8c + e708a67 commit 0224604

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Microsoft.OpenApi.Hidi/OpenApiService.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,8 @@ public static async Task<OpenApiDocument> ConvertCsdlToOpenApi(Stream csdl, stri
349349
ShowLinks = false,
350350
ExpandDerivedTypesNavigationProperties = false,
351351
EnableCount = true,
352-
UseSuccessStatusCodeRange = true
352+
UseSuccessStatusCodeRange = true,
353+
EnableTypeDisambiguationForDefaultValueOfOdataTypeProperty = true
353354
};
354355
config.GetSection("OpenApiConvertSettings").Bind(settings);
355356

0 commit comments

Comments
 (0)