@kubb/oas 4.31.6 → 4.32.1
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/dist/{chunk-Dxrv8gPv.js → chunk-OuPHjz6n.js} +12 -22
- package/dist/index.cjs +27 -100
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +16 -76
- package/dist/index.js.map +1 -1
- package/package.json +9 -2
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __require,
|
|
1
|
+
import { a as __require, n as __esmMin, o as __toCommonJS, r as __exportAll, s as __toESM, t as __commonJSMin } from "./chunk-OuPHjz6n.js";
|
|
2
2
|
import jsonpointer from "jsonpointer";
|
|
3
3
|
import BaseOas from "oas";
|
|
4
4
|
import { matchesMimeType } from "oas/utils";
|
|
@@ -11,7 +11,6 @@ import { isRef } from "oas/types";
|
|
|
11
11
|
import OASNormalize from "oas-normalize";
|
|
12
12
|
import { isPlainObject, mergeDeep } from "remeda";
|
|
13
13
|
import swagger2openapi from "swagger2openapi";
|
|
14
|
-
|
|
15
14
|
//#region ../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs
|
|
16
15
|
var tslib_es6_exports = /* @__PURE__ */ __exportAll({
|
|
17
16
|
__addDisposableResource: () => __addDisposableResource,
|
|
@@ -571,7 +570,6 @@ var init_tslib_es6 = __esmMin((() => {
|
|
|
571
570
|
__rewriteRelativeImportExtension
|
|
572
571
|
};
|
|
573
572
|
}));
|
|
574
|
-
|
|
575
573
|
//#endregion
|
|
576
574
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/yamlAST.js
|
|
577
575
|
var require_yamlAST = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -652,7 +650,6 @@ var require_yamlAST = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
652
650
|
}
|
|
653
651
|
exports.newMap = newMap;
|
|
654
652
|
}));
|
|
655
|
-
|
|
656
653
|
//#endregion
|
|
657
654
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/common.js
|
|
658
655
|
var require_common = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -698,7 +695,6 @@ var require_common = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
698
695
|
}
|
|
699
696
|
exports.isNegativeZero = isNegativeZero;
|
|
700
697
|
}));
|
|
701
|
-
|
|
702
698
|
//#endregion
|
|
703
699
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/exception.js
|
|
704
700
|
var require_exception = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -728,7 +724,6 @@ var require_exception = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
728
724
|
YAMLException.CLASS_IDENTIFIER = "yaml-ast-parser.YAMLException";
|
|
729
725
|
module.exports = YAMLException;
|
|
730
726
|
}));
|
|
731
|
-
|
|
732
727
|
//#endregion
|
|
733
728
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/mark.js
|
|
734
729
|
var require_mark = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -787,7 +782,6 @@ var require_mark = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
787
782
|
};
|
|
788
783
|
module.exports = Mark;
|
|
789
784
|
}));
|
|
790
|
-
|
|
791
785
|
//#endregion
|
|
792
786
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/type.js
|
|
793
787
|
var require_type = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -841,7 +835,6 @@ var require_type = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
841
835
|
};
|
|
842
836
|
exports.Type = Type;
|
|
843
837
|
}));
|
|
844
|
-
|
|
845
838
|
//#endregion
|
|
846
839
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/schema.js
|
|
847
840
|
var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -917,54 +910,45 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
917
910
|
});
|
|
918
911
|
};
|
|
919
912
|
}));
|
|
920
|
-
|
|
921
913
|
//#endregion
|
|
922
914
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/type/str.js
|
|
923
915
|
var require_str = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
924
|
-
|
|
925
|
-
module.exports = new type_1.Type("tag:yaml.org,2002:str", {
|
|
916
|
+
module.exports = new (require_type()).Type("tag:yaml.org,2002:str", {
|
|
926
917
|
kind: "scalar",
|
|
927
918
|
construct: function(data) {
|
|
928
919
|
return null !== data ? data : "";
|
|
929
920
|
}
|
|
930
921
|
});
|
|
931
922
|
}));
|
|
932
|
-
|
|
933
923
|
//#endregion
|
|
934
924
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/type/seq.js
|
|
935
925
|
var require_seq = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
936
|
-
|
|
937
|
-
module.exports = new type_1.Type("tag:yaml.org,2002:seq", {
|
|
926
|
+
module.exports = new (require_type()).Type("tag:yaml.org,2002:seq", {
|
|
938
927
|
kind: "sequence",
|
|
939
928
|
construct: function(data) {
|
|
940
929
|
return null !== data ? data : [];
|
|
941
930
|
}
|
|
942
931
|
});
|
|
943
932
|
}));
|
|
944
|
-
|
|
945
933
|
//#endregion
|
|
946
934
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/type/map.js
|
|
947
935
|
var require_map = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
948
|
-
|
|
949
|
-
module.exports = new type_1.Type("tag:yaml.org,2002:map", {
|
|
936
|
+
module.exports = new (require_type()).Type("tag:yaml.org,2002:map", {
|
|
950
937
|
kind: "mapping",
|
|
951
938
|
construct: function(data) {
|
|
952
939
|
return null !== data ? data : {};
|
|
953
940
|
}
|
|
954
941
|
});
|
|
955
942
|
}));
|
|
956
|
-
|
|
957
943
|
//#endregion
|
|
958
944
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/failsafe.js
|
|
959
945
|
var require_failsafe = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
960
|
-
|
|
961
|
-
module.exports = new schema_1.Schema({ explicit: [
|
|
946
|
+
module.exports = new (require_schema()).Schema({ explicit: [
|
|
962
947
|
require_str(),
|
|
963
948
|
require_seq(),
|
|
964
949
|
require_map()
|
|
965
950
|
] });
|
|
966
951
|
}));
|
|
967
|
-
|
|
968
952
|
//#endregion
|
|
969
953
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/type/null.js
|
|
970
954
|
var require_null = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -1002,7 +986,6 @@ var require_null = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1002
986
|
defaultStyle: "lowercase"
|
|
1003
987
|
});
|
|
1004
988
|
}));
|
|
1005
|
-
|
|
1006
989
|
//#endregion
|
|
1007
990
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/type/bool.js
|
|
1008
991
|
var require_bool = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -1037,7 +1020,6 @@ var require_bool = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1037
1020
|
defaultStyle: "lowercase"
|
|
1038
1021
|
});
|
|
1039
1022
|
}));
|
|
1040
|
-
|
|
1041
1023
|
//#endregion
|
|
1042
1024
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/type/int.js
|
|
1043
1025
|
var require_int = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -1171,13 +1153,12 @@ var require_int = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1171
1153
|
}
|
|
1172
1154
|
});
|
|
1173
1155
|
}));
|
|
1174
|
-
|
|
1175
1156
|
//#endregion
|
|
1176
1157
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/type/float.js
|
|
1177
1158
|
var require_float = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1178
1159
|
const common = require_common();
|
|
1179
1160
|
const type_1 = require_type();
|
|
1180
|
-
var YAML_FLOAT_PATTERN = new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
|
1161
|
+
var YAML_FLOAT_PATTERN = /* @__PURE__ */ new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
|
|
1181
1162
|
function resolveYamlFloat(data) {
|
|
1182
1163
|
if (null === data) return false;
|
|
1183
1164
|
if (!YAML_FLOAT_PATTERN.test(data)) return false;
|
|
@@ -1236,12 +1217,10 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1236
1217
|
defaultStyle: "lowercase"
|
|
1237
1218
|
});
|
|
1238
1219
|
}));
|
|
1239
|
-
|
|
1240
1220
|
//#endregion
|
|
1241
1221
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/json.js
|
|
1242
1222
|
var require_json = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1243
|
-
|
|
1244
|
-
module.exports = new schema_1.Schema({
|
|
1223
|
+
module.exports = new (require_schema()).Schema({
|
|
1245
1224
|
include: [require_failsafe()],
|
|
1246
1225
|
implicit: [
|
|
1247
1226
|
require_null(),
|
|
@@ -1251,19 +1230,16 @@ var require_json = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1251
1230
|
]
|
|
1252
1231
|
});
|
|
1253
1232
|
}));
|
|
1254
|
-
|
|
1255
1233
|
//#endregion
|
|
1256
1234
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/core.js
|
|
1257
1235
|
var require_core = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1258
|
-
|
|
1259
|
-
module.exports = new schema_1.Schema({ include: [require_json()] });
|
|
1236
|
+
module.exports = new (require_schema()).Schema({ include: [require_json()] });
|
|
1260
1237
|
}));
|
|
1261
|
-
|
|
1262
1238
|
//#endregion
|
|
1263
1239
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/type/timestamp.js
|
|
1264
1240
|
var require_timestamp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1265
1241
|
const type_1 = require_type();
|
|
1266
|
-
var YAML_TIMESTAMP_REGEXP = new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?)?$");
|
|
1242
|
+
var YAML_TIMESTAMP_REGEXP = /* @__PURE__ */ new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?)?$");
|
|
1267
1243
|
function resolveYamlTimestamp(data) {
|
|
1268
1244
|
if (null === data) return false;
|
|
1269
1245
|
if (null === YAML_TIMESTAMP_REGEXP.exec(data)) return false;
|
|
@@ -1317,7 +1293,6 @@ var require_timestamp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1317
1293
|
represent: representYamlTimestamp
|
|
1318
1294
|
});
|
|
1319
1295
|
}));
|
|
1320
|
-
|
|
1321
1296
|
//#endregion
|
|
1322
1297
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/type/merge.js
|
|
1323
1298
|
var require_merge = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -1330,7 +1305,6 @@ var require_merge = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1330
1305
|
resolve: resolveYamlMerge
|
|
1331
1306
|
});
|
|
1332
1307
|
}));
|
|
1333
|
-
|
|
1334
1308
|
//#endregion
|
|
1335
1309
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/type/binary.js
|
|
1336
1310
|
var require_binary = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -1426,7 +1400,6 @@ var require_binary = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1426
1400
|
represent: representYamlBinary
|
|
1427
1401
|
});
|
|
1428
1402
|
}));
|
|
1429
|
-
|
|
1430
1403
|
//#endregion
|
|
1431
1404
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/type/omap.js
|
|
1432
1405
|
var require_omap = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -1463,7 +1436,6 @@ var require_omap = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1463
1436
|
construct: constructYamlOmap
|
|
1464
1437
|
});
|
|
1465
1438
|
}));
|
|
1466
|
-
|
|
1467
1439
|
//#endregion
|
|
1468
1440
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/type/pairs.js
|
|
1469
1441
|
var require_pairs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -1514,7 +1486,6 @@ var require_pairs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1514
1486
|
construct: constructYamlPairs
|
|
1515
1487
|
});
|
|
1516
1488
|
}));
|
|
1517
|
-
|
|
1518
1489
|
//#endregion
|
|
1519
1490
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/type/set.js
|
|
1520
1491
|
var require_set = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -1534,11 +1505,10 @@ var require_set = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1534
1505
|
construct: constructYamlSet
|
|
1535
1506
|
});
|
|
1536
1507
|
}));
|
|
1537
|
-
|
|
1538
1508
|
//#endregion
|
|
1539
1509
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/default_safe.js
|
|
1540
1510
|
var require_default_safe = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1541
|
-
|
|
1511
|
+
module.exports = new (require_schema()).Schema({
|
|
1542
1512
|
include: [require_core()],
|
|
1543
1513
|
implicit: [require_timestamp(), require_merge()],
|
|
1544
1514
|
explicit: [
|
|
@@ -1548,9 +1518,7 @@ var require_default_safe = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1548
1518
|
require_set()
|
|
1549
1519
|
]
|
|
1550
1520
|
});
|
|
1551
|
-
module.exports = schema;
|
|
1552
1521
|
}));
|
|
1553
|
-
|
|
1554
1522
|
//#endregion
|
|
1555
1523
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/type/js/undefined.js
|
|
1556
1524
|
var require_undefined = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -1573,7 +1541,6 @@ var require_undefined = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1573
1541
|
represent: representJavascriptUndefined
|
|
1574
1542
|
});
|
|
1575
1543
|
}));
|
|
1576
|
-
|
|
1577
1544
|
//#endregion
|
|
1578
1545
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/type/js/regexp.js
|
|
1579
1546
|
var require_regexp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -1625,7 +1592,6 @@ var require_regexp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1625
1592
|
represent: representJavascriptRegExp
|
|
1626
1593
|
});
|
|
1627
1594
|
}));
|
|
1628
|
-
|
|
1629
1595
|
//#endregion
|
|
1630
1596
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/schema/default_full.js
|
|
1631
1597
|
var require_default_full = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -1637,7 +1603,6 @@ var require_default_full = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1637
1603
|
schema_1.Schema.DEFAULT = schema;
|
|
1638
1604
|
module.exports = schema;
|
|
1639
1605
|
}));
|
|
1640
|
-
|
|
1641
1606
|
//#endregion
|
|
1642
1607
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/loader.js
|
|
1643
1608
|
var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -2688,7 +2653,6 @@ var require_loader = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2688
2653
|
module.exports.safeLoadAll = safeLoadAll;
|
|
2689
2654
|
module.exports.safeLoad = safeLoad;
|
|
2690
2655
|
}));
|
|
2691
|
-
|
|
2692
2656
|
//#endregion
|
|
2693
2657
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/dumper.js
|
|
2694
2658
|
var require_dumper = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -3256,7 +3220,6 @@ var require_dumper = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3256
3220
|
else return generateNextLine(this.state, level) + result;
|
|
3257
3221
|
};
|
|
3258
3222
|
}));
|
|
3259
|
-
|
|
3260
3223
|
//#endregion
|
|
3261
3224
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/scalarInference.js
|
|
3262
3225
|
var require_scalarInference = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -3342,7 +3305,6 @@ var require_scalarInference = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3342
3305
|
}
|
|
3343
3306
|
exports.determineScalarType = determineScalarType;
|
|
3344
3307
|
}));
|
|
3345
|
-
|
|
3346
3308
|
//#endregion
|
|
3347
3309
|
//#region ../../node_modules/.pnpm/@stoplight+yaml-ast-parser@0.0.50/node_modules/@stoplight/yaml-ast-parser/dist/src/index.js
|
|
3348
3310
|
var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -3362,7 +3324,6 @@ var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3362
3324
|
__export(require_yamlAST());
|
|
3363
3325
|
__export(require_scalarInference());
|
|
3364
3326
|
}));
|
|
3365
|
-
|
|
3366
3327
|
//#endregion
|
|
3367
3328
|
//#region ../../node_modules/.pnpm/@stoplight+yaml@4.3.0/node_modules/@stoplight/yaml/types.js
|
|
3368
3329
|
var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -3371,14 +3332,12 @@ var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3371
3332
|
exports.Kind = yaml_ast_parser_1.Kind;
|
|
3372
3333
|
exports.ScalarType = yaml_ast_parser_1.ScalarType;
|
|
3373
3334
|
}));
|
|
3374
|
-
|
|
3375
3335
|
//#endregion
|
|
3376
3336
|
//#region ../../node_modules/.pnpm/@stoplight+yaml@4.3.0/node_modules/@stoplight/yaml/utils.js
|
|
3377
3337
|
var require_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3378
3338
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3379
3339
|
exports.isObject = (sth) => sth !== null && typeof sth === "object";
|
|
3380
3340
|
}));
|
|
3381
|
-
|
|
3382
3341
|
//#endregion
|
|
3383
3342
|
//#region ../../node_modules/.pnpm/@stoplight+yaml@4.3.0/node_modules/@stoplight/yaml/buildJsonPath.js
|
|
3384
3343
|
var require_buildJsonPath = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -3412,7 +3371,6 @@ var require_buildJsonPath = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3412
3371
|
}
|
|
3413
3372
|
exports.buildJsonPath = buildJsonPath;
|
|
3414
3373
|
}));
|
|
3415
|
-
|
|
3416
3374
|
//#endregion
|
|
3417
3375
|
//#region ../../node_modules/.pnpm/@stoplight+yaml@4.3.0/node_modules/@stoplight/yaml/dereferenceAnchor.js
|
|
3418
3376
|
var require_dereferenceAnchor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -3440,7 +3398,6 @@ var require_dereferenceAnchor = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3440
3398
|
return false;
|
|
3441
3399
|
};
|
|
3442
3400
|
}));
|
|
3443
|
-
|
|
3444
3401
|
//#endregion
|
|
3445
3402
|
//#region ../../node_modules/.pnpm/@stoplight+yaml@4.3.0/node_modules/@stoplight/yaml/getJsonPathForPosition.js
|
|
3446
3403
|
var require_getJsonPathForPosition = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -3506,7 +3463,6 @@ var require_getJsonPathForPosition = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
3506
3463
|
return container;
|
|
3507
3464
|
}
|
|
3508
3465
|
}));
|
|
3509
|
-
|
|
3510
3466
|
//#endregion
|
|
3511
3467
|
//#region ../../node_modules/.pnpm/@stoplight+yaml@4.3.0/node_modules/@stoplight/yaml/lineForPosition.js
|
|
3512
3468
|
var require_lineForPosition = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -3526,7 +3482,6 @@ var require_lineForPosition = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3526
3482
|
else return exports.lineForPosition(pos, lines, start, target - 1);
|
|
3527
3483
|
};
|
|
3528
3484
|
}));
|
|
3529
|
-
|
|
3530
3485
|
//#endregion
|
|
3531
3486
|
//#region ../../node_modules/.pnpm/@stoplight+yaml@4.3.0/node_modules/@stoplight/yaml/getLocationForJsonPath.js
|
|
3532
3487
|
var require_getLocationForJsonPath = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -3637,7 +3592,6 @@ var require_getLocationForJsonPath = /* @__PURE__ */ __commonJSMin(((exports) =>
|
|
|
3637
3592
|
} };
|
|
3638
3593
|
};
|
|
3639
3594
|
}));
|
|
3640
|
-
|
|
3641
3595
|
//#endregion
|
|
3642
3596
|
//#region ../../node_modules/.pnpm/@stoplight+ordered-object-literal@1.0.5/node_modules/@stoplight/ordered-object-literal/src/index.cjs
|
|
3643
3597
|
var require_src = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -3764,7 +3718,6 @@ var require_src = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3764
3718
|
exports.serialize = serialize;
|
|
3765
3719
|
exports.setOrder = setOrder;
|
|
3766
3720
|
}));
|
|
3767
|
-
|
|
3768
3721
|
//#endregion
|
|
3769
3722
|
//#region ../../node_modules/.pnpm/@stoplight+types@14.1.1/node_modules/@stoplight/types/dist/index.js
|
|
3770
3723
|
var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -3893,7 +3846,6 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3893
3846
|
NodeFormat["Webp"] = "webp";
|
|
3894
3847
|
})(exports.NodeFormat || (exports.NodeFormat = {}));
|
|
3895
3848
|
}));
|
|
3896
|
-
|
|
3897
3849
|
//#endregion
|
|
3898
3850
|
//#region ../../node_modules/.pnpm/@stoplight+yaml@4.3.0/node_modules/@stoplight/yaml/parseWithPointers.js
|
|
3899
3851
|
var require_parseWithPointers = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -4253,7 +4205,6 @@ var require_parseWithPointers = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4253
4205
|
});
|
|
4254
4206
|
}
|
|
4255
4207
|
}));
|
|
4256
|
-
|
|
4257
4208
|
//#endregion
|
|
4258
4209
|
//#region ../../node_modules/.pnpm/@stoplight+yaml@4.3.0/node_modules/@stoplight/yaml/parse.js
|
|
4259
4210
|
var require_parse = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -4261,7 +4212,6 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4261
4212
|
const parseWithPointers_1 = require_parseWithPointers();
|
|
4262
4213
|
exports.parse = (value) => parseWithPointers_1.parseWithPointers(value).data;
|
|
4263
4214
|
}));
|
|
4264
|
-
|
|
4265
4215
|
//#endregion
|
|
4266
4216
|
//#region ../../node_modules/.pnpm/@stoplight+yaml@4.3.0/node_modules/@stoplight/yaml/safeStringify.js
|
|
4267
4217
|
var require_safeStringify = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -4269,7 +4219,6 @@ var require_safeStringify = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4269
4219
|
const yaml_ast_parser_1 = require_src$1();
|
|
4270
4220
|
exports.safeStringify = (value, options) => typeof value === "string" ? value : yaml_ast_parser_1.safeDump(value, options);
|
|
4271
4221
|
}));
|
|
4272
|
-
|
|
4273
4222
|
//#endregion
|
|
4274
4223
|
//#region ../../node_modules/.pnpm/@stoplight+yaml@4.3.0/node_modules/@stoplight/yaml/trapAccess.js
|
|
4275
4224
|
var require_trapAccess = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -4281,10 +4230,9 @@ var require_trapAccess = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4281
4230
|
} };
|
|
4282
4231
|
exports.trapAccess = (target) => new Proxy(target, traps);
|
|
4283
4232
|
}));
|
|
4284
|
-
|
|
4285
4233
|
//#endregion
|
|
4286
|
-
//#region
|
|
4287
|
-
var
|
|
4234
|
+
//#region src/utils.ts
|
|
4235
|
+
var import_yaml = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4288
4236
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4289
4237
|
const tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
4290
4238
|
tslib_1.__exportStar(require_buildJsonPath(), exports);
|
|
@@ -4292,18 +4240,12 @@ var require_yaml = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4292
4240
|
tslib_1.__exportStar(require_getJsonPathForPosition(), exports);
|
|
4293
4241
|
tslib_1.__exportStar(require_getLocationForJsonPath(), exports);
|
|
4294
4242
|
tslib_1.__exportStar(require_lineForPosition(), exports);
|
|
4295
|
-
|
|
4296
|
-
exports.
|
|
4297
|
-
var parseWithPointers_1 = require_parseWithPointers();
|
|
4298
|
-
exports.parseWithPointers = parseWithPointers_1.parseWithPointers;
|
|
4243
|
+
exports.parse = require_parse().parse;
|
|
4244
|
+
exports.parseWithPointers = require_parseWithPointers().parseWithPointers;
|
|
4299
4245
|
tslib_1.__exportStar(require_safeStringify(), exports);
|
|
4300
4246
|
tslib_1.__exportStar(require_types(), exports);
|
|
4301
4247
|
tslib_1.__exportStar(require_trapAccess(), exports);
|
|
4302
|
-
}));
|
|
4303
|
-
|
|
4304
|
-
//#endregion
|
|
4305
|
-
//#region src/utils.ts
|
|
4306
|
-
var import_yaml = /* @__PURE__ */ __toESM(require_yaml(), 1);
|
|
4248
|
+
})))(), 1);
|
|
4307
4249
|
const STRUCTURAL_KEYS = new Set([
|
|
4308
4250
|
"properties",
|
|
4309
4251
|
"items",
|
|
@@ -4666,7 +4608,6 @@ function resolveCollisions(schemasWithMeta) {
|
|
|
4666
4608
|
nameMapping
|
|
4667
4609
|
};
|
|
4668
4610
|
}
|
|
4669
|
-
|
|
4670
4611
|
//#endregion
|
|
4671
4612
|
//#region src/Oas.ts
|
|
4672
4613
|
var Oas = class extends BaseOas {
|
|
@@ -4973,7 +4914,6 @@ var Oas = class extends BaseOas {
|
|
|
4973
4914
|
};
|
|
4974
4915
|
}
|
|
4975
4916
|
};
|
|
4976
|
-
|
|
4977
4917
|
//#endregion
|
|
4978
4918
|
//#region src/types.ts
|
|
4979
4919
|
const HttpMethods = {
|
|
@@ -4986,7 +4926,7 @@ const HttpMethods = {
|
|
|
4986
4926
|
OPTIONS: "options",
|
|
4987
4927
|
TRACE: "trace"
|
|
4988
4928
|
};
|
|
4989
|
-
|
|
4990
4929
|
//#endregion
|
|
4991
4930
|
export { HttpMethods, Oas, getDefaultValue, isAllOptional, isDiscriminator, isNullable, isOpenApiV3_1Document, isOptional, isParameterObject, isReference, isRequired, merge, parse, parseFromConfig, validate };
|
|
4931
|
+
|
|
4992
4932
|
//# sourceMappingURL=index.js.map
|