Skip to content

Commit

Permalink
Merge pull request #871 from microsoft/vnext
Browse files Browse the repository at this point in the history
hidi release
  • Loading branch information
baywet authored May 17, 2022
2 parents f918aba + 23718ba commit b04aecd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Microsoft.OpenApi.Hidi/Microsoft.OpenApi.Hidi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@
<PackageId>Microsoft.OpenApi.Hidi</PackageId>
<ToolCommandName>hidi</ToolCommandName>
<PackageOutputPath>./../../artifacts</PackageOutputPath>
<Version>1.0.0-preview3</Version>
<Version>1.0.0-preview4</Version>
<Description>OpenAPI.NET CLI tool for slicing OpenAPI documents</Description>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageTags>OpenAPI .NET</PackageTags>
<RepositoryUrl>https://github.com/Microsoft/OpenAPI.NET</RepositoryUrl>
<PackageReleaseNotes>
- Enables discriminator values
- Adds new OpenAPI convert setting, ExpandDerivedTypesNavigationProperties and sets it to false
</PackageReleaseNotes>
<AssemblyName>Microsoft.OpenApi.Hidi</AssemblyName>
<RootNamespace>Microsoft.OpenApi.Hidi</RootNamespace>
Expand Down
3 changes: 2 additions & 1 deletion src/Microsoft.OpenApi.Hidi/OpenApiService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,8 @@ public static async Task<OpenApiDocument> ConvertCsdlToOpenApi(Stream csdl)
EnableDerivedTypesReferencesForRequestBody = false,
EnableDerivedTypesReferencesForResponses = false,
ShowRootPath = false,
ShowLinks = false
ShowLinks = false,
ExpandDerivedTypesNavigationProperties = false
};
OpenApiDocument document = edmModel.ConvertToOpenApi(settings);

Expand Down

0 comments on commit b04aecd

Please sign in to comment.