|
35 | 35 | "responses": {
|
36 | 36 | "200": {
|
37 | 37 | "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 | + }, |
38 | 44 | "content": {
|
39 | 45 | "application/vnd.api+json": {
|
40 | 46 | "schema": {
|
|
72 | 78 | ],
|
73 | 79 | "responses": {
|
74 | 80 | "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 | + } |
76 | 88 | },
|
77 | 89 | "400": {
|
78 | 90 | "description": "The query string is invalid."
|
|
117 | 129 | "responses": {
|
118 | 130 | "201": {
|
119 | 131 | "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 | + }, |
120 | 137 | "content": {
|
121 | 138 | "application/vnd.api+json": {
|
122 | 139 | "schema": {
|
|
177 | 194 | "responses": {
|
178 | 195 | "200": {
|
179 | 196 | "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 | + }, |
180 | 203 | "content": {
|
181 | 204 | "application/vnd.api+json": {
|
182 | 205 | "schema": {
|
|
226 | 249 | ],
|
227 | 250 | "responses": {
|
228 | 251 | "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 | + } |
230 | 259 | },
|
231 | 260 | "400": {
|
232 | 261 | "description": "The query string is invalid."
|
|
360 | 389 | "responses": {
|
361 | 390 | "200": {
|
362 | 391 | "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 | + }, |
363 | 398 | "content": {
|
364 | 399 | "application/vnd.api+json": {
|
365 | 400 | "schema": {
|
|
397 | 432 | ],
|
398 | 433 | "responses": {
|
399 | 434 | "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 | + } |
401 | 442 | },
|
402 | 443 | "400": {
|
403 | 444 | "description": "The query string is invalid."
|
|
442 | 483 | "responses": {
|
443 | 484 | "201": {
|
444 | 485 | "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 | + }, |
445 | 491 | "content": {
|
446 | 492 | "application/vnd.api+json": {
|
447 | 493 | "schema": {
|
|
502 | 548 | "responses": {
|
503 | 549 | "200": {
|
504 | 550 | "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 | + }, |
505 | 557 | "content": {
|
506 | 558 | "application/vnd.api+json": {
|
507 | 559 | "schema": {
|
|
551 | 603 | ],
|
552 | 604 | "responses": {
|
553 | 605 | "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 | + } |
555 | 613 | },
|
556 | 614 | "400": {
|
557 | 615 | "description": "The query string is invalid."
|
|
694 | 752 | "responses": {
|
695 | 753 | "200": {
|
696 | 754 | "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 | + }, |
697 | 761 | "content": {
|
698 | 762 | "application/vnd.api+json": {
|
699 | 763 | "schema": {
|
|
743 | 807 | ],
|
744 | 808 | "responses": {
|
745 | 809 | "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 | + } |
747 | 817 | },
|
748 | 818 | "400": {
|
749 | 819 | "description": "The query string is invalid."
|
|
788 | 858 | "responses": {
|
789 | 859 | "200": {
|
790 | 860 | "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 | + }, |
791 | 867 | "content": {
|
792 | 868 | "application/vnd.api+json": {
|
793 | 869 | "schema": {
|
|
837 | 913 | ],
|
838 | 914 | "responses": {
|
839 | 915 | "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 | + } |
841 | 923 | },
|
842 | 924 | "400": {
|
843 | 925 | "description": "The query string is invalid."
|
|
928 | 1010 | "responses": {
|
929 | 1011 | "200": {
|
930 | 1012 | "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 | + }, |
931 | 1019 | "content": {
|
932 | 1020 | "application/vnd.api+json": {
|
933 | 1021 | "schema": {
|
|
977 | 1065 | ],
|
978 | 1066 | "responses": {
|
979 | 1067 | "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 | + } |
981 | 1075 | },
|
982 | 1076 | "400": {
|
983 | 1077 | "description": "The query string is invalid."
|
|
1022 | 1116 | "responses": {
|
1023 | 1117 | "200": {
|
1024 | 1118 | "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 | + }, |
1025 | 1125 | "content": {
|
1026 | 1126 | "application/vnd.api+json": {
|
1027 | 1127 | "schema": {
|
|
1071 | 1171 | ],
|
1072 | 1172 | "responses": {
|
1073 | 1173 | "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 | + } |
1075 | 1181 | },
|
1076 | 1182 | "400": {
|
1077 | 1183 | "description": "The query string is invalid."
|
|
1254 | 1360 | "responses": {
|
1255 | 1361 | "200": {
|
1256 | 1362 | "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 | + }, |
1257 | 1369 | "content": {
|
1258 | 1370 | "application/vnd.api+json": {
|
1259 | 1371 | "schema": {
|
|
1303 | 1415 | ],
|
1304 | 1416 | "responses": {
|
1305 | 1417 | "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 | + } |
1307 | 1425 | },
|
1308 | 1426 | "400": {
|
1309 | 1427 | "description": "The query string is invalid."
|
|
1348 | 1466 | "responses": {
|
1349 | 1467 | "200": {
|
1350 | 1468 | "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 | + }, |
1351 | 1475 | "content": {
|
1352 | 1476 | "application/vnd.api+json": {
|
1353 | 1477 | "schema": {
|
|
1397 | 1521 | ],
|
1398 | 1522 | "responses": {
|
1399 | 1523 | "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 | + } |
1401 | 1531 | },
|
1402 | 1532 | "400": {
|
1403 | 1533 | "description": "The query string is invalid."
|
|
0 commit comments