Skip to content

Commit 39a325d

Browse files
committed
Merge master onto feature branch
1 parent ba2a84f commit 39a325d

File tree

5 files changed

+17
-5
lines changed

5 files changed

+17
-5
lines changed

src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<TargetFrameworks>netstandard2.0</TargetFrameworks>
1616
<PackageId>Microsoft.OpenApi.OData</PackageId>
1717
<SignAssembly>true</SignAssembly>
18-
<Version>1.5.0-preview4</Version>
18+
<Version>1.5.0-preview5</Version>
1919
<Description>This package contains the codes you need to convert OData CSDL to Open API Document of Model.</Description>
2020
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
2121
<PackageTags>Microsoft OpenApi OData EDM</PackageTags>
@@ -25,6 +25,7 @@
2525
- Updates README #13, #253, #40
2626
- Fixes casing in default propertyName for `innerError` in the `ErrorMainSchema`
2727
- Adds support for `x-ms-enum-flags` extension for flagged enums
28+
- Use containment together with `RequiresExplicitBinding` annotation to check whether to append bound operations to navigation properties #430
2829
</PackageReleaseNotes>
2930
<AssemblyName>Microsoft.OpenApi.OData.Reader</AssemblyName>
3031
<AssemblyOriginatorKeyFile>..\..\tool\Microsoft.OpenApi.OData.snk</AssemblyOriginatorKeyFile>
@@ -45,7 +46,7 @@
4546
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
4647
</PackageReference>
4748
<PackageReference Include="Microsoft.OData.Edm" Version="7.18.0" />
48-
<PackageReference Include="Microsoft.OpenApi" Version="1.6.9" />
49+
<PackageReference Include="Microsoft.OpenApi" Version="1.6.4" />
4950
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
5051
<PrivateAssets>all</PrivateAssets>
5152
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

src/Microsoft.OpenApi.OData.Reader/PathItem/RefPathItemHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ protected override void SetOperations(OpenApiPathItem item)
6666
}
6767

6868
// So far, we only consider the non-containment
69-
Debug.Assert(!NavigationProperty.ContainsTarget);
69+
//Debug.Assert(!NavigationProperty.ContainsTarget);
7070

7171
// Create the ref
7272
if (NavigationProperty.TargetMultiplicity() == EdmMultiplicity.Many)

src/OoasGui/MainForm.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,17 @@ public MainForm()
5252

5353
csdlRichTextBox.WordWrap = false;
5454
oasRichTextBox.WordWrap = false;
55+
56+
57+
verifyEdmModelcheckBox.Checked = false;
58+
yamlRadioBtn.Checked = true;
59+
60+
61+
Settings.EnableKeyAsSegment = true;
62+
Settings.PrefixEntityTypeNameBeforeKey = true;
63+
Settings.EnableDiscriminatorValue = true;
64+
Settings.ExpandDerivedTypesNavigationProperties = true;
65+
5566
}
5667

5768
private async void jsonRadioBtn_CheckedChanged(object sender, EventArgs e)

src/OoasGui/OoasGui.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<ItemGroup>
1818
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
1919
<PackageReference Include="Microsoft.OData.Edm" Version="7.18.0" />
20-
<PackageReference Include="Microsoft.OpenApi" Version="1.6.9" />
20+
<PackageReference Include="Microsoft.OpenApi" Version="1.6.4" />
2121
<PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
2222
</ItemGroup>
2323
</Project>

tool/UpdateDocs/UpdateDocs.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
</ItemGroup>
1414
<ItemGroup>
1515
<PackageReference Include="Microsoft.OData.Edm" Version="7.18.0" />
16-
<PackageReference Include="Microsoft.OpenApi" Version="1.6.9" />
16+
<PackageReference Include="Microsoft.OpenApi" Version="1.6.4" />
1717
</ItemGroup>
1818
</Project>

0 commit comments

Comments
 (0)