Skip to content

Commit cb1b084

Browse files
authored
Merge pull request #1012 from microsoft/is/bump-lib
Bumps up Microsoft.OpenApi.OData lib version and Hidi version
2 parents 8608b9a + fd2b6eb commit cb1b084

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/Microsoft.OpenApi.Hidi/Microsoft.OpenApi.Hidi.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<PackageId>Microsoft.OpenApi.Hidi</PackageId>
1616
<ToolCommandName>hidi</ToolCommandName>
1717
<PackageOutputPath>./../../artifacts</PackageOutputPath>
18-
<Version>1.0.0-preview9</Version>
18+
<Version>1.0.0-preview10</Version>
1919
<Description>OpenAPI.NET CLI tool for slicing OpenAPI documents</Description>
2020
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
2121
<PackageTags>OpenAPI .NET</PackageTags>
@@ -43,7 +43,7 @@
4343
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="6.0.0" />
4444
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
4545
<PackageReference Include="Microsoft.OData.Edm" Version="7.12.2" />
46-
<PackageReference Include="Microsoft.OpenApi.OData" Version="1.0.11" />
46+
<PackageReference Include="Microsoft.OpenApi.OData" Version="1.1.0" />
4747
</ItemGroup>
4848

4949
<ItemGroup>

src/Microsoft.OpenApi.Hidi/OpenApiService.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,9 @@ public static async Task<OpenApiDocument> ConvertCsdlToOpenApi(Stream csdl)
331331
EnableDerivedTypesReferencesForResponses = false,
332332
ShowRootPath = false,
333333
ShowLinks = false,
334-
ExpandDerivedTypesNavigationProperties = false
334+
ExpandDerivedTypesNavigationProperties = false,
335+
EnableCount = true,
336+
UseSuccessStatusCodeRange = true
335337
};
336338
OpenApiDocument document = edmModel.ConvertToOpenApi(settings);
337339

0 commit comments

Comments
 (0)