@grapity/grapity 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -14
- package/dist/assets/index-JAhtTTW2.js +336 -0
- package/dist/assets/index-JAhtTTW2.js.map +1 -0
- package/dist/assets/index-LDlidn22.css +1 -0
- package/dist/cli/index.js +1315 -181
- package/dist/core/index.d.ts +391 -23
- package/dist/hub/index.js +34 -7
- package/dist/hub/serve.d.ts +9 -1
- package/dist/hub/serve.js +34 -7
- package/dist/index.html +3 -2
- package/dist/registry/{index-Baj_sSgl.d.ts → index-Bx-7YlUF.d.ts} +18 -11
- package/dist/registry/index.d.ts +1 -1
- package/dist/registry/index.js +152 -6
- package/dist/registry/serve.d.ts +96 -5
- package/dist/registry/serve.js +714 -21
- package/package.json +13 -15
- package/dist/assets/index-Dq5tdnlb.js +0 -326
- package/dist/assets/index-Dq5tdnlb.js.map +0 -1
- package/dist/assets/index-NJpHAonA.css +0 -1
package/dist/core/index.d.ts
CHANGED
|
@@ -1216,13 +1216,29 @@ interface operations {
|
|
|
1216
1216
|
/**
|
|
1217
1217
|
* @example {
|
|
1218
1218
|
* "error": "unauthorized",
|
|
1219
|
-
* "message": "Invalid
|
|
1219
|
+
* "message": "Invalid or missing bearer token",
|
|
1220
1220
|
* "statusCode": 401
|
|
1221
1221
|
* }
|
|
1222
1222
|
*/
|
|
1223
1223
|
"application/json": components["schemas"]["ApiError"];
|
|
1224
1224
|
};
|
|
1225
1225
|
};
|
|
1226
|
+
/** @description Forbidden - missing required scope */
|
|
1227
|
+
403: {
|
|
1228
|
+
headers: {
|
|
1229
|
+
[name: string]: unknown;
|
|
1230
|
+
};
|
|
1231
|
+
content: {
|
|
1232
|
+
/**
|
|
1233
|
+
* @example {
|
|
1234
|
+
* "error": "forbidden",
|
|
1235
|
+
* "message": "Missing required scope: specs:write",
|
|
1236
|
+
* "statusCode": 403
|
|
1237
|
+
* }
|
|
1238
|
+
*/
|
|
1239
|
+
"application/json": components["schemas"]["ApiError"];
|
|
1240
|
+
};
|
|
1241
|
+
};
|
|
1226
1242
|
/** @description Internal server error */
|
|
1227
1243
|
500: {
|
|
1228
1244
|
headers: {
|
|
@@ -1330,13 +1346,29 @@ interface operations {
|
|
|
1330
1346
|
/**
|
|
1331
1347
|
* @example {
|
|
1332
1348
|
* "error": "unauthorized",
|
|
1333
|
-
* "message": "Invalid
|
|
1349
|
+
* "message": "Invalid or missing bearer token",
|
|
1334
1350
|
* "statusCode": 401
|
|
1335
1351
|
* }
|
|
1336
1352
|
*/
|
|
1337
1353
|
"application/json": components["schemas"]["ApiError"];
|
|
1338
1354
|
};
|
|
1339
1355
|
};
|
|
1356
|
+
/** @description Forbidden - missing required scope */
|
|
1357
|
+
403: {
|
|
1358
|
+
headers: {
|
|
1359
|
+
[name: string]: unknown;
|
|
1360
|
+
};
|
|
1361
|
+
content: {
|
|
1362
|
+
/**
|
|
1363
|
+
* @example {
|
|
1364
|
+
* "error": "forbidden",
|
|
1365
|
+
* "message": "Missing required scope: specs:write",
|
|
1366
|
+
* "statusCode": 403
|
|
1367
|
+
* }
|
|
1368
|
+
*/
|
|
1369
|
+
"application/json": components["schemas"]["ApiError"];
|
|
1370
|
+
};
|
|
1371
|
+
};
|
|
1340
1372
|
/** @description Internal server error */
|
|
1341
1373
|
500: {
|
|
1342
1374
|
headers: {
|
|
@@ -1480,13 +1512,29 @@ interface operations {
|
|
|
1480
1512
|
/**
|
|
1481
1513
|
* @example {
|
|
1482
1514
|
* "error": "unauthorized",
|
|
1483
|
-
* "message": "Invalid
|
|
1515
|
+
* "message": "Invalid or missing bearer token",
|
|
1484
1516
|
* "statusCode": 401
|
|
1485
1517
|
* }
|
|
1486
1518
|
*/
|
|
1487
1519
|
"application/json": components["schemas"]["ApiError"];
|
|
1488
1520
|
};
|
|
1489
1521
|
};
|
|
1522
|
+
/** @description Forbidden - missing required scope */
|
|
1523
|
+
403: {
|
|
1524
|
+
headers: {
|
|
1525
|
+
[name: string]: unknown;
|
|
1526
|
+
};
|
|
1527
|
+
content: {
|
|
1528
|
+
/**
|
|
1529
|
+
* @example {
|
|
1530
|
+
* "error": "forbidden",
|
|
1531
|
+
* "message": "Missing required scope: specs:write",
|
|
1532
|
+
* "statusCode": 403
|
|
1533
|
+
* }
|
|
1534
|
+
*/
|
|
1535
|
+
"application/json": components["schemas"]["ApiError"];
|
|
1536
|
+
};
|
|
1537
|
+
};
|
|
1490
1538
|
/** @description Breaking change detected. The spec breaks backward compatibility with the previous version. Use `force: true` with a `reason` to override and create an audit record. */
|
|
1491
1539
|
409: {
|
|
1492
1540
|
headers: {
|
|
@@ -1615,13 +1663,29 @@ interface operations {
|
|
|
1615
1663
|
/**
|
|
1616
1664
|
* @example {
|
|
1617
1665
|
* "error": "unauthorized",
|
|
1618
|
-
* "message": "Invalid
|
|
1666
|
+
* "message": "Invalid or missing bearer token",
|
|
1619
1667
|
* "statusCode": 401
|
|
1620
1668
|
* }
|
|
1621
1669
|
*/
|
|
1622
1670
|
"application/json": components["schemas"]["ApiError"];
|
|
1623
1671
|
};
|
|
1624
1672
|
};
|
|
1673
|
+
/** @description Forbidden - missing required scope */
|
|
1674
|
+
403: {
|
|
1675
|
+
headers: {
|
|
1676
|
+
[name: string]: unknown;
|
|
1677
|
+
};
|
|
1678
|
+
content: {
|
|
1679
|
+
/**
|
|
1680
|
+
* @example {
|
|
1681
|
+
* "error": "forbidden",
|
|
1682
|
+
* "message": "Missing required scope: specs:write",
|
|
1683
|
+
* "statusCode": 403
|
|
1684
|
+
* }
|
|
1685
|
+
*/
|
|
1686
|
+
"application/json": components["schemas"]["ApiError"];
|
|
1687
|
+
};
|
|
1688
|
+
};
|
|
1625
1689
|
/** @description Spec not found */
|
|
1626
1690
|
404: {
|
|
1627
1691
|
headers: {
|
|
@@ -1687,13 +1751,29 @@ interface operations {
|
|
|
1687
1751
|
/**
|
|
1688
1752
|
* @example {
|
|
1689
1753
|
* "error": "unauthorized",
|
|
1690
|
-
* "message": "Invalid
|
|
1754
|
+
* "message": "Invalid or missing bearer token",
|
|
1691
1755
|
* "statusCode": 401
|
|
1692
1756
|
* }
|
|
1693
1757
|
*/
|
|
1694
1758
|
"application/json": components["schemas"]["ApiError"];
|
|
1695
1759
|
};
|
|
1696
1760
|
};
|
|
1761
|
+
/** @description Forbidden - missing required scope */
|
|
1762
|
+
403: {
|
|
1763
|
+
headers: {
|
|
1764
|
+
[name: string]: unknown;
|
|
1765
|
+
};
|
|
1766
|
+
content: {
|
|
1767
|
+
/**
|
|
1768
|
+
* @example {
|
|
1769
|
+
* "error": "forbidden",
|
|
1770
|
+
* "message": "Missing required scope: specs:write",
|
|
1771
|
+
* "statusCode": 403
|
|
1772
|
+
* }
|
|
1773
|
+
*/
|
|
1774
|
+
"application/json": components["schemas"]["ApiError"];
|
|
1775
|
+
};
|
|
1776
|
+
};
|
|
1697
1777
|
/** @description Spec not found */
|
|
1698
1778
|
404: {
|
|
1699
1779
|
headers: {
|
|
@@ -1808,13 +1888,29 @@ interface operations {
|
|
|
1808
1888
|
/**
|
|
1809
1889
|
* @example {
|
|
1810
1890
|
* "error": "unauthorized",
|
|
1811
|
-
* "message": "Invalid
|
|
1891
|
+
* "message": "Invalid or missing bearer token",
|
|
1812
1892
|
* "statusCode": 401
|
|
1813
1893
|
* }
|
|
1814
1894
|
*/
|
|
1815
1895
|
"application/json": components["schemas"]["ApiError"];
|
|
1816
1896
|
};
|
|
1817
1897
|
};
|
|
1898
|
+
/** @description Forbidden - missing required scope */
|
|
1899
|
+
403: {
|
|
1900
|
+
headers: {
|
|
1901
|
+
[name: string]: unknown;
|
|
1902
|
+
};
|
|
1903
|
+
content: {
|
|
1904
|
+
/**
|
|
1905
|
+
* @example {
|
|
1906
|
+
* "error": "forbidden",
|
|
1907
|
+
* "message": "Missing required scope: specs:write",
|
|
1908
|
+
* "statusCode": 403
|
|
1909
|
+
* }
|
|
1910
|
+
*/
|
|
1911
|
+
"application/json": components["schemas"]["ApiError"];
|
|
1912
|
+
};
|
|
1913
|
+
};
|
|
1818
1914
|
/** @description Spec not found */
|
|
1819
1915
|
404: {
|
|
1820
1916
|
headers: {
|
|
@@ -1921,13 +2017,29 @@ interface operations {
|
|
|
1921
2017
|
/**
|
|
1922
2018
|
* @example {
|
|
1923
2019
|
* "error": "unauthorized",
|
|
1924
|
-
* "message": "Invalid
|
|
2020
|
+
* "message": "Invalid or missing bearer token",
|
|
1925
2021
|
* "statusCode": 401
|
|
1926
2022
|
* }
|
|
1927
2023
|
*/
|
|
1928
2024
|
"application/json": components["schemas"]["ApiError"];
|
|
1929
2025
|
};
|
|
1930
2026
|
};
|
|
2027
|
+
/** @description Forbidden - missing required scope */
|
|
2028
|
+
403: {
|
|
2029
|
+
headers: {
|
|
2030
|
+
[name: string]: unknown;
|
|
2031
|
+
};
|
|
2032
|
+
content: {
|
|
2033
|
+
/**
|
|
2034
|
+
* @example {
|
|
2035
|
+
* "error": "forbidden",
|
|
2036
|
+
* "message": "Missing required scope: specs:write",
|
|
2037
|
+
* "statusCode": 403
|
|
2038
|
+
* }
|
|
2039
|
+
*/
|
|
2040
|
+
"application/json": components["schemas"]["ApiError"];
|
|
2041
|
+
};
|
|
2042
|
+
};
|
|
1931
2043
|
/** @description Spec not found */
|
|
1932
2044
|
404: {
|
|
1933
2045
|
headers: {
|
|
@@ -2015,13 +2127,29 @@ interface operations {
|
|
|
2015
2127
|
/**
|
|
2016
2128
|
* @example {
|
|
2017
2129
|
* "error": "unauthorized",
|
|
2018
|
-
* "message": "Invalid
|
|
2130
|
+
* "message": "Invalid or missing bearer token",
|
|
2019
2131
|
* "statusCode": 401
|
|
2020
2132
|
* }
|
|
2021
2133
|
*/
|
|
2022
2134
|
"application/json": components["schemas"]["ApiError"];
|
|
2023
2135
|
};
|
|
2024
2136
|
};
|
|
2137
|
+
/** @description Forbidden - missing required scope */
|
|
2138
|
+
403: {
|
|
2139
|
+
headers: {
|
|
2140
|
+
[name: string]: unknown;
|
|
2141
|
+
};
|
|
2142
|
+
content: {
|
|
2143
|
+
/**
|
|
2144
|
+
* @example {
|
|
2145
|
+
* "error": "forbidden",
|
|
2146
|
+
* "message": "Missing required scope: specs:write",
|
|
2147
|
+
* "statusCode": 403
|
|
2148
|
+
* }
|
|
2149
|
+
*/
|
|
2150
|
+
"application/json": components["schemas"]["ApiError"];
|
|
2151
|
+
};
|
|
2152
|
+
};
|
|
2025
2153
|
/** @description Spec or version not found */
|
|
2026
2154
|
404: {
|
|
2027
2155
|
headers: {
|
|
@@ -2090,13 +2218,29 @@ interface operations {
|
|
|
2090
2218
|
/**
|
|
2091
2219
|
* @example {
|
|
2092
2220
|
* "error": "unauthorized",
|
|
2093
|
-
* "message": "Invalid
|
|
2221
|
+
* "message": "Invalid or missing bearer token",
|
|
2094
2222
|
* "statusCode": 401
|
|
2095
2223
|
* }
|
|
2096
2224
|
*/
|
|
2097
2225
|
"application/json": components["schemas"]["ApiError"];
|
|
2098
2226
|
};
|
|
2099
2227
|
};
|
|
2228
|
+
/** @description Forbidden - missing required scope */
|
|
2229
|
+
403: {
|
|
2230
|
+
headers: {
|
|
2231
|
+
[name: string]: unknown;
|
|
2232
|
+
};
|
|
2233
|
+
content: {
|
|
2234
|
+
/**
|
|
2235
|
+
* @example {
|
|
2236
|
+
* "error": "forbidden",
|
|
2237
|
+
* "message": "Missing required scope: specs:write",
|
|
2238
|
+
* "statusCode": 403
|
|
2239
|
+
* }
|
|
2240
|
+
*/
|
|
2241
|
+
"application/json": components["schemas"]["ApiError"];
|
|
2242
|
+
};
|
|
2243
|
+
};
|
|
2100
2244
|
/** @description Spec not found */
|
|
2101
2245
|
404: {
|
|
2102
2246
|
headers: {
|
|
@@ -2165,13 +2309,29 @@ interface operations {
|
|
|
2165
2309
|
/**
|
|
2166
2310
|
* @example {
|
|
2167
2311
|
* "error": "unauthorized",
|
|
2168
|
-
* "message": "Invalid
|
|
2312
|
+
* "message": "Invalid or missing bearer token",
|
|
2169
2313
|
* "statusCode": 401
|
|
2170
2314
|
* }
|
|
2171
2315
|
*/
|
|
2172
2316
|
"application/json": components["schemas"]["ApiError"];
|
|
2173
2317
|
};
|
|
2174
2318
|
};
|
|
2319
|
+
/** @description Forbidden - missing required scope */
|
|
2320
|
+
403: {
|
|
2321
|
+
headers: {
|
|
2322
|
+
[name: string]: unknown;
|
|
2323
|
+
};
|
|
2324
|
+
content: {
|
|
2325
|
+
/**
|
|
2326
|
+
* @example {
|
|
2327
|
+
* "error": "forbidden",
|
|
2328
|
+
* "message": "Missing required scope: specs:write",
|
|
2329
|
+
* "statusCode": 403
|
|
2330
|
+
* }
|
|
2331
|
+
*/
|
|
2332
|
+
"application/json": components["schemas"]["ApiError"];
|
|
2333
|
+
};
|
|
2334
|
+
};
|
|
2175
2335
|
/** @description Spec not found */
|
|
2176
2336
|
404: {
|
|
2177
2337
|
headers: {
|
|
@@ -2245,13 +2405,29 @@ interface operations {
|
|
|
2245
2405
|
/**
|
|
2246
2406
|
* @example {
|
|
2247
2407
|
* "error": "unauthorized",
|
|
2248
|
-
* "message": "Invalid
|
|
2408
|
+
* "message": "Invalid or missing bearer token",
|
|
2249
2409
|
* "statusCode": 401
|
|
2250
2410
|
* }
|
|
2251
2411
|
*/
|
|
2252
2412
|
"application/json": components["schemas"]["ApiError"];
|
|
2253
2413
|
};
|
|
2254
2414
|
};
|
|
2415
|
+
/** @description Forbidden - missing required scope */
|
|
2416
|
+
403: {
|
|
2417
|
+
headers: {
|
|
2418
|
+
[name: string]: unknown;
|
|
2419
|
+
};
|
|
2420
|
+
content: {
|
|
2421
|
+
/**
|
|
2422
|
+
* @example {
|
|
2423
|
+
* "error": "forbidden",
|
|
2424
|
+
* "message": "Missing required scope: specs:write",
|
|
2425
|
+
* "statusCode": 403
|
|
2426
|
+
* }
|
|
2427
|
+
*/
|
|
2428
|
+
"application/json": components["schemas"]["ApiError"];
|
|
2429
|
+
};
|
|
2430
|
+
};
|
|
2255
2431
|
/** @description Spec or version not found */
|
|
2256
2432
|
404: {
|
|
2257
2433
|
headers: {
|
|
@@ -2325,13 +2501,29 @@ interface operations {
|
|
|
2325
2501
|
/**
|
|
2326
2502
|
* @example {
|
|
2327
2503
|
* "error": "unauthorized",
|
|
2328
|
-
* "message": "Invalid
|
|
2504
|
+
* "message": "Invalid or missing bearer token",
|
|
2329
2505
|
* "statusCode": 401
|
|
2330
2506
|
* }
|
|
2331
2507
|
*/
|
|
2332
2508
|
"application/json": components["schemas"]["ApiError"];
|
|
2333
2509
|
};
|
|
2334
2510
|
};
|
|
2511
|
+
/** @description Forbidden - missing required scope */
|
|
2512
|
+
403: {
|
|
2513
|
+
headers: {
|
|
2514
|
+
[name: string]: unknown;
|
|
2515
|
+
};
|
|
2516
|
+
content: {
|
|
2517
|
+
/**
|
|
2518
|
+
* @example {
|
|
2519
|
+
* "error": "forbidden",
|
|
2520
|
+
* "message": "Missing required scope: specs:write",
|
|
2521
|
+
* "statusCode": 403
|
|
2522
|
+
* }
|
|
2523
|
+
*/
|
|
2524
|
+
"application/json": components["schemas"]["ApiError"];
|
|
2525
|
+
};
|
|
2526
|
+
};
|
|
2335
2527
|
/** @description Spec or version not found */
|
|
2336
2528
|
404: {
|
|
2337
2529
|
headers: {
|
|
@@ -2422,13 +2614,29 @@ interface operations {
|
|
|
2422
2614
|
/**
|
|
2423
2615
|
* @example {
|
|
2424
2616
|
* "error": "unauthorized",
|
|
2425
|
-
* "message": "Invalid
|
|
2617
|
+
* "message": "Invalid or missing bearer token",
|
|
2426
2618
|
* "statusCode": 401
|
|
2427
2619
|
* }
|
|
2428
2620
|
*/
|
|
2429
2621
|
"application/json": components["schemas"]["ApiError"];
|
|
2430
2622
|
};
|
|
2431
2623
|
};
|
|
2624
|
+
/** @description Forbidden - missing required scope */
|
|
2625
|
+
403: {
|
|
2626
|
+
headers: {
|
|
2627
|
+
[name: string]: unknown;
|
|
2628
|
+
};
|
|
2629
|
+
content: {
|
|
2630
|
+
/**
|
|
2631
|
+
* @example {
|
|
2632
|
+
* "error": "forbidden",
|
|
2633
|
+
* "message": "Missing required scope: specs:write",
|
|
2634
|
+
* "statusCode": 403
|
|
2635
|
+
* }
|
|
2636
|
+
*/
|
|
2637
|
+
"application/json": components["schemas"]["ApiError"];
|
|
2638
|
+
};
|
|
2639
|
+
};
|
|
2432
2640
|
/** @description Spec, version, or compat report not found */
|
|
2433
2641
|
404: {
|
|
2434
2642
|
headers: {
|
|
@@ -2554,13 +2762,29 @@ interface operations {
|
|
|
2554
2762
|
/**
|
|
2555
2763
|
* @example {
|
|
2556
2764
|
* "error": "unauthorized",
|
|
2557
|
-
* "message": "Invalid
|
|
2765
|
+
* "message": "Invalid or missing bearer token",
|
|
2558
2766
|
* "statusCode": 401
|
|
2559
2767
|
* }
|
|
2560
2768
|
*/
|
|
2561
2769
|
"application/json": components["schemas"]["ApiError"];
|
|
2562
2770
|
};
|
|
2563
2771
|
};
|
|
2772
|
+
/** @description Forbidden - missing required scope */
|
|
2773
|
+
403: {
|
|
2774
|
+
headers: {
|
|
2775
|
+
[name: string]: unknown;
|
|
2776
|
+
};
|
|
2777
|
+
content: {
|
|
2778
|
+
/**
|
|
2779
|
+
* @example {
|
|
2780
|
+
* "error": "forbidden",
|
|
2781
|
+
* "message": "Missing required scope: specs:write",
|
|
2782
|
+
* "statusCode": 403
|
|
2783
|
+
* }
|
|
2784
|
+
*/
|
|
2785
|
+
"application/json": components["schemas"]["ApiError"];
|
|
2786
|
+
};
|
|
2787
|
+
};
|
|
2564
2788
|
/** @description Spec or version not found */
|
|
2565
2789
|
404: {
|
|
2566
2790
|
headers: {
|
|
@@ -2637,13 +2861,29 @@ interface operations {
|
|
|
2637
2861
|
/**
|
|
2638
2862
|
* @example {
|
|
2639
2863
|
* "error": "unauthorized",
|
|
2640
|
-
* "message": "Invalid
|
|
2864
|
+
* "message": "Invalid or missing bearer token",
|
|
2641
2865
|
* "statusCode": 401
|
|
2642
2866
|
* }
|
|
2643
2867
|
*/
|
|
2644
2868
|
"application/json": components["schemas"]["ApiError"];
|
|
2645
2869
|
};
|
|
2646
2870
|
};
|
|
2871
|
+
/** @description Forbidden - missing required scope */
|
|
2872
|
+
403: {
|
|
2873
|
+
headers: {
|
|
2874
|
+
[name: string]: unknown;
|
|
2875
|
+
};
|
|
2876
|
+
content: {
|
|
2877
|
+
/**
|
|
2878
|
+
* @example {
|
|
2879
|
+
* "error": "forbidden",
|
|
2880
|
+
* "message": "Missing required scope: specs:write",
|
|
2881
|
+
* "statusCode": 403
|
|
2882
|
+
* }
|
|
2883
|
+
*/
|
|
2884
|
+
"application/json": components["schemas"]["ApiError"];
|
|
2885
|
+
};
|
|
2886
|
+
};
|
|
2647
2887
|
/** @description Internal server error */
|
|
2648
2888
|
500: {
|
|
2649
2889
|
headers: {
|
|
@@ -2824,13 +3064,29 @@ interface operations {
|
|
|
2824
3064
|
/**
|
|
2825
3065
|
* @example {
|
|
2826
3066
|
* "error": "unauthorized",
|
|
2827
|
-
* "message": "Invalid
|
|
3067
|
+
* "message": "Invalid or missing bearer token",
|
|
2828
3068
|
* "statusCode": 401
|
|
2829
3069
|
* }
|
|
2830
3070
|
*/
|
|
2831
3071
|
"application/json": components["schemas"]["ApiError"];
|
|
2832
3072
|
};
|
|
2833
3073
|
};
|
|
3074
|
+
/** @description Forbidden - missing required scope */
|
|
3075
|
+
403: {
|
|
3076
|
+
headers: {
|
|
3077
|
+
[name: string]: unknown;
|
|
3078
|
+
};
|
|
3079
|
+
content: {
|
|
3080
|
+
/**
|
|
3081
|
+
* @example {
|
|
3082
|
+
* "error": "forbidden",
|
|
3083
|
+
* "message": "Missing required scope: specs:write",
|
|
3084
|
+
* "statusCode": 403
|
|
3085
|
+
* }
|
|
3086
|
+
*/
|
|
3087
|
+
"application/json": components["schemas"]["ApiError"];
|
|
3088
|
+
};
|
|
3089
|
+
};
|
|
2834
3090
|
/** @description Gateway config name already exists with different spec */
|
|
2835
3091
|
409: {
|
|
2836
3092
|
headers: {
|
|
@@ -2927,13 +3183,29 @@ interface operations {
|
|
|
2927
3183
|
/**
|
|
2928
3184
|
* @example {
|
|
2929
3185
|
* "error": "unauthorized",
|
|
2930
|
-
* "message": "Invalid
|
|
3186
|
+
* "message": "Invalid or missing bearer token",
|
|
2931
3187
|
* "statusCode": 401
|
|
2932
3188
|
* }
|
|
2933
3189
|
*/
|
|
2934
3190
|
"application/json": components["schemas"]["ApiError"];
|
|
2935
3191
|
};
|
|
2936
3192
|
};
|
|
3193
|
+
/** @description Forbidden - missing required scope */
|
|
3194
|
+
403: {
|
|
3195
|
+
headers: {
|
|
3196
|
+
[name: string]: unknown;
|
|
3197
|
+
};
|
|
3198
|
+
content: {
|
|
3199
|
+
/**
|
|
3200
|
+
* @example {
|
|
3201
|
+
* "error": "forbidden",
|
|
3202
|
+
* "message": "Missing required scope: specs:write",
|
|
3203
|
+
* "statusCode": 403
|
|
3204
|
+
* }
|
|
3205
|
+
*/
|
|
3206
|
+
"application/json": components["schemas"]["ApiError"];
|
|
3207
|
+
};
|
|
3208
|
+
};
|
|
2937
3209
|
/** @description Gateway config not found */
|
|
2938
3210
|
404: {
|
|
2939
3211
|
headers: {
|
|
@@ -3048,13 +3320,29 @@ interface operations {
|
|
|
3048
3320
|
/**
|
|
3049
3321
|
* @example {
|
|
3050
3322
|
* "error": "unauthorized",
|
|
3051
|
-
* "message": "Invalid
|
|
3323
|
+
* "message": "Invalid or missing bearer token",
|
|
3052
3324
|
* "statusCode": 401
|
|
3053
3325
|
* }
|
|
3054
3326
|
*/
|
|
3055
3327
|
"application/json": components["schemas"]["ApiError"];
|
|
3056
3328
|
};
|
|
3057
3329
|
};
|
|
3330
|
+
/** @description Forbidden - missing required scope */
|
|
3331
|
+
403: {
|
|
3332
|
+
headers: {
|
|
3333
|
+
[name: string]: unknown;
|
|
3334
|
+
};
|
|
3335
|
+
content: {
|
|
3336
|
+
/**
|
|
3337
|
+
* @example {
|
|
3338
|
+
* "error": "forbidden",
|
|
3339
|
+
* "message": "Missing required scope: specs:write",
|
|
3340
|
+
* "statusCode": 403
|
|
3341
|
+
* }
|
|
3342
|
+
*/
|
|
3343
|
+
"application/json": components["schemas"]["ApiError"];
|
|
3344
|
+
};
|
|
3345
|
+
};
|
|
3058
3346
|
/** @description Gateway config not found */
|
|
3059
3347
|
404: {
|
|
3060
3348
|
headers: {
|
|
@@ -3173,13 +3461,29 @@ interface operations {
|
|
|
3173
3461
|
/**
|
|
3174
3462
|
* @example {
|
|
3175
3463
|
* "error": "unauthorized",
|
|
3176
|
-
* "message": "Invalid
|
|
3464
|
+
* "message": "Invalid or missing bearer token",
|
|
3177
3465
|
* "statusCode": 401
|
|
3178
3466
|
* }
|
|
3179
3467
|
*/
|
|
3180
3468
|
"application/json": components["schemas"]["ApiError"];
|
|
3181
3469
|
};
|
|
3182
3470
|
};
|
|
3471
|
+
/** @description Forbidden - missing required scope */
|
|
3472
|
+
403: {
|
|
3473
|
+
headers: {
|
|
3474
|
+
[name: string]: unknown;
|
|
3475
|
+
};
|
|
3476
|
+
content: {
|
|
3477
|
+
/**
|
|
3478
|
+
* @example {
|
|
3479
|
+
* "error": "forbidden",
|
|
3480
|
+
* "message": "Missing required scope: specs:write",
|
|
3481
|
+
* "statusCode": 403
|
|
3482
|
+
* }
|
|
3483
|
+
*/
|
|
3484
|
+
"application/json": components["schemas"]["ApiError"];
|
|
3485
|
+
};
|
|
3486
|
+
};
|
|
3183
3487
|
/** @description Gateway config or version not found */
|
|
3184
3488
|
404: {
|
|
3185
3489
|
headers: {
|
|
@@ -3300,13 +3604,29 @@ interface operations {
|
|
|
3300
3604
|
/**
|
|
3301
3605
|
* @example {
|
|
3302
3606
|
* "error": "unauthorized",
|
|
3303
|
-
* "message": "Invalid
|
|
3607
|
+
* "message": "Invalid or missing bearer token",
|
|
3304
3608
|
* "statusCode": 401
|
|
3305
3609
|
* }
|
|
3306
3610
|
*/
|
|
3307
3611
|
"application/json": components["schemas"]["ApiError"];
|
|
3308
3612
|
};
|
|
3309
3613
|
};
|
|
3614
|
+
/** @description Forbidden - missing required scope */
|
|
3615
|
+
403: {
|
|
3616
|
+
headers: {
|
|
3617
|
+
[name: string]: unknown;
|
|
3618
|
+
};
|
|
3619
|
+
content: {
|
|
3620
|
+
/**
|
|
3621
|
+
* @example {
|
|
3622
|
+
* "error": "forbidden",
|
|
3623
|
+
* "message": "Missing required scope: specs:write",
|
|
3624
|
+
* "statusCode": 403
|
|
3625
|
+
* }
|
|
3626
|
+
*/
|
|
3627
|
+
"application/json": components["schemas"]["ApiError"];
|
|
3628
|
+
};
|
|
3629
|
+
};
|
|
3310
3630
|
/** @description Internal server error */
|
|
3311
3631
|
500: {
|
|
3312
3632
|
headers: {
|
|
@@ -3398,13 +3718,29 @@ interface operations {
|
|
|
3398
3718
|
/**
|
|
3399
3719
|
* @example {
|
|
3400
3720
|
* "error": "unauthorized",
|
|
3401
|
-
* "message": "Invalid
|
|
3721
|
+
* "message": "Invalid or missing bearer token",
|
|
3402
3722
|
* "statusCode": 401
|
|
3403
3723
|
* }
|
|
3404
3724
|
*/
|
|
3405
3725
|
"application/json": components["schemas"]["ApiError"];
|
|
3406
3726
|
};
|
|
3407
3727
|
};
|
|
3728
|
+
/** @description Forbidden - missing required scope */
|
|
3729
|
+
403: {
|
|
3730
|
+
headers: {
|
|
3731
|
+
[name: string]: unknown;
|
|
3732
|
+
};
|
|
3733
|
+
content: {
|
|
3734
|
+
/**
|
|
3735
|
+
* @example {
|
|
3736
|
+
* "error": "forbidden",
|
|
3737
|
+
* "message": "Missing required scope: specs:write",
|
|
3738
|
+
* "statusCode": 403
|
|
3739
|
+
* }
|
|
3740
|
+
*/
|
|
3741
|
+
"application/json": components["schemas"]["ApiError"];
|
|
3742
|
+
};
|
|
3743
|
+
};
|
|
3408
3744
|
/** @description Internal server error */
|
|
3409
3745
|
500: {
|
|
3410
3746
|
headers: {
|
|
@@ -3474,13 +3810,29 @@ interface operations {
|
|
|
3474
3810
|
/**
|
|
3475
3811
|
* @example {
|
|
3476
3812
|
* "error": "unauthorized",
|
|
3477
|
-
* "message": "Invalid
|
|
3813
|
+
* "message": "Invalid or missing bearer token",
|
|
3478
3814
|
* "statusCode": 401
|
|
3479
3815
|
* }
|
|
3480
3816
|
*/
|
|
3481
3817
|
"application/json": components["schemas"]["ApiError"];
|
|
3482
3818
|
};
|
|
3483
3819
|
};
|
|
3820
|
+
/** @description Forbidden - missing required scope */
|
|
3821
|
+
403: {
|
|
3822
|
+
headers: {
|
|
3823
|
+
[name: string]: unknown;
|
|
3824
|
+
};
|
|
3825
|
+
content: {
|
|
3826
|
+
/**
|
|
3827
|
+
* @example {
|
|
3828
|
+
* "error": "forbidden",
|
|
3829
|
+
* "message": "Missing required scope: specs:write",
|
|
3830
|
+
* "statusCode": 403
|
|
3831
|
+
* }
|
|
3832
|
+
*/
|
|
3833
|
+
"application/json": components["schemas"]["ApiError"];
|
|
3834
|
+
};
|
|
3835
|
+
};
|
|
3484
3836
|
/** @description Internal server error */
|
|
3485
3837
|
500: {
|
|
3486
3838
|
headers: {
|
|
@@ -3551,13 +3903,29 @@ interface operations {
|
|
|
3551
3903
|
/**
|
|
3552
3904
|
* @example {
|
|
3553
3905
|
* "error": "unauthorized",
|
|
3554
|
-
* "message": "Invalid
|
|
3906
|
+
* "message": "Invalid or missing bearer token",
|
|
3555
3907
|
* "statusCode": 401
|
|
3556
3908
|
* }
|
|
3557
3909
|
*/
|
|
3558
3910
|
"application/json": components["schemas"]["ApiError"];
|
|
3559
3911
|
};
|
|
3560
3912
|
};
|
|
3913
|
+
/** @description Forbidden - missing required scope */
|
|
3914
|
+
403: {
|
|
3915
|
+
headers: {
|
|
3916
|
+
[name: string]: unknown;
|
|
3917
|
+
};
|
|
3918
|
+
content: {
|
|
3919
|
+
/**
|
|
3920
|
+
* @example {
|
|
3921
|
+
* "error": "forbidden",
|
|
3922
|
+
* "message": "Missing required scope: specs:write",
|
|
3923
|
+
* "statusCode": 403
|
|
3924
|
+
* }
|
|
3925
|
+
*/
|
|
3926
|
+
"application/json": components["schemas"]["ApiError"];
|
|
3927
|
+
};
|
|
3928
|
+
};
|
|
3561
3929
|
/** @description Log entry not found */
|
|
3562
3930
|
404: {
|
|
3563
3931
|
headers: {
|