Skip to content

Commit 2e454f4

Browse files
committed
Update all open api files
1 parent 45f978b commit 2e454f4

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": {
@@ -79,7 +85,13 @@
7985
],
8086
"responses": {
8187
"200": {
82-
"description": "The operation completed successfully."
88+
"description": "The operation completed successfully.",
89+
"headers": {
90+
"ETag": {
91+
"description": "ETag identifying the version of the fetched resource.",
92+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
93+
}
94+
}
8395
},
8496
"400": {
8597
"description": "The query string is invalid."
@@ -124,6 +136,11 @@
124136
"responses": {
125137
"201": {
126138
"description": "The staffMember was successfully created, which resulted in additional changes. The newly created staffMember is returned.",
139+
"headers": {
140+
"Location": {
141+
"description": "Location of the newly created resource."
142+
}
143+
},
127144
"content": {
128145
"application/vnd.api+json": {
129146
"schema": {
@@ -212,6 +229,12 @@
212229
"responses": {
213230
"200": {
214231
"description": "Successfully returns the found staffMember.",
232+
"headers": {
233+
"ETag": {
234+
"description": "ETag identifying the version of the fetched resource.",
235+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
236+
}
237+
},
215238
"content": {
216239
"application/vnd.api+json": {
217240
"schema": {
@@ -275,7 +298,13 @@
275298
],
276299
"responses": {
277300
"200": {
278-
"description": "The operation completed successfully."
301+
"description": "The operation completed successfully.",
302+
"headers": {
303+
"ETag": {
304+
"description": "ETag identifying the version of the fetched resource.",
305+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
306+
}
307+
}
279308
},
280309
"400": {
281310
"description": "The query string is invalid."
@@ -444,6 +473,12 @@
444473
"responses": {
445474
"200": {
446475
"description": "Successfully returns the found supermarkets, or an empty array if none were found.",
476+
"headers": {
477+
"ETag": {
478+
"description": "ETag identifying the version of the fetched resource.",
479+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
480+
}
481+
},
447482
"content": {
448483
"application/vnd.api+json": {
449484
"schema": {
@@ -488,7 +523,13 @@
488523
],
489524
"responses": {
490525
"200": {
491-
"description": "The operation completed successfully."
526+
"description": "The operation completed successfully.",
527+
"headers": {
528+
"ETag": {
529+
"description": "ETag identifying the version of the fetched resource.",
530+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
531+
}
532+
}
492533
},
493534
"400": {
494535
"description": "The query string is invalid."
@@ -533,6 +574,11 @@
533574
"responses": {
534575
"201": {
535576
"description": "The supermarket was successfully created, which resulted in additional changes. The newly created supermarket is returned.",
577+
"headers": {
578+
"Location": {
579+
"description": "Location of the newly created resource."
580+
}
581+
},
536582
"content": {
537583
"application/vnd.api+json": {
538584
"schema": {
@@ -621,6 +667,12 @@
621667
"responses": {
622668
"200": {
623669
"description": "Successfully returns the found supermarket.",
670+
"headers": {
671+
"ETag": {
672+
"description": "ETag identifying the version of the fetched resource.",
673+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
674+
}
675+
},
624676
"content": {
625677
"application/vnd.api+json": {
626678
"schema": {
@@ -684,7 +736,13 @@
684736
],
685737
"responses": {
686738
"200": {
687-
"description": "The operation completed successfully."
739+
"description": "The operation completed successfully.",
740+
"headers": {
741+
"ETag": {
742+
"description": "ETag identifying the version of the fetched resource.",
743+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
744+
}
745+
}
688746
},
689747
"400": {
690748
"description": "The query string is invalid."
@@ -862,6 +920,12 @@
862920
"responses": {
863921
"200": {
864922
"description": "Successfully returns the found staffMember, or `null` if it was not found.",
923+
"headers": {
924+
"ETag": {
925+
"description": "ETag identifying the version of the fetched resource.",
926+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
927+
}
928+
},
865929
"content": {
866930
"application/vnd.api+json": {
867931
"schema": {
@@ -925,7 +989,13 @@
925989
],
926990
"responses": {
927991
"200": {
928-
"description": "The operation completed successfully."
992+
"description": "The operation completed successfully.",
993+
"headers": {
994+
"ETag": {
995+
"description": "ETag identifying the version of the fetched resource.",
996+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
997+
}
998+
}
929999
},
9301000
"400": {
9311001
"description": "The query string is invalid."
@@ -970,6 +1040,12 @@
9701040
"responses": {
9711041
"200": {
9721042
"description": "Successfully returns the found staffMember identity, or `null` if it was not found.",
1043+
"headers": {
1044+
"ETag": {
1045+
"description": "ETag identifying the version of the fetched resource.",
1046+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
1047+
}
1048+
},
9731049
"content": {
9741050
"application/vnd.api+json": {
9751051
"schema": {
@@ -1033,7 +1109,13 @@
10331109
],
10341110
"responses": {
10351111
"200": {
1036-
"description": "The operation completed successfully."
1112+
"description": "The operation completed successfully.",
1113+
"headers": {
1114+
"ETag": {
1115+
"description": "ETag identifying the version of the fetched resource.",
1116+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
1117+
}
1118+
}
10371119
},
10381120
"400": {
10391121
"description": "The query string is invalid."
@@ -1145,6 +1227,12 @@
11451227
"responses": {
11461228
"200": {
11471229
"description": "Successfully returns the found staffMembers, or an empty array if none were found.",
1230+
"headers": {
1231+
"ETag": {
1232+
"description": "ETag identifying the version of the fetched resource.",
1233+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
1234+
}
1235+
},
11481236
"content": {
11491237
"application/vnd.api+json": {
11501238
"schema": {
@@ -1208,7 +1296,13 @@
12081296
],
12091297
"responses": {
12101298
"200": {
1211-
"description": "The operation completed successfully."
1299+
"description": "The operation completed successfully.",
1300+
"headers": {
1301+
"ETag": {
1302+
"description": "ETag identifying the version of the fetched resource.",
1303+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
1304+
}
1305+
}
12121306
},
12131307
"400": {
12141308
"description": "The query string is invalid."
@@ -1253,6 +1347,12 @@
12531347
"responses": {
12541348
"200": {
12551349
"description": "Successfully returns the found staffMember identities, or an empty array if none were found.",
1350+
"headers": {
1351+
"ETag": {
1352+
"description": "ETag identifying the version of the fetched resource.",
1353+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
1354+
}
1355+
},
12561356
"content": {
12571357
"application/vnd.api+json": {
12581358
"schema": {
@@ -1316,7 +1416,13 @@
13161416
],
13171417
"responses": {
13181418
"200": {
1319-
"description": "The operation completed successfully."
1419+
"description": "The operation completed successfully.",
1420+
"headers": {
1421+
"ETag": {
1422+
"description": "ETag identifying the version of the fetched resource.",
1423+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
1424+
}
1425+
}
13201426
},
13211427
"400": {
13221428
"description": "The query string is invalid."
@@ -1562,6 +1668,12 @@
15621668
"responses": {
15631669
"200": {
15641670
"description": "Successfully returns the found staffMember, or `null` if it was not found.",
1671+
"headers": {
1672+
"ETag": {
1673+
"description": "ETag identifying the version of the fetched resource.",
1674+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
1675+
}
1676+
},
15651677
"content": {
15661678
"application/vnd.api+json": {
15671679
"schema": {
@@ -1625,7 +1737,13 @@
16251737
],
16261738
"responses": {
16271739
"200": {
1628-
"description": "The operation completed successfully."
1740+
"description": "The operation completed successfully.",
1741+
"headers": {
1742+
"ETag": {
1743+
"description": "ETag identifying the version of the fetched resource.",
1744+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
1745+
}
1746+
}
16291747
},
16301748
"400": {
16311749
"description": "The query string is invalid."
@@ -1670,6 +1788,12 @@
16701788
"responses": {
16711789
"200": {
16721790
"description": "Successfully returns the found staffMember identity, or `null` if it was not found.",
1791+
"headers": {
1792+
"ETag": {
1793+
"description": "ETag identifying the version of the fetched resource.",
1794+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
1795+
}
1796+
},
16731797
"content": {
16741798
"application/vnd.api+json": {
16751799
"schema": {
@@ -1733,7 +1857,13 @@
17331857
],
17341858
"responses": {
17351859
"200": {
1736-
"description": "The operation completed successfully."
1860+
"description": "The operation completed successfully.",
1861+
"headers": {
1862+
"ETag": {
1863+
"description": "ETag identifying the version of the fetched resource.",
1864+
"example": "\"33a64df551425fcc55e4d42a148795d9f25f89d4\""
1865+
}
1866+
}
17371867
},
17381868
"400": {
17391869
"description": "The query string is invalid."

0 commit comments

Comments
 (0)