@scalar/workspace-store 0.8.0 → 0.9.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.
Files changed (49) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +15 -0
  3. package/dist/client.d.ts +10 -3
  4. package/dist/client.d.ts.map +1 -1
  5. package/dist/client.js +50 -1
  6. package/dist/client.js.map +2 -2
  7. package/dist/helpers/general.d.ts +25 -0
  8. package/dist/helpers/general.d.ts.map +1 -1
  9. package/dist/helpers/general.js +4 -0
  10. package/dist/helpers/general.js.map +2 -2
  11. package/dist/mutators/helpers.d.ts +1243 -1155
  12. package/dist/mutators/helpers.d.ts.map +1 -1
  13. package/dist/navigation/helpers/traverse-description.d.ts +2 -1
  14. package/dist/navigation/helpers/traverse-description.d.ts.map +1 -1
  15. package/dist/navigation/helpers/traverse-description.js.map +2 -2
  16. package/dist/navigation/helpers/traverse-document.d.ts +89 -2
  17. package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
  18. package/dist/navigation/helpers/traverse-document.js.map +2 -2
  19. package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
  20. package/dist/navigation/helpers/traverse-paths.js.map +2 -2
  21. package/dist/navigation/helpers/traverse-schemas.d.ts +2 -1
  22. package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
  23. package/dist/navigation/helpers/traverse-schemas.js.map +2 -2
  24. package/dist/navigation/helpers/traverse-tags.d.ts +2 -1
  25. package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
  26. package/dist/navigation/helpers/traverse-tags.js.map +2 -2
  27. package/dist/navigation/helpers/traverse-webhooks.d.ts +2 -1
  28. package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
  29. package/dist/navigation/helpers/traverse-webhooks.js.map +2 -2
  30. package/dist/navigation/types.d.ts +1 -39
  31. package/dist/navigation/types.d.ts.map +1 -1
  32. package/dist/schemas/inmemory-workspace.d.ts +68 -0
  33. package/dist/schemas/inmemory-workspace.d.ts.map +1 -0
  34. package/dist/schemas/inmemory-workspace.js +14 -0
  35. package/dist/schemas/inmemory-workspace.js.map +7 -0
  36. package/dist/schemas/navigation.d.ts +148 -0
  37. package/dist/schemas/navigation.d.ts.map +1 -0
  38. package/dist/schemas/navigation.js +76 -0
  39. package/dist/schemas/navigation.js.map +7 -0
  40. package/dist/schemas/v3.1/strict/openapi-document.d.ts +47 -0
  41. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  42. package/dist/schemas/v3.1/strict/openapi-document.js +4 -1
  43. package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
  44. package/dist/schemas/workspace-specification/index.d.ts +47 -0
  45. package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
  46. package/dist/server.d.ts +141 -141
  47. package/dist/server.d.ts.map +1 -1
  48. package/dist/server.js.map +1 -1
  49. package/package.json +6 -6
package/dist/server.d.ts CHANGED
@@ -4,7 +4,7 @@ import { extensions } from './schemas/extensions.js';
4
4
  import { type OpenApiDocument } from './schemas/v3.1/strict/openapi-document.js';
5
5
  import type { PathsObject } from './schemas/v3.1/strict/paths.js';
6
6
  import type { OperationObject } from './schemas/v3.1/strict/path-operations.js';
7
- import type { TraversedEntry } from './navigation/types.js';
7
+ import type { TraversedEntry } from './schemas/navigation.js';
8
8
  export declare const WORKSPACE_FILE_NAME = "scalar-workspace.json";
9
9
  type WorkspaceDocumentMetaInput = {
10
10
  name: string;
@@ -80,7 +80,7 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
80
80
  deprecated?: boolean | undefined;
81
81
  allowEmptyValue?: boolean | undefined;
82
82
  name: string;
83
- in: "query" | "header" | "path" | "cookie";
83
+ in: "path" | "query" | "header" | "cookie";
84
84
  } & {
85
85
  [x: `x-${string}`]: unknown;
86
86
  } & {
@@ -154,7 +154,7 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
154
154
  deprecated?: boolean | undefined;
155
155
  allowEmptyValue?: boolean | undefined;
156
156
  name: string;
157
- in: "query" | "header" | "path" | "cookie";
157
+ in: "path" | "query" | "header" | "cookie";
158
158
  } & {
159
159
  [x: `x-${string}`]: unknown;
160
160
  } & {
@@ -520,17 +520,17 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
520
520
  [x: string]: ({
521
521
  description?: string | undefined;
522
522
  summary?: string | undefined;
523
- value?: any;
524
- externalValue?: string | undefined;
523
+ $ref: string;
524
+ } & {
525
+ $status?: "loading" | "error" | undefined;
526
+ $global?: boolean | undefined;
525
527
  } & {
526
528
  [x: `x-${string}`]: unknown;
527
529
  }) | ({
528
530
  description?: string | undefined;
529
531
  summary?: string | undefined;
530
- $ref: string;
531
- } & {
532
- $status?: "loading" | "error" | undefined;
533
- $global?: boolean | undefined;
532
+ value?: any;
533
+ externalValue?: string | undefined;
534
534
  } & {
535
535
  [x: `x-${string}`]: unknown;
536
536
  });
@@ -538,15 +538,6 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
538
538
  style?: string | undefined;
539
539
  explode?: boolean | undefined;
540
540
  schema?: ({
541
- description?: string | undefined;
542
- summary?: string | undefined;
543
- $ref: string;
544
- } & {
545
- $status?: "loading" | "error" | undefined;
546
- $global?: boolean | undefined;
547
- } & {
548
- [x: `x-${string}`]: unknown;
549
- }) | ({
550
541
  discriminator?: ({
551
542
  mapping?: {
552
543
  [x: string]: string;
@@ -578,6 +569,15 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
578
569
  'x-tags'?: string[] | undefined;
579
570
  } & {
580
571
  [x: string]: unknown;
572
+ }) | ({
573
+ description?: string | undefined;
574
+ summary?: string | undefined;
575
+ $ref: string;
576
+ } & {
577
+ $status?: "loading" | "error" | undefined;
578
+ $global?: boolean | undefined;
579
+ } & {
580
+ [x: `x-${string}`]: unknown;
581
581
  }) | undefined;
582
582
  example: any;
583
583
  }) | ({
@@ -594,17 +594,17 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
594
594
  [x: string]: ({
595
595
  description?: string | undefined;
596
596
  summary?: string | undefined;
597
- value?: any;
598
- externalValue?: string | undefined;
597
+ $ref: string;
598
+ } & {
599
+ $status?: "loading" | "error" | undefined;
600
+ $global?: boolean | undefined;
599
601
  } & {
600
602
  [x: `x-${string}`]: unknown;
601
603
  }) | ({
602
604
  description?: string | undefined;
603
605
  summary?: string | undefined;
604
- $ref: string;
605
- } & {
606
- $status?: "loading" | "error" | undefined;
607
- $global?: boolean | undefined;
606
+ value?: any;
607
+ externalValue?: string | undefined;
608
608
  } & {
609
609
  [x: `x-${string}`]: unknown;
610
610
  });
@@ -657,17 +657,17 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
657
657
  [x: string]: ({
658
658
  description?: string | undefined;
659
659
  summary?: string | undefined;
660
- value?: any;
661
- externalValue?: string | undefined;
660
+ $ref: string;
661
+ } & {
662
+ $status?: "loading" | "error" | undefined;
663
+ $global?: boolean | undefined;
662
664
  } & {
663
665
  [x: `x-${string}`]: unknown;
664
666
  }) | ({
665
667
  description?: string | undefined;
666
668
  summary?: string | undefined;
667
- $ref: string;
668
- } & {
669
- $status?: "loading" | "error" | undefined;
670
- $global?: boolean | undefined;
669
+ value?: any;
670
+ externalValue?: string | undefined;
671
671
  } & {
672
672
  [x: `x-${string}`]: unknown;
673
673
  });
@@ -675,15 +675,6 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
675
675
  style?: string | undefined;
676
676
  explode?: boolean | undefined;
677
677
  schema?: ({
678
- description?: string | undefined;
679
- summary?: string | undefined;
680
- $ref: string;
681
- } & {
682
- $status?: "loading" | "error" | undefined;
683
- $global?: boolean | undefined;
684
- } & {
685
- [x: `x-${string}`]: unknown;
686
- }) | ({
687
678
  discriminator?: ({
688
679
  mapping?: {
689
680
  [x: string]: string;
@@ -715,6 +706,15 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
715
706
  'x-tags'?: string[] | undefined;
716
707
  } & {
717
708
  [x: string]: unknown;
709
+ }) | ({
710
+ description?: string | undefined;
711
+ summary?: string | undefined;
712
+ $ref: string;
713
+ } & {
714
+ $status?: "loading" | "error" | undefined;
715
+ $global?: boolean | undefined;
716
+ } & {
717
+ [x: `x-${string}`]: unknown;
718
718
  }) | undefined;
719
719
  example: any;
720
720
  }) | ({
@@ -1008,7 +1008,7 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1008
1008
  deprecated?: boolean | undefined;
1009
1009
  allowEmptyValue?: boolean | undefined;
1010
1010
  name: string;
1011
- in: "query" | "header" | "path" | "cookie";
1011
+ in: "path" | "query" | "header" | "cookie";
1012
1012
  } & {
1013
1013
  [x: `x-${string}`]: unknown;
1014
1014
  } & {
@@ -1082,7 +1082,7 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1082
1082
  deprecated?: boolean | undefined;
1083
1083
  allowEmptyValue?: boolean | undefined;
1084
1084
  name: string;
1085
- in: "query" | "header" | "path" | "cookie";
1085
+ in: "path" | "query" | "header" | "cookie";
1086
1086
  } & {
1087
1087
  [x: `x-${string}`]: unknown;
1088
1088
  } & {
@@ -1268,13 +1268,13 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1268
1268
  [x: string]: {
1269
1269
  name?: string | undefined;
1270
1270
  parameters?: {
1271
- query?: {
1271
+ path?: {
1272
1272
  [x: string]: string;
1273
1273
  } | undefined;
1274
- header?: {
1274
+ query?: {
1275
1275
  [x: string]: string;
1276
1276
  } | undefined;
1277
- path?: {
1277
+ header?: {
1278
1278
  [x: string]: string;
1279
1279
  } | undefined;
1280
1280
  cookie?: {
@@ -1310,13 +1310,13 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1310
1310
  [x: string]: {
1311
1311
  name?: string | undefined;
1312
1312
  parameters?: {
1313
- query?: {
1313
+ path?: {
1314
1314
  [x: string]: string;
1315
1315
  } | undefined;
1316
- header?: {
1316
+ query?: {
1317
1317
  [x: string]: string;
1318
1318
  } | undefined;
1319
- path?: {
1319
+ header?: {
1320
1320
  [x: string]: string;
1321
1321
  } | undefined;
1322
1322
  cookie?: {
@@ -1352,13 +1352,13 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1352
1352
  [x: string]: {
1353
1353
  name?: string | undefined;
1354
1354
  parameters?: {
1355
- query?: {
1355
+ path?: {
1356
1356
  [x: string]: string;
1357
1357
  } | undefined;
1358
- header?: {
1358
+ query?: {
1359
1359
  [x: string]: string;
1360
1360
  } | undefined;
1361
- path?: {
1361
+ header?: {
1362
1362
  [x: string]: string;
1363
1363
  } | undefined;
1364
1364
  cookie?: {
@@ -1394,13 +1394,13 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1394
1394
  [x: string]: {
1395
1395
  name?: string | undefined;
1396
1396
  parameters?: {
1397
- query?: {
1397
+ path?: {
1398
1398
  [x: string]: string;
1399
1399
  } | undefined;
1400
- header?: {
1400
+ query?: {
1401
1401
  [x: string]: string;
1402
1402
  } | undefined;
1403
- path?: {
1403
+ header?: {
1404
1404
  [x: string]: string;
1405
1405
  } | undefined;
1406
1406
  cookie?: {
@@ -1436,13 +1436,13 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1436
1436
  [x: string]: {
1437
1437
  name?: string | undefined;
1438
1438
  parameters?: {
1439
- query?: {
1439
+ path?: {
1440
1440
  [x: string]: string;
1441
1441
  } | undefined;
1442
- header?: {
1442
+ query?: {
1443
1443
  [x: string]: string;
1444
1444
  } | undefined;
1445
- path?: {
1445
+ header?: {
1446
1446
  [x: string]: string;
1447
1447
  } | undefined;
1448
1448
  cookie?: {
@@ -1478,13 +1478,13 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1478
1478
  [x: string]: {
1479
1479
  name?: string | undefined;
1480
1480
  parameters?: {
1481
- query?: {
1481
+ path?: {
1482
1482
  [x: string]: string;
1483
1483
  } | undefined;
1484
- header?: {
1484
+ query?: {
1485
1485
  [x: string]: string;
1486
1486
  } | undefined;
1487
- path?: {
1487
+ header?: {
1488
1488
  [x: string]: string;
1489
1489
  } | undefined;
1490
1490
  cookie?: {
@@ -1520,13 +1520,13 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1520
1520
  [x: string]: {
1521
1521
  name?: string | undefined;
1522
1522
  parameters?: {
1523
- query?: {
1523
+ path?: {
1524
1524
  [x: string]: string;
1525
1525
  } | undefined;
1526
- header?: {
1526
+ query?: {
1527
1527
  [x: string]: string;
1528
1528
  } | undefined;
1529
- path?: {
1529
+ header?: {
1530
1530
  [x: string]: string;
1531
1531
  } | undefined;
1532
1532
  cookie?: {
@@ -1562,13 +1562,13 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1562
1562
  [x: string]: {
1563
1563
  name?: string | undefined;
1564
1564
  parameters?: {
1565
- query?: {
1565
+ path?: {
1566
1566
  [x: string]: string;
1567
1567
  } | undefined;
1568
- header?: {
1568
+ query?: {
1569
1569
  [x: string]: string;
1570
1570
  } | undefined;
1571
- path?: {
1571
+ header?: {
1572
1572
  [x: string]: string;
1573
1573
  } | undefined;
1574
1574
  cookie?: {
@@ -1604,13 +1604,13 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1604
1604
  [x: string]: {
1605
1605
  name?: string | undefined;
1606
1606
  parameters?: {
1607
- query?: {
1607
+ path?: {
1608
1608
  [x: string]: string;
1609
1609
  } | undefined;
1610
- header?: {
1610
+ query?: {
1611
1611
  [x: string]: string;
1612
1612
  } | undefined;
1613
- path?: {
1613
+ header?: {
1614
1614
  [x: string]: string;
1615
1615
  } | undefined;
1616
1616
  cookie?: {
@@ -1653,13 +1653,13 @@ export declare function filterHttpMethodsOnly(paths: PathsObject): Record<string
1653
1653
  [x: string]: {
1654
1654
  name?: string | undefined;
1655
1655
  parameters?: {
1656
- query?: {
1656
+ path?: {
1657
1657
  [x: string]: string;
1658
1658
  } | undefined;
1659
- header?: {
1659
+ query?: {
1660
1660
  [x: string]: string;
1661
1661
  } | undefined;
1662
- path?: {
1662
+ header?: {
1663
1663
  [x: string]: string;
1664
1664
  } | undefined;
1665
1665
  cookie?: {
@@ -1725,7 +1725,7 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1725
1725
  deprecated?: boolean | undefined;
1726
1726
  allowEmptyValue?: boolean | undefined;
1727
1727
  name: string;
1728
- in: "query" | "header" | "path" | "cookie";
1728
+ in: "path" | "query" | "header" | "cookie";
1729
1729
  } & {
1730
1730
  [x: `x-${string}`]: unknown;
1731
1731
  } & {
@@ -1799,7 +1799,7 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
1799
1799
  deprecated?: boolean | undefined;
1800
1800
  allowEmptyValue?: boolean | undefined;
1801
1801
  name: string;
1802
- in: "query" | "header" | "path" | "cookie";
1802
+ in: "path" | "query" | "header" | "cookie";
1803
1803
  } & {
1804
1804
  [x: `x-${string}`]: unknown;
1805
1805
  } & {
@@ -2165,17 +2165,17 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2165
2165
  [x: string]: ({
2166
2166
  description?: string | undefined;
2167
2167
  summary?: string | undefined;
2168
- value?: any;
2169
- externalValue?: string | undefined;
2168
+ $ref: string;
2169
+ } & {
2170
+ $status?: "loading" | "error" | undefined;
2171
+ $global?: boolean | undefined;
2170
2172
  } & {
2171
2173
  [x: `x-${string}`]: unknown;
2172
2174
  }) | ({
2173
2175
  description?: string | undefined;
2174
2176
  summary?: string | undefined;
2175
- $ref: string;
2176
- } & {
2177
- $status?: "loading" | "error" | undefined;
2178
- $global?: boolean | undefined;
2177
+ value?: any;
2178
+ externalValue?: string | undefined;
2179
2179
  } & {
2180
2180
  [x: `x-${string}`]: unknown;
2181
2181
  });
@@ -2183,15 +2183,6 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2183
2183
  style?: string | undefined;
2184
2184
  explode?: boolean | undefined;
2185
2185
  schema?: ({
2186
- description?: string | undefined;
2187
- summary?: string | undefined;
2188
- $ref: string;
2189
- } & {
2190
- $status?: "loading" | "error" | undefined;
2191
- $global?: boolean | undefined;
2192
- } & {
2193
- [x: `x-${string}`]: unknown;
2194
- }) | ({
2195
2186
  discriminator?: ({
2196
2187
  mapping?: {
2197
2188
  [x: string]: string;
@@ -2223,6 +2214,15 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2223
2214
  'x-tags'?: string[] | undefined;
2224
2215
  } & {
2225
2216
  [x: string]: unknown;
2217
+ }) | ({
2218
+ description?: string | undefined;
2219
+ summary?: string | undefined;
2220
+ $ref: string;
2221
+ } & {
2222
+ $status?: "loading" | "error" | undefined;
2223
+ $global?: boolean | undefined;
2224
+ } & {
2225
+ [x: `x-${string}`]: unknown;
2226
2226
  }) | undefined;
2227
2227
  example: any;
2228
2228
  }) | ({
@@ -2239,17 +2239,17 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2239
2239
  [x: string]: ({
2240
2240
  description?: string | undefined;
2241
2241
  summary?: string | undefined;
2242
- value?: any;
2243
- externalValue?: string | undefined;
2242
+ $ref: string;
2243
+ } & {
2244
+ $status?: "loading" | "error" | undefined;
2245
+ $global?: boolean | undefined;
2244
2246
  } & {
2245
2247
  [x: `x-${string}`]: unknown;
2246
2248
  }) | ({
2247
2249
  description?: string | undefined;
2248
2250
  summary?: string | undefined;
2249
- $ref: string;
2250
- } & {
2251
- $status?: "loading" | "error" | undefined;
2252
- $global?: boolean | undefined;
2251
+ value?: any;
2252
+ externalValue?: string | undefined;
2253
2253
  } & {
2254
2254
  [x: `x-${string}`]: unknown;
2255
2255
  });
@@ -2302,17 +2302,17 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2302
2302
  [x: string]: ({
2303
2303
  description?: string | undefined;
2304
2304
  summary?: string | undefined;
2305
- value?: any;
2306
- externalValue?: string | undefined;
2305
+ $ref: string;
2306
+ } & {
2307
+ $status?: "loading" | "error" | undefined;
2308
+ $global?: boolean | undefined;
2307
2309
  } & {
2308
2310
  [x: `x-${string}`]: unknown;
2309
2311
  }) | ({
2310
2312
  description?: string | undefined;
2311
2313
  summary?: string | undefined;
2312
- $ref: string;
2313
- } & {
2314
- $status?: "loading" | "error" | undefined;
2315
- $global?: boolean | undefined;
2314
+ value?: any;
2315
+ externalValue?: string | undefined;
2316
2316
  } & {
2317
2317
  [x: `x-${string}`]: unknown;
2318
2318
  });
@@ -2320,15 +2320,6 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2320
2320
  style?: string | undefined;
2321
2321
  explode?: boolean | undefined;
2322
2322
  schema?: ({
2323
- description?: string | undefined;
2324
- summary?: string | undefined;
2325
- $ref: string;
2326
- } & {
2327
- $status?: "loading" | "error" | undefined;
2328
- $global?: boolean | undefined;
2329
- } & {
2330
- [x: `x-${string}`]: unknown;
2331
- }) | ({
2332
2323
  discriminator?: ({
2333
2324
  mapping?: {
2334
2325
  [x: string]: string;
@@ -2360,6 +2351,15 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2360
2351
  'x-tags'?: string[] | undefined;
2361
2352
  } & {
2362
2353
  [x: string]: unknown;
2354
+ }) | ({
2355
+ description?: string | undefined;
2356
+ summary?: string | undefined;
2357
+ $ref: string;
2358
+ } & {
2359
+ $status?: "loading" | "error" | undefined;
2360
+ $global?: boolean | undefined;
2361
+ } & {
2362
+ [x: `x-${string}`]: unknown;
2363
2363
  }) | undefined;
2364
2364
  example: any;
2365
2365
  }) | ({
@@ -2653,7 +2653,7 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2653
2653
  deprecated?: boolean | undefined;
2654
2654
  allowEmptyValue?: boolean | undefined;
2655
2655
  name: string;
2656
- in: "query" | "header" | "path" | "cookie";
2656
+ in: "path" | "query" | "header" | "cookie";
2657
2657
  } & {
2658
2658
  [x: `x-${string}`]: unknown;
2659
2659
  } & {
@@ -2727,7 +2727,7 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2727
2727
  deprecated?: boolean | undefined;
2728
2728
  allowEmptyValue?: boolean | undefined;
2729
2729
  name: string;
2730
- in: "query" | "header" | "path" | "cookie";
2730
+ in: "path" | "query" | "header" | "cookie";
2731
2731
  } & {
2732
2732
  [x: `x-${string}`]: unknown;
2733
2733
  } & {
@@ -2913,13 +2913,13 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2913
2913
  [x: string]: {
2914
2914
  name?: string | undefined;
2915
2915
  parameters?: {
2916
- query?: {
2916
+ path?: {
2917
2917
  [x: string]: string;
2918
2918
  } | undefined;
2919
- header?: {
2919
+ query?: {
2920
2920
  [x: string]: string;
2921
2921
  } | undefined;
2922
- path?: {
2922
+ header?: {
2923
2923
  [x: string]: string;
2924
2924
  } | undefined;
2925
2925
  cookie?: {
@@ -2955,13 +2955,13 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2955
2955
  [x: string]: {
2956
2956
  name?: string | undefined;
2957
2957
  parameters?: {
2958
- query?: {
2958
+ path?: {
2959
2959
  [x: string]: string;
2960
2960
  } | undefined;
2961
- header?: {
2961
+ query?: {
2962
2962
  [x: string]: string;
2963
2963
  } | undefined;
2964
- path?: {
2964
+ header?: {
2965
2965
  [x: string]: string;
2966
2966
  } | undefined;
2967
2967
  cookie?: {
@@ -2997,13 +2997,13 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
2997
2997
  [x: string]: {
2998
2998
  name?: string | undefined;
2999
2999
  parameters?: {
3000
- query?: {
3000
+ path?: {
3001
3001
  [x: string]: string;
3002
3002
  } | undefined;
3003
- header?: {
3003
+ query?: {
3004
3004
  [x: string]: string;
3005
3005
  } | undefined;
3006
- path?: {
3006
+ header?: {
3007
3007
  [x: string]: string;
3008
3008
  } | undefined;
3009
3009
  cookie?: {
@@ -3039,13 +3039,13 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
3039
3039
  [x: string]: {
3040
3040
  name?: string | undefined;
3041
3041
  parameters?: {
3042
- query?: {
3042
+ path?: {
3043
3043
  [x: string]: string;
3044
3044
  } | undefined;
3045
- header?: {
3045
+ query?: {
3046
3046
  [x: string]: string;
3047
3047
  } | undefined;
3048
- path?: {
3048
+ header?: {
3049
3049
  [x: string]: string;
3050
3050
  } | undefined;
3051
3051
  cookie?: {
@@ -3081,13 +3081,13 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
3081
3081
  [x: string]: {
3082
3082
  name?: string | undefined;
3083
3083
  parameters?: {
3084
- query?: {
3084
+ path?: {
3085
3085
  [x: string]: string;
3086
3086
  } | undefined;
3087
- header?: {
3087
+ query?: {
3088
3088
  [x: string]: string;
3089
3089
  } | undefined;
3090
- path?: {
3090
+ header?: {
3091
3091
  [x: string]: string;
3092
3092
  } | undefined;
3093
3093
  cookie?: {
@@ -3123,13 +3123,13 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
3123
3123
  [x: string]: {
3124
3124
  name?: string | undefined;
3125
3125
  parameters?: {
3126
- query?: {
3126
+ path?: {
3127
3127
  [x: string]: string;
3128
3128
  } | undefined;
3129
- header?: {
3129
+ query?: {
3130
3130
  [x: string]: string;
3131
3131
  } | undefined;
3132
- path?: {
3132
+ header?: {
3133
3133
  [x: string]: string;
3134
3134
  } | undefined;
3135
3135
  cookie?: {
@@ -3165,13 +3165,13 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
3165
3165
  [x: string]: {
3166
3166
  name?: string | undefined;
3167
3167
  parameters?: {
3168
- query?: {
3168
+ path?: {
3169
3169
  [x: string]: string;
3170
3170
  } | undefined;
3171
- header?: {
3171
+ query?: {
3172
3172
  [x: string]: string;
3173
3173
  } | undefined;
3174
- path?: {
3174
+ header?: {
3175
3175
  [x: string]: string;
3176
3176
  } | undefined;
3177
3177
  cookie?: {
@@ -3207,13 +3207,13 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
3207
3207
  [x: string]: {
3208
3208
  name?: string | undefined;
3209
3209
  parameters?: {
3210
- query?: {
3210
+ path?: {
3211
3211
  [x: string]: string;
3212
3212
  } | undefined;
3213
- header?: {
3213
+ query?: {
3214
3214
  [x: string]: string;
3215
3215
  } | undefined;
3216
- path?: {
3216
+ header?: {
3217
3217
  [x: string]: string;
3218
3218
  } | undefined;
3219
3219
  cookie?: {
@@ -3249,13 +3249,13 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
3249
3249
  [x: string]: {
3250
3250
  name?: string | undefined;
3251
3251
  parameters?: {
3252
- query?: {
3252
+ path?: {
3253
3253
  [x: string]: string;
3254
3254
  } | undefined;
3255
- header?: {
3255
+ query?: {
3256
3256
  [x: string]: string;
3257
3257
  } | undefined;
3258
- path?: {
3258
+ header?: {
3259
3259
  [x: string]: string;
3260
3260
  } | undefined;
3261
3261
  cookie?: {
@@ -3298,13 +3298,13 @@ export declare function escapePaths(paths: Record<string, Record<string, Operati
3298
3298
  [x: string]: {
3299
3299
  name?: string | undefined;
3300
3300
  parameters?: {
3301
- query?: {
3301
+ path?: {
3302
3302
  [x: string]: string;
3303
3303
  } | undefined;
3304
- header?: {
3304
+ query?: {
3305
3305
  [x: string]: string;
3306
3306
  } | undefined;
3307
- path?: {
3307
+ header?: {
3308
3308
  [x: string]: string;
3309
3309
  } | undefined;
3310
3310
  cookie?: {