File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
test/Microsoft.OpenAPI.OData.Reader.Tests/Resources Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 61
61
</NavigationProperty >
62
62
<NavigationProperty Name =" Trips" Type =" Collection(Microsoft.OData.Service.Sample.TrippinInMemory.Models.Trip)" ContainsTarget =" true" >
63
63
<Annotation Term =" Org.OData.Core.V1.Description" String =" Collection of trips." />
64
+ <Annotation Term =" Org.OData.Capabilities.V1.UpdateRestrictions" >
65
+ <Record >
66
+ <PropertyValue Property =" UpdateMethod" >
67
+ <EnumMember >Org.OData.Capabilities.V1.HttpMethod/PUT</EnumMember >
68
+ </PropertyValue >
69
+ </Record >
70
+ </Annotation >
64
71
</NavigationProperty >
65
72
</EntityType >
66
73
<EntityType Name =" Airline" >
77
84
<Property Name =" Name" Type =" Edm.String" />
78
85
<Property Name =" IcaoCode" Type =" Edm.String" Nullable =" false" />
79
86
<Property Name =" IataCode" Type =" Edm.String" />
80
- <Property Name =" Location" Type =" Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirportLocation" />
87
+ <Property Name =" Location" Type =" Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirportLocation" >
88
+ <Annotation Term =" Org.OData.Capabilities.V1.UpdateRestrictions" >
89
+ <Record >
90
+ <PropertyValue Property =" UpdateMethod" >
91
+ <EnumMember >Org.OData.Capabilities.V1.HttpMethod/PUT</EnumMember >
92
+ </PropertyValue >
93
+ </Record >
94
+ </Annotation >
95
+ </Property >
81
96
</EntityType >
82
97
<ComplexType Name =" Location" >
83
98
<Property Name =" Address" Type =" Edm.String" />
243
258
<PropertyPath >Name</PropertyPath >
244
259
</Collection >
245
260
</Annotation >
261
+ <Annotation Term =" Org.OData.Capabilities.V1.UpdateRestrictions" >
262
+ <Record >
263
+ <PropertyValue Property =" UpdateMethod" >
264
+ <EnumMember >Org.OData.Capabilities.V1.HttpMethod/PUT</EnumMember >
265
+ </PropertyValue >
266
+ </Record >
267
+ </Annotation >
246
268
</EntitySet >
247
269
<EntitySet Name =" Airports" EntityType =" Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airport" >
248
270
<NavigationPropertyBinding Path =" Location/EmergencyAuthority" Target =" People" />
You can’t perform that action at this time.
0 commit comments