|
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": {
|
|
79 | 85 | ],
|
80 | 86 | "responses": {
|
81 | 87 | "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 | + } |
83 | 95 | },
|
84 | 96 | "400": {
|
85 | 97 | "description": "The query string is invalid."
|
|
124 | 136 | "responses": {
|
125 | 137 | "201": {
|
126 | 138 | "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 | + }, |
127 | 144 | "content": {
|
128 | 145 | "application/vnd.api+json": {
|
129 | 146 | "schema": {
|
|
212 | 229 | "responses": {
|
213 | 230 | "200": {
|
214 | 231 | "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 | + }, |
215 | 238 | "content": {
|
216 | 239 | "application/vnd.api+json": {
|
217 | 240 | "schema": {
|
|
275 | 298 | ],
|
276 | 299 | "responses": {
|
277 | 300 | "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 | + } |
279 | 308 | },
|
280 | 309 | "400": {
|
281 | 310 | "description": "The query string is invalid."
|
|
444 | 473 | "responses": {
|
445 | 474 | "200": {
|
446 | 475 | "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 | + }, |
447 | 482 | "content": {
|
448 | 483 | "application/vnd.api+json": {
|
449 | 484 | "schema": {
|
|
488 | 523 | ],
|
489 | 524 | "responses": {
|
490 | 525 | "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 | + } |
492 | 533 | },
|
493 | 534 | "400": {
|
494 | 535 | "description": "The query string is invalid."
|
|
533 | 574 | "responses": {
|
534 | 575 | "201": {
|
535 | 576 | "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 | + }, |
536 | 582 | "content": {
|
537 | 583 | "application/vnd.api+json": {
|
538 | 584 | "schema": {
|
|
621 | 667 | "responses": {
|
622 | 668 | "200": {
|
623 | 669 | "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 | + }, |
624 | 676 | "content": {
|
625 | 677 | "application/vnd.api+json": {
|
626 | 678 | "schema": {
|
|
684 | 736 | ],
|
685 | 737 | "responses": {
|
686 | 738 | "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 | + } |
688 | 746 | },
|
689 | 747 | "400": {
|
690 | 748 | "description": "The query string is invalid."
|
|
862 | 920 | "responses": {
|
863 | 921 | "200": {
|
864 | 922 | "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 | + }, |
865 | 929 | "content": {
|
866 | 930 | "application/vnd.api+json": {
|
867 | 931 | "schema": {
|
|
925 | 989 | ],
|
926 | 990 | "responses": {
|
927 | 991 | "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 | + } |
929 | 999 | },
|
930 | 1000 | "400": {
|
931 | 1001 | "description": "The query string is invalid."
|
|
970 | 1040 | "responses": {
|
971 | 1041 | "200": {
|
972 | 1042 | "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 | + }, |
973 | 1049 | "content": {
|
974 | 1050 | "application/vnd.api+json": {
|
975 | 1051 | "schema": {
|
|
1033 | 1109 | ],
|
1034 | 1110 | "responses": {
|
1035 | 1111 | "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 | + } |
1037 | 1119 | },
|
1038 | 1120 | "400": {
|
1039 | 1121 | "description": "The query string is invalid."
|
|
1145 | 1227 | "responses": {
|
1146 | 1228 | "200": {
|
1147 | 1229 | "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 | + }, |
1148 | 1236 | "content": {
|
1149 | 1237 | "application/vnd.api+json": {
|
1150 | 1238 | "schema": {
|
|
1208 | 1296 | ],
|
1209 | 1297 | "responses": {
|
1210 | 1298 | "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 | + } |
1212 | 1306 | },
|
1213 | 1307 | "400": {
|
1214 | 1308 | "description": "The query string is invalid."
|
|
1253 | 1347 | "responses": {
|
1254 | 1348 | "200": {
|
1255 | 1349 | "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 | + }, |
1256 | 1356 | "content": {
|
1257 | 1357 | "application/vnd.api+json": {
|
1258 | 1358 | "schema": {
|
|
1316 | 1416 | ],
|
1317 | 1417 | "responses": {
|
1318 | 1418 | "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 | + } |
1320 | 1426 | },
|
1321 | 1427 | "400": {
|
1322 | 1428 | "description": "The query string is invalid."
|
|
1562 | 1668 | "responses": {
|
1563 | 1669 | "200": {
|
1564 | 1670 | "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 | + }, |
1565 | 1677 | "content": {
|
1566 | 1678 | "application/vnd.api+json": {
|
1567 | 1679 | "schema": {
|
|
1625 | 1737 | ],
|
1626 | 1738 | "responses": {
|
1627 | 1739 | "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 | + } |
1629 | 1747 | },
|
1630 | 1748 | "400": {
|
1631 | 1749 | "description": "The query string is invalid."
|
|
1670 | 1788 | "responses": {
|
1671 | 1789 | "200": {
|
1672 | 1790 | "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 | + }, |
1673 | 1797 | "content": {
|
1674 | 1798 | "application/vnd.api+json": {
|
1675 | 1799 | "schema": {
|
|
1733 | 1857 | ],
|
1734 | 1858 | "responses": {
|
1735 | 1859 | "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 | + } |
1737 | 1867 | },
|
1738 | 1868 | "400": {
|
1739 | 1869 | "description": "The query string is invalid."
|
|
0 commit comments