oas 34.1.0 → 36.0.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/analyzer/index.cjs +6 -6
- package/dist/analyzer/index.js +4 -4
- package/dist/{chunk-NR45NABA.cjs → chunk-7PWF3F2W.cjs} +1 -1
- package/dist/chunk-7PWF3F2W.cjs.map +1 -0
- package/dist/{chunk-JGJR6Y6O.cjs → chunk-BECL5BTE.cjs} +32 -28
- package/dist/chunk-BECL5BTE.cjs.map +1 -0
- package/dist/{chunk-6KWJOFQ2.cjs → chunk-C6QTUTTF.cjs} +43 -37
- package/dist/{chunk-6KWJOFQ2.cjs.map → chunk-C6QTUTTF.cjs.map} +1 -1
- package/dist/{chunk-LIBQ2UJH.js → chunk-GWZBWDMT.js} +3 -3
- package/dist/{chunk-6OI7XULA.js → chunk-LYWP3CSV.js} +8 -2
- package/dist/chunk-LYWP3CSV.js.map +1 -0
- package/dist/{chunk-4CVTOSVQ.cjs → chunk-O2NUKZ7L.cjs} +132 -132
- package/dist/{chunk-4CVTOSVQ.cjs.map → chunk-O2NUKZ7L.cjs.map} +1 -1
- package/dist/{chunk-CHFSBT33.js → chunk-QI6WI5AK.js} +8 -4
- package/dist/{chunk-CHFSBT33.js.map → chunk-QI6WI5AK.js.map} +1 -1
- package/dist/{chunk-NM3QL4AB.js → chunk-XG4HGNCN.js} +1 -1
- package/dist/chunk-XG4HGNCN.js.map +1 -0
- package/dist/index.cjs +5 -5
- package/dist/index.js +4 -4
- package/dist/operation/index.cjs +4 -4
- package/dist/operation/index.js +3 -3
- package/dist/reducer/index.cjs +13 -13
- package/dist/reducer/index.js +2 -2
- package/dist/types.cjs +2 -2
- package/dist/types.d.cts +14 -5
- package/dist/types.d.ts +14 -5
- package/dist/types.js +1 -1
- package/dist/utils.cjs +3 -3
- package/dist/utils.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-6OI7XULA.js.map +0 -1
- package/dist/chunk-JGJR6Y6O.cjs.map +0 -1
- package/dist/chunk-NM3QL4AB.js.map +0 -1
- package/dist/chunk-NR45NABA.cjs.map +0 -1
- /package/dist/{chunk-LIBQ2UJH.js.map → chunk-GWZBWDMT.js.map} +0 -0
|
@@ -6,7 +6,7 @@ var _chunkAYA3UT4Lcjs = require('./chunk-AYA3UT4L.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk7PWF3F2Wcjs = require('./chunk-7PWF3F2W.cjs');
|
|
10
10
|
|
|
11
11
|
// src/lib/matches-mimetype.ts
|
|
12
12
|
function matchesMediaType(types2, mediaType) {
|
|
@@ -118,7 +118,7 @@ function dereferenceRef(value, definition, seenRefs = /* @__PURE__ */ new Set())
|
|
|
118
118
|
if (value === void 0) {
|
|
119
119
|
return void 0;
|
|
120
120
|
}
|
|
121
|
-
if (
|
|
121
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, value)) {
|
|
122
122
|
if (!definition) {
|
|
123
123
|
return value;
|
|
124
124
|
}
|
|
@@ -129,7 +129,7 @@ function dereferenceRef(value, definition, seenRefs = /* @__PURE__ */ new Set())
|
|
|
129
129
|
seenRefs.add(ref);
|
|
130
130
|
try {
|
|
131
131
|
const dereferenced = findRef(ref, definition);
|
|
132
|
-
if (
|
|
132
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, dereferenced)) {
|
|
133
133
|
return dereferenceRef(dereferenced, definition, seenRefs);
|
|
134
134
|
}
|
|
135
135
|
return {
|
|
@@ -144,10 +144,10 @@ function dereferenceRef(value, definition, seenRefs = /* @__PURE__ */ new Set())
|
|
|
144
144
|
function dereferenceRefDeep(value, definition, seenRefs = /* @__PURE__ */ new Set()) {
|
|
145
145
|
if (value === null || value === void 0) return value;
|
|
146
146
|
if (typeof value !== "object") return value;
|
|
147
|
-
if (
|
|
147
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, value)) {
|
|
148
148
|
if (!definition) return value;
|
|
149
149
|
const resolved = dereferenceRef(value, definition, seenRefs);
|
|
150
|
-
if (
|
|
150
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, resolved)) return resolved;
|
|
151
151
|
return dereferenceRefDeep(resolved, definition, seenRefs);
|
|
152
152
|
}
|
|
153
153
|
if (Array.isArray(value)) {
|
|
@@ -180,7 +180,7 @@ function collectRefsInSchema(schema) {
|
|
|
180
180
|
const refs = /* @__PURE__ */ new Set();
|
|
181
181
|
if (!schema || typeof schema !== "object") return refs;
|
|
182
182
|
const obj = schema;
|
|
183
|
-
if (
|
|
183
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, obj)) {
|
|
184
184
|
refs.add(obj.$ref);
|
|
185
185
|
}
|
|
186
186
|
for (const value of Object.values(obj)) {
|
|
@@ -321,7 +321,7 @@ function allOfReferencesSchema(schema, targetSchemaName) {
|
|
|
321
321
|
if (!schema || typeof schema !== "object") return false;
|
|
322
322
|
if (!("allOf" in schema) || !Array.isArray(schema.allOf)) return false;
|
|
323
323
|
return schema.allOf.some((item) => {
|
|
324
|
-
if (
|
|
324
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, item)) {
|
|
325
325
|
const refParts = item.$ref.split("/");
|
|
326
326
|
const refSchemaName = refParts[refParts.length - 1];
|
|
327
327
|
return refSchemaName === targetSchemaName;
|
|
@@ -458,7 +458,7 @@ function isPendingSchema(s) {
|
|
|
458
458
|
return isObject(s) && "__pending" in s && s.__pending === true;
|
|
459
459
|
}
|
|
460
460
|
function getSchemaVersionString(schema, api) {
|
|
461
|
-
if (
|
|
461
|
+
if (_chunk7PWF3F2Wcjs.isOpenAPI30.call(void 0, api)) {
|
|
462
462
|
return "http://json-schema.org/draft-04/schema#";
|
|
463
463
|
}
|
|
464
464
|
if (schema.$schema) {
|
|
@@ -474,7 +474,7 @@ function isPolymorphicSchema(schema) {
|
|
|
474
474
|
}
|
|
475
475
|
function shouldFoldParentItemsIntoPolymorphBranch(item) {
|
|
476
476
|
if (!isObject(item)) return false;
|
|
477
|
-
if (
|
|
477
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, item)) return true;
|
|
478
478
|
const branch = item;
|
|
479
479
|
if (!("type" in branch) || branch.type === void 0) return true;
|
|
480
480
|
if (!hasSchemaType(branch, "array")) return false;
|
|
@@ -497,7 +497,7 @@ function inlinePropertyRefsForMerge(schema, usedSchemas, refLogger, conflictPath
|
|
|
497
497
|
for (const key of Object.keys(out.properties)) {
|
|
498
498
|
const path = currentPath ? `${currentPath}.${key}` : key;
|
|
499
499
|
const val = out.properties[key];
|
|
500
|
-
if (
|
|
500
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, val)) {
|
|
501
501
|
if (val.$ref.startsWith("#/paths/")) {
|
|
502
502
|
refLogger(val.$ref, "ref");
|
|
503
503
|
continue;
|
|
@@ -577,12 +577,12 @@ function inlineAllOfRefsDeep(schema, usedSchemas) {
|
|
|
577
577
|
for (let i = 0; i < schema[keyword].length; i++) {
|
|
578
578
|
const option = schema[keyword][i];
|
|
579
579
|
if (!option || typeof option !== "object") continue;
|
|
580
|
-
if (
|
|
580
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, option) && option.$ref.includes(allOfKey)) {
|
|
581
581
|
const resolved = usedSchemas.get(option.$ref);
|
|
582
582
|
if (resolved !== void 0 && !isPendingSchema(resolved)) {
|
|
583
583
|
schema[keyword][i] = structuredClone(resolved);
|
|
584
584
|
}
|
|
585
|
-
} else if (!
|
|
585
|
+
} else if (!_chunk7PWF3F2Wcjs.isRef.call(void 0, option)) {
|
|
586
586
|
inlineAllOfRefsDeep(option, usedSchemas);
|
|
587
587
|
}
|
|
588
588
|
}
|
|
@@ -590,12 +590,12 @@ function inlineAllOfRefsDeep(schema, usedSchemas) {
|
|
|
590
590
|
if ("properties" in schema && typeof schema.properties === "object" && schema.properties !== null) {
|
|
591
591
|
for (const key of Object.keys(schema.properties)) {
|
|
592
592
|
const val = schema.properties[key];
|
|
593
|
-
if (
|
|
593
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, val) && val.$ref.includes(allOfKey)) {
|
|
594
594
|
const resolved = usedSchemas.get(val.$ref);
|
|
595
595
|
if (resolved !== void 0 && !isPendingSchema(resolved)) {
|
|
596
596
|
schema.properties[key] = structuredClone(resolved);
|
|
597
597
|
}
|
|
598
|
-
} else if (val && typeof val === "object" && !Array.isArray(val) && !
|
|
598
|
+
} else if (val && typeof val === "object" && !Array.isArray(val) && !_chunk7PWF3F2Wcjs.isRef.call(void 0, val)) {
|
|
599
599
|
inlineAllOfRefsDeep(val, usedSchemas);
|
|
600
600
|
}
|
|
601
601
|
}
|
|
@@ -620,7 +620,7 @@ function resolveAndCacheRefSchema({
|
|
|
620
620
|
if (_optionalChain([refsEmittedAsStub, 'optionalAccess', _20 => _20.has, 'call', _21 => _21(ref)])) {
|
|
621
621
|
return { $ref: ref };
|
|
622
622
|
}
|
|
623
|
-
if (!
|
|
623
|
+
if (!_chunk7PWF3F2Wcjs.isRef.call(void 0, existing)) {
|
|
624
624
|
return structuredClone(existing);
|
|
625
625
|
}
|
|
626
626
|
return { $ref: ref };
|
|
@@ -634,7 +634,7 @@ function resolveAndCacheRefSchema({
|
|
|
634
634
|
let resolved;
|
|
635
635
|
try {
|
|
636
636
|
const dereferenced = dereferenceRef(schema, definition, seenRefs);
|
|
637
|
-
if (
|
|
637
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, dereferenced)) {
|
|
638
638
|
refLogger(dereferenced.$ref, "ref");
|
|
639
639
|
let converted2;
|
|
640
640
|
try {
|
|
@@ -668,7 +668,7 @@ function resolveAndCacheRefSchema({
|
|
|
668
668
|
}
|
|
669
669
|
try {
|
|
670
670
|
const dereferenced = dereferenceRef(schema, definition, seenRefs);
|
|
671
|
-
if (
|
|
671
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, dereferenced)) {
|
|
672
672
|
let converted2;
|
|
673
673
|
try {
|
|
674
674
|
const pointer = ref.startsWith("#") ? decodeURIComponent(ref.substring(1)) : ref;
|
|
@@ -739,7 +739,7 @@ function searchForValueByPropAndPointer(property, pointer, schemas = []) {
|
|
|
739
739
|
}
|
|
740
740
|
function toJSONSchema(data, opts) {
|
|
741
741
|
let schema = data === true ? {} : { ...data };
|
|
742
|
-
const schemaAdditionalProperties =
|
|
742
|
+
const schemaAdditionalProperties = _chunk7PWF3F2Wcjs.isSchema.call(void 0, schema) ? schema.additionalProperties : null;
|
|
743
743
|
const {
|
|
744
744
|
addEnumsToDescriptions,
|
|
745
745
|
currentLocation,
|
|
@@ -784,7 +784,7 @@ function toJSONSchema(data, opts) {
|
|
|
784
784
|
usedSchemas,
|
|
785
785
|
refsEmittedAsStub
|
|
786
786
|
};
|
|
787
|
-
if (
|
|
787
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, schema)) {
|
|
788
788
|
if (definition && usedSchemas) {
|
|
789
789
|
const resolved = resolveAndCacheRefSchema({
|
|
790
790
|
schema,
|
|
@@ -797,6 +797,12 @@ function toJSONSchema(data, opts) {
|
|
|
797
797
|
});
|
|
798
798
|
const { $ref: _$ref, properties: _propertiesWithRef, ...siblings } = schema;
|
|
799
799
|
if (Object.keys(siblings).length > 0) {
|
|
800
|
+
if ("example" in siblings) {
|
|
801
|
+
if (isPrimitive(siblings.example)) {
|
|
802
|
+
siblings.examples = [siblings.example];
|
|
803
|
+
}
|
|
804
|
+
delete siblings.example;
|
|
805
|
+
}
|
|
800
806
|
return { ...resolved, ...siblings };
|
|
801
807
|
}
|
|
802
808
|
return resolved;
|
|
@@ -804,7 +810,7 @@ function toJSONSchema(data, opts) {
|
|
|
804
810
|
refLogger(schema.$ref, "ref");
|
|
805
811
|
return schema;
|
|
806
812
|
}
|
|
807
|
-
if (
|
|
813
|
+
if (_chunk7PWF3F2Wcjs.isSchema.call(void 0, schema, isPolymorphicAllOfChild)) {
|
|
808
814
|
if ("allOf" in schema && Array.isArray(schema.allOf)) {
|
|
809
815
|
if ("properties" in schema && schema.properties !== void 0 && typeof schema.properties === "object" && schema.properties !== null && !Array.isArray(schema.properties)) {
|
|
810
816
|
const preprocessed = {};
|
|
@@ -819,9 +825,9 @@ function toJSONSchema(data, opts) {
|
|
|
819
825
|
});
|
|
820
826
|
if (hideReadOnlyProperties || hideWriteOnlyProperties) {
|
|
821
827
|
let resolvedRefIsEmpty = false;
|
|
822
|
-
if (
|
|
828
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, converted) && usedSchemas) {
|
|
823
829
|
const cached = usedSchemas.get(converted.$ref);
|
|
824
|
-
if (cached && !
|
|
830
|
+
if (cached && !_chunk7PWF3F2Wcjs.isRef.call(void 0, cached) && !isPendingSchema(cached) && Object.keys(cached).length === 0) {
|
|
825
831
|
resolvedRefIsEmpty = true;
|
|
826
832
|
}
|
|
827
833
|
}
|
|
@@ -842,7 +848,7 @@ function toJSONSchema(data, opts) {
|
|
|
842
848
|
const allOfOptions = allOfSchemas.length > 1 ? { ...polyOptions, refLogger: () => {
|
|
843
849
|
} } : polyOptions;
|
|
844
850
|
allOfSchemas = allOfSchemas.map((item) => {
|
|
845
|
-
if (
|
|
851
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, item)) {
|
|
846
852
|
if (Object.keys(item).length === 1) {
|
|
847
853
|
return resolveAndCacheRefSchema({
|
|
848
854
|
schema: item,
|
|
@@ -896,7 +902,7 @@ function toJSONSchema(data, opts) {
|
|
|
896
902
|
};
|
|
897
903
|
const requiredSet = new Set(Array.isArray(fallback.required) ? fallback.required : []);
|
|
898
904
|
for (const branch of branches) {
|
|
899
|
-
if (!branch || typeof branch !== "object" ||
|
|
905
|
+
if (!branch || typeof branch !== "object" || _chunk7PWF3F2Wcjs.isRef.call(void 0, branch)) continue;
|
|
900
906
|
if (fallback.type === void 0 && "type" in branch && branch.type !== void 0) {
|
|
901
907
|
fallback.type = branch.type;
|
|
902
908
|
}
|
|
@@ -927,7 +933,7 @@ function toJSONSchema(data, opts) {
|
|
|
927
933
|
collectRefsInSchema(schema).forEach((ref) => {
|
|
928
934
|
refLogger(ref, "ref");
|
|
929
935
|
});
|
|
930
|
-
if (
|
|
936
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, schema)) {
|
|
931
937
|
refLogger(schema.$ref, "ref");
|
|
932
938
|
return schema;
|
|
933
939
|
}
|
|
@@ -985,7 +991,7 @@ function toJSONSchema(data, opts) {
|
|
|
985
991
|
delete childSchema.anyOf;
|
|
986
992
|
}
|
|
987
993
|
}
|
|
988
|
-
if (definition && usedSchemas &&
|
|
994
|
+
if (definition && usedSchemas && _chunk7PWF3F2Wcjs.isRef.call(void 0, childSchema)) {
|
|
989
995
|
const resolved = usedSchemas.get(childSchema.$ref);
|
|
990
996
|
if (resolved && typeof resolved === "object" && !isPendingSchema(resolved)) {
|
|
991
997
|
if ("discriminator" in resolved) {
|
|
@@ -1106,7 +1112,7 @@ function toJSONSchema(data, opts) {
|
|
|
1106
1112
|
}
|
|
1107
1113
|
}
|
|
1108
1114
|
}
|
|
1109
|
-
if (
|
|
1115
|
+
if (_chunk7PWF3F2Wcjs.isSchema.call(void 0, schema, isPolymorphicAllOfChild)) {
|
|
1110
1116
|
if ("default" in schema && isObject(schema.default)) {
|
|
1111
1117
|
prevDefaultSchemas.push({ default: schema.default });
|
|
1112
1118
|
}
|
|
@@ -1130,7 +1136,7 @@ function toJSONSchema(data, opts) {
|
|
|
1130
1136
|
let currentExample = example;
|
|
1131
1137
|
if (name === "$ref") {
|
|
1132
1138
|
currentExample = dereferenceRef({ $ref: currentExample }, definition, seenRefs);
|
|
1133
|
-
if (!currentExample ||
|
|
1139
|
+
if (!currentExample || _chunk7PWF3F2Wcjs.isRef.call(void 0, currentExample)) {
|
|
1134
1140
|
refLogger(currentExample.$ref, "ref");
|
|
1135
1141
|
return;
|
|
1136
1142
|
}
|
|
@@ -1170,7 +1176,7 @@ function toJSONSchema(data, opts) {
|
|
|
1170
1176
|
}
|
|
1171
1177
|
if (hasSchemaType(schema, "array")) {
|
|
1172
1178
|
if ("items" in schema && schema.items !== void 0) {
|
|
1173
|
-
if (!(definition && usedSchemas) && !Array.isArray(schema.items) && Object.keys(schema.items).length === 1 &&
|
|
1179
|
+
if (!(definition && usedSchemas) && !Array.isArray(schema.items) && Object.keys(schema.items).length === 1 && _chunk7PWF3F2Wcjs.isRef.call(void 0, schema.items)) {
|
|
1174
1180
|
refLogger(schema.items.$ref, "ref");
|
|
1175
1181
|
} else if (schema.items !== true) {
|
|
1176
1182
|
schema.items = toJSONSchema(schema.items, {
|
|
@@ -1208,9 +1214,9 @@ function toJSONSchema(data, opts) {
|
|
|
1208
1214
|
let propShouldBeUpdated = true;
|
|
1209
1215
|
if (hideReadOnlyProperties || hideWriteOnlyProperties) {
|
|
1210
1216
|
let resolvedRefIsEmpty = false;
|
|
1211
|
-
if (
|
|
1217
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, newPropSchema) && usedSchemas) {
|
|
1212
1218
|
const cached = usedSchemas.get(newPropSchema.$ref);
|
|
1213
|
-
if (cached && !
|
|
1219
|
+
if (cached && !_chunk7PWF3F2Wcjs.isRef.call(void 0, cached) && !isPendingSchema(cached) && Object.keys(cached).length === 0) {
|
|
1214
1220
|
resolvedRefIsEmpty = true;
|
|
1215
1221
|
}
|
|
1216
1222
|
}
|
|
@@ -1258,7 +1264,7 @@ function toJSONSchema(data, opts) {
|
|
|
1258
1264
|
}
|
|
1259
1265
|
}
|
|
1260
1266
|
}
|
|
1261
|
-
if (
|
|
1267
|
+
if (_chunk7PWF3F2Wcjs.isSchema.call(void 0, schema, isPolymorphicAllOfChild) && globalDefaults && Object.keys(globalDefaults).length > 0 && currentLocation) {
|
|
1262
1268
|
try {
|
|
1263
1269
|
const userJwtDefault = _jsonpointer2.default.get(globalDefaults, currentLocation);
|
|
1264
1270
|
if (userJwtDefault) {
|
|
@@ -1280,7 +1286,7 @@ function toJSONSchema(data, opts) {
|
|
|
1280
1286
|
schema.default = foundDefault;
|
|
1281
1287
|
}
|
|
1282
1288
|
}
|
|
1283
|
-
if (
|
|
1289
|
+
if (_chunk7PWF3F2Wcjs.isSchema.call(void 0, schema, isPolymorphicAllOfChild) && "enum" in schema && Array.isArray(schema.enum)) {
|
|
1284
1290
|
schema.enum = Array.from(new Set(schema.enum));
|
|
1285
1291
|
if (addEnumsToDescriptions) {
|
|
1286
1292
|
const enums = schema.enum.filter((v) => v !== void 0 && (typeof v !== "string" || v.trim() !== "")).map((str) => `\`${str}\``).join(" ");
|
|
@@ -1389,9 +1395,9 @@ function getParametersAsJSONSchema(operation, api, opts) {
|
|
|
1389
1395
|
examples: Object.values(mediaTypeObject.examples || {}).map((ex) => {
|
|
1390
1396
|
let example = ex;
|
|
1391
1397
|
if (!example) return;
|
|
1392
|
-
if (
|
|
1398
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, example)) {
|
|
1393
1399
|
example = dereferenceRef(example, operation.api);
|
|
1394
|
-
if (!example ||
|
|
1400
|
+
if (!example || _chunk7PWF3F2Wcjs.isRef.call(void 0, example)) return;
|
|
1395
1401
|
}
|
|
1396
1402
|
return example.value;
|
|
1397
1403
|
}).filter((item) => item !== void 0)
|
|
@@ -1518,7 +1524,7 @@ function getParametersAsJSONSchema(operation, api, opts) {
|
|
|
1518
1524
|
}
|
|
1519
1525
|
try {
|
|
1520
1526
|
const resolved = dereferenceRef({ $ref: ref }, api, seenRefs);
|
|
1521
|
-
if (
|
|
1527
|
+
if (_chunk7PWF3F2Wcjs.isRef.call(void 0, resolved)) return;
|
|
1522
1528
|
const converted = toJSONSchema(structuredClone(resolved), {
|
|
1523
1529
|
...baseSchemaOptions,
|
|
1524
1530
|
usedSchemas,
|
|
@@ -1571,4 +1577,4 @@ var SERVER_VARIABLE_REGEX = /{([-_a-zA-Z0-9:.[\]]+)}/g;
|
|
|
1571
1577
|
|
|
1572
1578
|
|
|
1573
1579
|
exports.isObject = isObject; exports.isPrimitive = isPrimitive; exports.decorateComponentSchemasWithRefName = decorateComponentSchemasWithRefName; exports.decodePointer = decodePointer; exports.dereferenceRef = dereferenceRef; exports.dereferenceRefDeep = dereferenceRefDeep; exports.getDereferencingOptions = getDereferencingOptions; exports.collectRefsInSchema = collectRefsInSchema; exports.filterRequiredRefsToReferenced = filterRequiredRefsToReferenced; exports.mergeReferencedSchemasIntoRoot = mergeReferencedSchemasIntoRoot; exports.matches_mimetype_default = matches_mimetype_default; exports.getParameterContentType = getParameterContentType; exports.cloneObject = cloneObject; exports.applyDiscriminatorOneOfToUsedSchemas = applyDiscriminatorOneOfToUsedSchemas; exports.getSchemaVersionString = getSchemaVersionString; exports.toJSONSchema = toJSONSchema; exports.types = types; exports.getParametersAsJSONSchema = getParametersAsJSONSchema; exports.supportedMethods = supportedMethods; exports.SERVER_VARIABLE_REGEX = SERVER_VARIABLE_REGEX;
|
|
1574
|
-
//# sourceMappingURL=chunk-
|
|
1580
|
+
//# sourceMappingURL=chunk-C6QTUTTF.cjs.map
|