Skip to content

Commit d58ddaa

Browse files
committed
Update all open api files
1 parent b0d17df commit d58ddaa

File tree

10 files changed

+1842
-134
lines changed

10 files changed

+1842
-134
lines changed

test/OpenApiClientTests/LegacyClient/swagger.g.json

Lines changed: 306 additions & 22 deletions
Large diffs are not rendered by default.

test/OpenApiClientTests/NamingConventions/CamelCase/swagger.g.json

Lines changed: 140 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@
3535
"responses": {
3636
"200": {
3737
"description": "Successfully returns the found staffMembers, or an empty array if none were found.",
38+
"headers": {
39+
"ETag": {
40+
"description": "ETag identifying the version of the fetched resource.",
41+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
42+
}
43+
},
3844
"content": {
3945
"application/vnd.api+json": {
4046
"schema": {
@@ -72,7 +78,13 @@
7278
],
7379
"responses": {
7480
"200": {
75-
"description": "The operation completed successfully."
81+
"description": "The operation completed successfully.",
82+
"headers": {
83+
"ETag": {
84+
"description": "ETag identifying the version of the fetched resource.",
85+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
86+
}
87+
}
7688
},
7789
"400": {
7890
"description": "The query string is invalid."
@@ -117,6 +129,11 @@
117129
"responses": {
118130
"201": {
119131
"description": "The staffMember was successfully created, which resulted in additional changes. The newly created staffMember is returned.",
132+
"headers": {
133+
"Location": {
134+
"description": "Location of the newly created resource."
135+
}
136+
},
120137
"content": {
121138
"application/vnd.api+json": {
122139
"schema": {
@@ -177,6 +194,12 @@
177194
"responses": {
178195
"200": {
179196
"description": "Successfully returns the found staffMember.",
197+
"headers": {
198+
"ETag": {
199+
"description": "ETag identifying the version of the fetched resource.",
200+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
201+
}
202+
},
180203
"content": {
181204
"application/vnd.api+json": {
182205
"schema": {
@@ -226,7 +249,13 @@
226249
],
227250
"responses": {
228251
"200": {
229-
"description": "The operation completed successfully."
252+
"description": "The operation completed successfully.",
253+
"headers": {
254+
"ETag": {
255+
"description": "ETag identifying the version of the fetched resource.",
256+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
257+
}
258+
}
230259
},
231260
"400": {
232261
"description": "The query string is invalid."
@@ -360,6 +389,12 @@
360389
"responses": {
361390
"200": {
362391
"description": "Successfully returns the found supermarkets, or an empty array if none were found.",
392+
"headers": {
393+
"ETag": {
394+
"description": "ETag identifying the version of the fetched resource.",
395+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
396+
}
397+
},
363398
"content": {
364399
"application/vnd.api+json": {
365400
"schema": {
@@ -397,7 +432,13 @@
397432
],
398433
"responses": {
399434
"200": {
400-
"description": "The operation completed successfully."
435+
"description": "The operation completed successfully.",
436+
"headers": {
437+
"ETag": {
438+
"description": "ETag identifying the version of the fetched resource.",
439+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
440+
}
441+
}
401442
},
402443
"400": {
403444
"description": "The query string is invalid."
@@ -442,6 +483,11 @@
442483
"responses": {
443484
"201": {
444485
"description": "The supermarket was successfully created, which resulted in additional changes. The newly created supermarket is returned.",
486+
"headers": {
487+
"Location": {
488+
"description": "Location of the newly created resource."
489+
}
490+
},
445491
"content": {
446492
"application/vnd.api+json": {
447493
"schema": {
@@ -502,6 +548,12 @@
502548
"responses": {
503549
"200": {
504550
"description": "Successfully returns the found supermarket.",
551+
"headers": {
552+
"ETag": {
553+
"description": "ETag identifying the version of the fetched resource.",
554+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
555+
}
556+
},
505557
"content": {
506558
"application/vnd.api+json": {
507559
"schema": {
@@ -551,7 +603,13 @@
551603
],
552604
"responses": {
553605
"200": {
554-
"description": "The operation completed successfully."
606+
"description": "The operation completed successfully.",
607+
"headers": {
608+
"ETag": {
609+
"description": "ETag identifying the version of the fetched resource.",
610+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
611+
}
612+
}
555613
},
556614
"400": {
557615
"description": "The query string is invalid."
@@ -694,6 +752,12 @@
694752
"responses": {
695753
"200": {
696754
"description": "Successfully returns the found staffMember, or `null` if it was not found.",
755+
"headers": {
756+
"ETag": {
757+
"description": "ETag identifying the version of the fetched resource.",
758+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
759+
}
760+
},
697761
"content": {
698762
"application/vnd.api+json": {
699763
"schema": {
@@ -743,7 +807,13 @@
743807
],
744808
"responses": {
745809
"200": {
746-
"description": "The operation completed successfully."
810+
"description": "The operation completed successfully.",
811+
"headers": {
812+
"ETag": {
813+
"description": "ETag identifying the version of the fetched resource.",
814+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
815+
}
816+
}
747817
},
748818
"400": {
749819
"description": "The query string is invalid."
@@ -788,6 +858,12 @@
788858
"responses": {
789859
"200": {
790860
"description": "Successfully returns the found staffMember identity, or `null` if it was not found.",
861+
"headers": {
862+
"ETag": {
863+
"description": "ETag identifying the version of the fetched resource.",
864+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
865+
}
866+
},
791867
"content": {
792868
"application/vnd.api+json": {
793869
"schema": {
@@ -837,7 +913,13 @@
837913
],
838914
"responses": {
839915
"200": {
840-
"description": "The operation completed successfully."
916+
"description": "The operation completed successfully.",
917+
"headers": {
918+
"ETag": {
919+
"description": "ETag identifying the version of the fetched resource.",
920+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
921+
}
922+
}
841923
},
842924
"400": {
843925
"description": "The query string is invalid."
@@ -928,6 +1010,12 @@
9281010
"responses": {
9291011
"200": {
9301012
"description": "Successfully returns the found staffMembers, or an empty array if none were found.",
1013+
"headers": {
1014+
"ETag": {
1015+
"description": "ETag identifying the version of the fetched resource.",
1016+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
1017+
}
1018+
},
9311019
"content": {
9321020
"application/vnd.api+json": {
9331021
"schema": {
@@ -977,7 +1065,13 @@
9771065
],
9781066
"responses": {
9791067
"200": {
980-
"description": "The operation completed successfully."
1068+
"description": "The operation completed successfully.",
1069+
"headers": {
1070+
"ETag": {
1071+
"description": "ETag identifying the version of the fetched resource.",
1072+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
1073+
}
1074+
}
9811075
},
9821076
"400": {
9831077
"description": "The query string is invalid."
@@ -1022,6 +1116,12 @@
10221116
"responses": {
10231117
"200": {
10241118
"description": "Successfully returns the found staffMember identities, or an empty array if none were found.",
1119+
"headers": {
1120+
"ETag": {
1121+
"description": "ETag identifying the version of the fetched resource.",
1122+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
1123+
}
1124+
},
10251125
"content": {
10261126
"application/vnd.api+json": {
10271127
"schema": {
@@ -1071,7 +1171,13 @@
10711171
],
10721172
"responses": {
10731173
"200": {
1074-
"description": "The operation completed successfully."
1174+
"description": "The operation completed successfully.",
1175+
"headers": {
1176+
"ETag": {
1177+
"description": "ETag identifying the version of the fetched resource.",
1178+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
1179+
}
1180+
}
10751181
},
10761182
"400": {
10771183
"description": "The query string is invalid."
@@ -1254,6 +1360,12 @@
12541360
"responses": {
12551361
"200": {
12561362
"description": "Successfully returns the found staffMember, or `null` if it was not found.",
1363+
"headers": {
1364+
"ETag": {
1365+
"description": "ETag identifying the version of the fetched resource.",
1366+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
1367+
}
1368+
},
12571369
"content": {
12581370
"application/vnd.api+json": {
12591371
"schema": {
@@ -1303,7 +1415,13 @@
13031415
],
13041416
"responses": {
13051417
"200": {
1306-
"description": "The operation completed successfully."
1418+
"description": "The operation completed successfully.",
1419+
"headers": {
1420+
"ETag": {
1421+
"description": "ETag identifying the version of the fetched resource.",
1422+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
1423+
}
1424+
}
13071425
},
13081426
"400": {
13091427
"description": "The query string is invalid."
@@ -1348,6 +1466,12 @@
13481466
"responses": {
13491467
"200": {
13501468
"description": "Successfully returns the found staffMember identity, or `null` if it was not found.",
1469+
"headers": {
1470+
"ETag": {
1471+
"description": "ETag identifying the version of the fetched resource.",
1472+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
1473+
}
1474+
},
13511475
"content": {
13521476
"application/vnd.api+json": {
13531477
"schema": {
@@ -1397,7 +1521,13 @@
13971521
],
13981522
"responses": {
13991523
"200": {
1400-
"description": "The operation completed successfully."
1524+
"description": "The operation completed successfully.",
1525+
"headers": {
1526+
"ETag": {
1527+
"description": "ETag identifying the version of the fetched resource.",
1528+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
1529+
}
1530+
}
14011531
},
14021532
"400": {
14031533
"description": "The query string is invalid."

0 commit comments

Comments
 (0)