File tree Expand file tree Collapse file tree 5 files changed +24
-9
lines changed
test/Microsoft.OpenAPI.OData.Reader.Tests/Resources Expand file tree Collapse file tree 5 files changed +24
-9
lines changed Original file line number Diff line number Diff line change 81
81
<Property Name =" Name" Type =" Edm.String" />
82
82
<Property Name =" IcaoCode" Type =" Edm.String" Nullable =" false" />
83
83
<Property Name =" IataCode" Type =" Edm.String" />
84
- <Property Name =" Location" Type =" Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirportLocation" />
84
+ <Property Name =" Location" Type =" Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirportLocation" >
85
+ <Annotation Term =" Org.OData.Capabilities.V1.UpdateRestrictions" >
86
+ <Record >
87
+ <PropertyValue Property =" UpdateMethod" >
88
+ <EnumMember >Org.OData.Capabilities.V1.HttpMethod/PUT</EnumMember >
89
+ </PropertyValue >
90
+ </Record >
91
+ </Annotation >
92
+ </Property >
85
93
</EntityType >
86
94
<ComplexType Name =" Location" >
87
95
<Property Name =" Address" Type =" Edm.String" />
254
262
<PropertyPath >Name</PropertyPath >
255
263
</Collection >
256
264
</Annotation >
265
+ <Annotation Term =" Org.OData.Capabilities.V1.UpdateRestrictions" >
266
+ <Record >
267
+ <PropertyValue Property =" UpdateMethod" >
268
+ <EnumMember >Org.OData.Capabilities.V1.HttpMethod/PUT</EnumMember >
269
+ </PropertyValue >
270
+ </Record >
271
+ </Annotation >
257
272
</EntitySet >
258
273
<EntitySet Name =" Airports" EntityType =" Microsoft.OData.Service.Sample.TrippinInMemory.Models.Airport" >
259
274
<NavigationPropertyBinding Path =" Location/EmergencyAuthority" Target =" People" />
Original file line number Diff line number Diff line change 180
180
},
181
181
"x-ms-docs-operation-type": "operation"
182
182
},
183
- "patch ": {
183
+ "put ": {
184
184
"tags": [
185
185
"Airlines.Airline"
186
186
],
573
573
}
574
574
}
575
575
},
576
- "patch ": {
576
+ "put ": {
577
577
"summary": "Update property Location value.",
578
578
"operationId": "Location.AirportLocation.UpdateAirportLocation",
579
579
"consumes": [
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ paths:
118
118
default:
119
119
$ref: '#/responses/error'
120
120
x-ms-docs-operation-type: operation
121
- patch :
121
+ put :
122
122
tags:
123
123
- Airlines.Airline
124
124
summary: Update entity in Airlines
@@ -384,7 +384,7 @@ paths:
384
384
$ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirportLocation'
385
385
default:
386
386
$ref: '#/responses/error'
387
- patch :
387
+ put :
388
388
summary: Update property Location value.
389
389
operationId: Location.AirportLocation.UpdateAirportLocation
390
390
consumes:
Original file line number Diff line number Diff line change 207
207
},
208
208
"x-ms-docs-operation-type": "operation"
209
209
},
210
- "patch ": {
210
+ "put ": {
211
211
"tags": [
212
212
"Airlines.Airline"
213
213
],
648
648
}
649
649
}
650
650
},
651
- "patch ": {
651
+ "put ": {
652
652
"summary": "Update property Location value.",
653
653
"operationId": "Location.AirportLocation.UpdateAirportLocation",
654
654
"parameters": [
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ paths:
136
136
default:
137
137
$ref: '#/components/responses/error'
138
138
x-ms-docs-operation-type: operation
139
- patch :
139
+ put :
140
140
tags:
141
141
- Airlines.Airline
142
142
summary: Update entity in Airlines
@@ -433,7 +433,7 @@ paths:
433
433
$ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirportLocation'
434
434
default:
435
435
$ref: '#/components/responses/error'
436
- patch :
436
+ put :
437
437
summary: Update property Location value.
438
438
operationId: Location.AirportLocation.UpdateAirportLocation
439
439
parameters:
You can’t perform that action at this time.
0 commit comments