File tree Expand file tree Collapse file tree 5 files changed +17
-5
lines changed
Microsoft.OpenApi.OData.Reader Expand file tree Collapse file tree 5 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 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 >
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 >
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 >
Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments