oas 38.2.0 → 38.3.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.
@@ -7,7 +7,7 @@ var _chunkCOHEPMUPcjs = require('../chunk-COHEPMUP.cjs');
7
7
 
8
8
 
9
9
 
10
- var _chunkLD4LGZBBcjs = require('../chunk-LD4LGZBB.cjs');
10
+ var _chunk7WBPPWYIcjs = require('../chunk-7WBPPWYI.cjs');
11
11
  require('../chunk-6HXOZ5GY.cjs');
12
12
 
13
13
 
@@ -127,14 +127,14 @@ function accumulateReachableRefs(definition, seeds) {
127
127
  reachable.add(ref);
128
128
  let resolved;
129
129
  try {
130
- resolved = _jsonpointer2.default.get(definition, _chunkLD4LGZBBcjs.toPointer.call(void 0, ref));
130
+ resolved = _jsonpointer2.default.get(definition, _chunk7WBPPWYIcjs.toPointer.call(void 0, ref));
131
131
  } catch (e) {
132
132
  continue;
133
133
  }
134
134
  if (resolved === void 0) {
135
135
  continue;
136
136
  }
137
- _chunkLD4LGZBBcjs.collectRefsInSchema.call(void 0, resolved).forEach((nestedRef) => {
137
+ _chunk7WBPPWYIcjs.collectRefsInSchema.call(void 0, resolved).forEach((nestedRef) => {
138
138
  if (!reachable.has(nestedRef)) {
139
139
  queue.push(nestedRef);
140
140
  }
@@ -144,7 +144,7 @@ function accumulateReachableRefs(definition, seeds) {
144
144
  }
145
145
  function buildAnchors(rootPointer, extraPointers, reachableRefs) {
146
146
  const anchors = [rootPointer, ...extraPointers];
147
- reachableRefs.forEach((ref) => anchors.push(_chunkLD4LGZBBcjs.toPointer.call(void 0, ref)));
147
+ reachableRefs.forEach((ref) => anchors.push(_chunk7WBPPWYIcjs.toPointer.call(void 0, ref)));
148
148
  return { anchors, anchorPrefixes: anchors.map((anchor) => `${anchor}/`) };
149
149
  }
150
150
  function collectSecuritySchemeRefs(security) {
@@ -168,16 +168,16 @@ function computeOperationScope(definition, path, method) {
168
168
  }
169
169
  const pathItem = definition.paths[pathKey] || {};
170
170
  const methodKey = resolveKey(Object.keys(pathItem), method);
171
- if (!methodKey || !_chunkLD4LGZBBcjs.supportedMethods.includes(methodKey.toLowerCase())) {
171
+ if (!methodKey || !_chunk7WBPPWYIcjs.supportedMethods.includes(methodKey.toLowerCase())) {
172
172
  throw new Error(`Operation \`${method} ${path}\` not found.`);
173
173
  }
174
174
  const operation = pathItem[methodKey];
175
- const rootPointer = `/paths/${_chunkLD4LGZBBcjs.encodePointer.call(void 0, pathKey)}/${methodKey}`;
175
+ const rootPointer = `/paths/${_chunk7WBPPWYIcjs.encodePointer.call(void 0, pathKey)}/${methodKey}`;
176
176
  const extraPointers = [];
177
- const seeds = new Set(_chunkLD4LGZBBcjs.collectRefsInSchema.call(void 0, operation));
177
+ const seeds = new Set(_chunk7WBPPWYIcjs.collectRefsInSchema.call(void 0, operation));
178
178
  if (pathItem.parameters) {
179
- extraPointers.push(`/paths/${_chunkLD4LGZBBcjs.encodePointer.call(void 0, pathKey)}/parameters`);
180
- _chunkLD4LGZBBcjs.collectRefsInSchema.call(void 0, pathItem.parameters).forEach((ref) => seeds.add(ref));
179
+ extraPointers.push(`/paths/${_chunk7WBPPWYIcjs.encodePointer.call(void 0, pathKey)}/parameters`);
180
+ _chunk7WBPPWYIcjs.collectRefsInSchema.call(void 0, pathItem.parameters).forEach((ref) => seeds.add(ref));
181
181
  }
182
182
  const security = "security" in operation ? operation.security : definition.security;
183
183
  collectSecuritySchemeRefs(security).forEach((ref) => seeds.add(ref));
@@ -192,16 +192,16 @@ function computeWebhookScope(definition, webhookName, method) {
192
192
  }
193
193
  const webhook = webhooks2[webhookKey] || {};
194
194
  const methodKey = resolveKey(Object.keys(webhook), method);
195
- if (!methodKey || !_chunkLD4LGZBBcjs.supportedMethods.includes(methodKey.toLowerCase())) {
195
+ if (!methodKey || !_chunk7WBPPWYIcjs.supportedMethods.includes(methodKey.toLowerCase())) {
196
196
  throw new Error(`Webhook operation \`${method} ${webhookName}\` not found.`);
197
197
  }
198
198
  const operation = webhook[methodKey];
199
- const rootPointer = `/webhooks/${_chunkLD4LGZBBcjs.encodePointer.call(void 0, webhookKey)}/${methodKey}`;
199
+ const rootPointer = `/webhooks/${_chunk7WBPPWYIcjs.encodePointer.call(void 0, webhookKey)}/${methodKey}`;
200
200
  const extraPointers = [];
201
- const seeds = new Set(_chunkLD4LGZBBcjs.collectRefsInSchema.call(void 0, operation));
201
+ const seeds = new Set(_chunk7WBPPWYIcjs.collectRefsInSchema.call(void 0, operation));
202
202
  if (webhook.parameters) {
203
- extraPointers.push(`/webhooks/${_chunkLD4LGZBBcjs.encodePointer.call(void 0, webhookKey)}/parameters`);
204
- _chunkLD4LGZBBcjs.collectRefsInSchema.call(void 0, webhook.parameters).forEach((ref) => seeds.add(ref));
203
+ extraPointers.push(`/webhooks/${_chunk7WBPPWYIcjs.encodePointer.call(void 0, webhookKey)}/parameters`);
204
+ _chunk7WBPPWYIcjs.collectRefsInSchema.call(void 0, webhook.parameters).forEach((ref) => seeds.add(ref));
205
205
  }
206
206
  const security = "security" in operation ? operation.security : definition.security;
207
207
  collectSecuritySchemeRefs(security).forEach((ref) => seeds.add(ref));
@@ -392,7 +392,7 @@ async function buildAnalysis(definition, query2, scope) {
392
392
  }
393
393
  if (!query2 || query2.includes("circularRefs")) {
394
394
  const { circularRefs: dereferencedCircularRefs } = await dereferenceOasShared(definition);
395
- const circularRefs = (scope ? dereferencedCircularRefs.filter((ref) => isPointerInScope(_chunkLD4LGZBBcjs.toPointer.call(void 0, ref), scope)) : [...dereferencedCircularRefs]).toSorted();
395
+ const circularRefs = (scope ? dereferencedCircularRefs.filter((ref) => isPointerInScope(_chunk7WBPPWYIcjs.toPointer.call(void 0, ref), scope)) : [...dereferencedCircularRefs]).toSorted();
396
396
  analysis.circularRefs = {
397
397
  present: !!circularRefs.length,
398
398
  locations: circularRefs
@@ -7,7 +7,7 @@ import {
7
7
  encodePointer,
8
8
  supportedMethods,
9
9
  toPointer
10
- } from "../chunk-KUSZJDZB.js";
10
+ } from "../chunk-ANZIKNVX.js";
11
11
  import "../chunk-LZNTJ4ZR.js";
12
12
  import {
13
13
  isOpenAPI31
@@ -15,7 +15,7 @@
15
15
 
16
16
 
17
17
 
18
- var _chunkLD4LGZBBcjs = require('./chunk-LD4LGZBB.cjs');
18
+ var _chunk7WBPPWYIcjs = require('./chunk-7WBPPWYI.cjs');
19
19
 
20
20
 
21
21
  var _chunk6HXOZ5GYcjs = require('./chunk-6HXOZ5GY.cjs');
@@ -67,7 +67,7 @@ function normalizeURL(url, urlForProtocolCheck = url) {
67
67
  }
68
68
  function normalizedURLFromServers(servers, selected) {
69
69
  const server = _optionalChain([servers, 'optionalAccess', _7 => _7[selected]]);
70
- const resolvedUrl = _optionalChain([server, 'optionalAccess', _8 => _8.url, 'optionalAccess', _9 => _9.replace, 'call', _10 => _10(_chunkLD4LGZBBcjs.SERVER_VARIABLE_REGEX, (original, key) => {
70
+ const resolvedUrl = _optionalChain([server, 'optionalAccess', _8 => _8.url, 'optionalAccess', _9 => _9.replace, 'call', _10 => _10(_chunk7WBPPWYIcjs.SERVER_VARIABLE_REGEX, (original, key) => {
71
71
  return key in (server.variables || {}) ? String(_optionalChain([server, 'access', _11 => _11.variables, 'optionalAccess', _12 => _12[key], 'access', _13 => _13.default])) : original;
72
72
  })]);
73
73
  return normalizeURL(_optionalChain([server, 'optionalAccess', _14 => _14.url]), resolvedUrl);
@@ -108,7 +108,7 @@ function splitUrlFromServers(servers, selected = 0) {
108
108
  });
109
109
  }
110
110
  function transformURLIntoRegex(url) {
111
- return stripTrailingSlash(url.replace(_chunkLD4LGZBBcjs.SERVER_VARIABLE_REGEX, "([-_a-zA-Z0-9:.[\\]]+)"));
111
+ return stripTrailingSlash(url.replace(_chunk7WBPPWYIcjs.SERVER_VARIABLE_REGEX, "([-_a-zA-Z0-9:.[\\]]+)"));
112
112
  }
113
113
  function normalizePath(path) {
114
114
  return path.replace(/({?){(.*?)}(}?)/g, (str, ...args) => {
@@ -225,7 +225,7 @@ function usesPolymorphism(schema) {
225
225
  return false;
226
226
  }
227
227
  function objectify(thing) {
228
- if (!_chunkLD4LGZBBcjs.isObject.call(void 0, thing)) {
228
+ if (!_chunk7WBPPWYIcjs.isObject.call(void 0, thing)) {
229
229
  return {};
230
230
  }
231
231
  return thing;
@@ -290,7 +290,7 @@ function sampleFromSchema(schema, opts = {}) {
290
290
  if (seenRefs.has(refToRelease)) {
291
291
  return void 0;
292
292
  }
293
- objectifySchema = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, objectifySchema, opts.definition, seenRefs);
293
+ objectifySchema = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, objectifySchema, opts.definition, seenRefs);
294
294
  if (!objectifySchema || _chunk7PWF3F2Wcjs.isRef.call(void 0, objectifySchema)) {
295
295
  return void 0;
296
296
  }
@@ -308,7 +308,7 @@ function sampleFromResolvedSchema(schema, opts, seenRefs) {
308
308
  const { example, additionalProperties, properties, items } = schema;
309
309
  const { includeReadOnly, includeWriteOnly } = opts;
310
310
  if (example !== void 0) {
311
- return _chunkLD4LGZBBcjs.dereferenceRefDeep.call(void 0, example, opts.definition, seenRefs);
311
+ return _chunk7WBPPWYIcjs.dereferenceRefDeep.call(void 0, example, opts.definition, seenRefs);
312
312
  }
313
313
  const hasPolymorphism = usesPolymorphism(schema);
314
314
  if (hasPolymorphism === "allOf") {
@@ -317,7 +317,7 @@ function sampleFromResolvedSchema(schema, opts, seenRefs) {
317
317
  const resolvedAllOf = schema.allOf.map((subSchema) => {
318
318
  let sub = objectify(subSchema);
319
319
  if (definition && _chunk7PWF3F2Wcjs.isRef.call(void 0, sub)) {
320
- const resolved = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, sub, definition, /* @__PURE__ */ new Set());
320
+ const resolved = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, sub, definition, /* @__PURE__ */ new Set());
321
321
  if (resolved && !_chunk7PWF3F2Wcjs.isRef.call(void 0, resolved)) {
322
322
  sub = resolved;
323
323
  }
@@ -428,8 +428,8 @@ function sampleFromResolvedSchema(schema, opts, seenRefs) {
428
428
  // src/operation/lib/get-mediatype-examples.ts
429
429
  function getMediaTypeExamples(mediaType, mediaTypeObject, definition, opts = {}) {
430
430
  if (mediaTypeObject.example) {
431
- mediaTypeObject.example = _chunkLD4LGZBBcjs.dereferenceRefDeep.call(void 0, mediaTypeObject.example, definition);
432
- if (mediaTypeObject.example === void 0 || _chunkLD4LGZBBcjs.collectRefsInSchema.call(void 0, mediaTypeObject.example).size > 0) {
431
+ mediaTypeObject.example = _chunk7WBPPWYIcjs.dereferenceRefDeep.call(void 0, mediaTypeObject.example, definition);
432
+ if (mediaTypeObject.example === void 0 || _chunk7WBPPWYIcjs.collectRefsInSchema.call(void 0, mediaTypeObject.example).size > 0) {
433
433
  return [];
434
434
  }
435
435
  return [
@@ -445,7 +445,7 @@ function getMediaTypeExamples(mediaType, mediaTypeObject, definition, opts = {})
445
445
  let example = examples[key];
446
446
  if (example !== null && typeof example === "object") {
447
447
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, example)) {
448
- example = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, example, definition);
448
+ example = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, example, definition);
449
449
  if (!example || _chunk7PWF3F2Wcjs.isRef.call(void 0, example)) {
450
450
  return false;
451
451
  }
@@ -457,8 +457,8 @@ function getMediaTypeExamples(mediaType, mediaTypeObject, definition, opts = {})
457
457
  description = example.description;
458
458
  }
459
459
  if ("value" in example) {
460
- example.value = _chunkLD4LGZBBcjs.dereferenceRefDeep.call(void 0, example.value, definition);
461
- if (example.value === void 0 || _chunkLD4LGZBBcjs.collectRefsInSchema.call(void 0, example.value).size > 0) {
460
+ example.value = _chunk7WBPPWYIcjs.dereferenceRefDeep.call(void 0, example.value, definition);
461
+ if (example.value === void 0 || _chunk7WBPPWYIcjs.collectRefsInSchema.call(void 0, example.value).size > 0) {
462
462
  return false;
463
463
  }
464
464
  example = example.value;
@@ -475,7 +475,7 @@ function getMediaTypeExamples(mediaType, mediaTypeObject, definition, opts = {})
475
475
  }
476
476
  }
477
477
  if (mediaTypeObject.schema) {
478
- if (!_chunkLD4LGZBBcjs.matches_mimetype_default.xml(mediaType)) {
478
+ if (!_chunk7WBPPWYIcjs.matches_mimetype_default.xml(mediaType)) {
479
479
  return [
480
480
  {
481
481
  value: sampleFromSchema(structuredClone(mediaTypeObject.schema), {
@@ -496,7 +496,7 @@ function getResponseExamples(operation, definition) {
496
496
  let onlyHeaders = false;
497
497
  if (!response) return false;
498
498
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, response)) {
499
- response = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, response, definition);
499
+ response = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, response, definition);
500
500
  if (!response || _chunk7PWF3F2Wcjs.isRef.call(void 0, response)) return false;
501
501
  }
502
502
  const mediaTypes = {};
@@ -536,14 +536,14 @@ function getCallbackExamples(operation, definition) {
536
536
  let callback = _optionalChain([operation, 'access', _34 => _34.callbacks, 'optionalAccess', _35 => _35[identifier]]);
537
537
  if (!callback) return [];
538
538
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, callback)) {
539
- callback = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, callback, definition);
539
+ callback = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, callback, definition);
540
540
  if (!callback || _chunk7PWF3F2Wcjs.isRef.call(void 0, callback)) return [];
541
541
  }
542
542
  const items = Object.keys(callback).map((expression) => {
543
543
  let callbackPath = callback[expression];
544
544
  if (!callbackPath) return [];
545
545
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, callbackPath)) {
546
- callbackPath = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, callbackPath, definition);
546
+ callbackPath = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, callbackPath, definition);
547
547
  if (!callbackPath || _chunk7PWF3F2Wcjs.isRef.call(void 0, callbackPath)) return [];
548
548
  }
549
549
  return Object.keys(callbackPath).map((method) => {
@@ -626,7 +626,7 @@ function getExampleGroups(operation) {
626
626
  Object.entries(param.examples || {}).forEach(([exampleKey, paramExample]) => {
627
627
  let example = paramExample;
628
628
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, example)) {
629
- example = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, example, operation.api);
629
+ example = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, example, operation.api);
630
630
  if (!example || _chunk7PWF3F2Wcjs.isRef.call(void 0, example)) return;
631
631
  }
632
632
  groups[exampleKey] = {
@@ -674,7 +674,7 @@ function getRequestBodyExamples(operation, definition) {
674
674
  if (!requestBody) {
675
675
  return [];
676
676
  } else if (_chunk7PWF3F2Wcjs.isRef.call(void 0, requestBody)) {
677
- requestBody = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, requestBody, definition);
677
+ requestBody = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, requestBody, definition);
678
678
  }
679
679
  if (!requestBody || _chunk7PWF3F2Wcjs.isRef.call(void 0, requestBody) || !requestBody.content) {
680
680
  return [];
@@ -739,7 +739,7 @@ function getOperationId(path, method, operation, opts = {}) {
739
739
  }
740
740
 
741
741
  // src/operation/transformers/get-response-as-json-schema.ts
742
- var isJSON = _chunkLD4LGZBBcjs.matches_mimetype_default.json;
742
+ var isJSON = _chunk7WBPPWYIcjs.matches_mimetype_default.json;
743
743
  function buildHeadersSchema(response, schemaOptions) {
744
744
  const headersSchema = {
745
745
  type: "object",
@@ -752,7 +752,7 @@ function buildHeadersSchema(response, schemaOptions) {
752
752
  let headerEntry = _optionalChain([response, 'access', _62 => _62.headers, 'optionalAccess', _63 => _63[key]]);
753
753
  if (!headerEntry) return;
754
754
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, headerEntry)) {
755
- headerEntry = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, headerEntry, api, seenRefs);
755
+ headerEntry = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, headerEntry, api, seenRefs);
756
756
  if (!headerEntry || _chunk7PWF3F2Wcjs.isRef.call(void 0, headerEntry)) return;
757
757
  }
758
758
  if (headerEntry.schema) {
@@ -760,10 +760,10 @@ function buildHeadersSchema(response, schemaOptions) {
760
760
  let headerSchema = header.schema;
761
761
  if (!headerSchema) return;
762
762
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, headerSchema)) {
763
- headerSchema = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, headerSchema, api, seenRefs);
763
+ headerSchema = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, headerSchema, api, seenRefs);
764
764
  if (!headerSchema || _chunk7PWF3F2Wcjs.isRef.call(void 0, headerSchema)) return;
765
765
  }
766
- headersSchema.properties[key] = _chunkLD4LGZBBcjs.toJSONSchema.call(void 0, _chunkLD4LGZBBcjs.cloneObject.call(void 0, headerSchema), {
766
+ headersSchema.properties[key] = _chunk7WBPPWYIcjs.toJSONSchema.call(void 0, _chunk7WBPPWYIcjs.cloneObject.call(void 0, headerSchema), {
767
767
  addEnumsToDescriptions: true,
768
768
  ...schemaOptions
769
769
  });
@@ -817,32 +817,32 @@ function getResponseAsJSONSchema(operation, api, statusCode, opts) {
817
817
  }
818
818
  if (preferredContentType) {
819
819
  if (contentTypes.includes(preferredContentType)) {
820
- const schema2 = _chunkLD4LGZBBcjs.cloneObject.call(void 0, content[preferredContentType].schema);
820
+ const schema2 = _chunk7WBPPWYIcjs.cloneObject.call(void 0, content[preferredContentType].schema);
821
821
  if (!schema2) {
822
822
  return null;
823
823
  }
824
- return _chunkLD4LGZBBcjs.toJSONSchema.call(void 0, schema2, baseSchemaOptions);
824
+ return _chunk7WBPPWYIcjs.toJSONSchema.call(void 0, schema2, baseSchemaOptions);
825
825
  }
826
826
  return null;
827
827
  }
828
828
  for (let i = 0; i < contentTypes.length; i++) {
829
829
  if (isJSON(contentTypes[i])) {
830
- const schema2 = _chunkLD4LGZBBcjs.cloneObject.call(void 0, content[contentTypes[i]].schema);
830
+ const schema2 = _chunk7WBPPWYIcjs.cloneObject.call(void 0, content[contentTypes[i]].schema);
831
831
  if (!schema2) {
832
832
  return {};
833
833
  }
834
- return _chunkLD4LGZBBcjs.toJSONSchema.call(void 0, schema2, baseSchemaOptions);
834
+ return _chunk7WBPPWYIcjs.toJSONSchema.call(void 0, schema2, baseSchemaOptions);
835
835
  }
836
836
  }
837
837
  const contentType = contentTypes.shift();
838
838
  if (!contentType) {
839
839
  return {};
840
840
  }
841
- const schema = _chunkLD4LGZBBcjs.cloneObject.call(void 0, content[contentType].schema);
841
+ const schema = _chunk7WBPPWYIcjs.cloneObject.call(void 0, content[contentType].schema);
842
842
  if (!schema) {
843
843
  return {};
844
844
  }
845
- return _chunkLD4LGZBBcjs.toJSONSchema.call(void 0, schema, baseSchemaOptions);
845
+ return _chunk7WBPPWYIcjs.toJSONSchema.call(void 0, schema, baseSchemaOptions);
846
846
  }
847
847
  const foundSchema = getPreferredSchema(response.content, _optionalChain([opts, 'optionalAccess', _64 => _64.contentType]));
848
848
  if (_optionalChain([opts, 'optionalAccess', _65 => _65.contentType]) && !foundSchema) {
@@ -861,23 +861,23 @@ function getResponseAsJSONSchema(operation, api, statusCode, opts) {
861
861
  // able to render so instead of generating a JSON Schema with an `undefined` type we should
862
862
  // default to `string` so there's at least *something* the end-user can interact with.
863
863
  type: _nullishCoalesce(schemaType, () => ( "string")),
864
- schema: _chunkLD4LGZBBcjs.isPrimitive.call(void 0, schema) ? schema : {
864
+ schema: _chunk7WBPPWYIcjs.isPrimitive.call(void 0, schema) ? schema : {
865
865
  ...schema,
866
- $schema: _chunkLD4LGZBBcjs.getSchemaVersionString.call(void 0, schema, api)
866
+ $schema: _chunk7WBPPWYIcjs.getSchemaVersionString.call(void 0, schema, api)
867
867
  },
868
868
  label: "Response body"
869
869
  };
870
870
  if (response.description && schemaWrapper.schema) {
871
871
  schemaWrapper.description = response.description;
872
872
  }
873
- _chunkLD4LGZBBcjs.applyDiscriminatorOneOfToUsedSchemas.call(void 0, api, usedSchemas, (ref) => {
873
+ _chunk7WBPPWYIcjs.applyDiscriminatorOneOfToUsedSchemas.call(void 0, api, usedSchemas, (ref) => {
874
874
  if (usedSchemas.has(ref)) {
875
875
  return usedSchemas.get(ref);
876
876
  }
877
877
  try {
878
- const resolved = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, { $ref: ref }, api, seenRefs);
878
+ const resolved = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, { $ref: ref }, api, seenRefs);
879
879
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, resolved)) return;
880
- const converted = _chunkLD4LGZBBcjs.toJSONSchema.call(void 0, structuredClone(resolved), {
880
+ const converted = _chunk7WBPPWYIcjs.toJSONSchema.call(void 0, structuredClone(resolved), {
881
881
  ...baseSchemaOptions,
882
882
  seenRefs
883
883
  });
@@ -887,11 +887,11 @@ function getResponseAsJSONSchema(operation, api, statusCode, opts) {
887
887
  }
888
888
  });
889
889
  if (schemaWrapper.schema && usedSchemas.size > 0) {
890
- const refsInOutput = _chunkLD4LGZBBcjs.collectRefsInSchema.call(void 0, schemaWrapper.schema);
890
+ const refsInOutput = _chunk7WBPPWYIcjs.collectRefsInSchema.call(void 0, schemaWrapper.schema);
891
891
  const refsInGroup = _nullishCoalesce(refsByGroup.get("body"), () => ( /* @__PURE__ */ new Set()));
892
- const referencedSchemas = _chunkLD4LGZBBcjs.filterRequiredRefsToReferenced.call(void 0, /* @__PURE__ */ new Set([...refsInGroup, ...refsInOutput]), usedSchemas);
892
+ const referencedSchemas = _chunk7WBPPWYIcjs.filterRequiredRefsToReferenced.call(void 0, /* @__PURE__ */ new Set([...refsInGroup, ...refsInOutput]), usedSchemas);
893
893
  if (referencedSchemas.size > 0) {
894
- _chunkLD4LGZBBcjs.mergeReferencedSchemasIntoRoot.call(void 0, schemaWrapper.schema, referencedSchemas);
894
+ _chunk7WBPPWYIcjs.mergeReferencedSchemasIntoRoot.call(void 0, schemaWrapper.schema, referencedSchemas);
895
895
  }
896
896
  }
897
897
  jsonSchema.push(schemaWrapper);
@@ -903,10 +903,10 @@ function getResponseAsJSONSchema(operation, api, statusCode, opts) {
903
903
  });
904
904
  if (headersWrapper.schema && usedSchemas.size > 0) {
905
905
  const refsInGroup = _nullishCoalesce(refsByGroup.get("headers"), () => ( /* @__PURE__ */ new Set()));
906
- const refsInOutput = _chunkLD4LGZBBcjs.collectRefsInSchema.call(void 0, headersWrapper.schema);
907
- const referencedSchemas = _chunkLD4LGZBBcjs.filterRequiredRefsToReferenced.call(void 0, /* @__PURE__ */ new Set([...refsInGroup, ...refsInOutput]), usedSchemas);
906
+ const refsInOutput = _chunk7WBPPWYIcjs.collectRefsInSchema.call(void 0, headersWrapper.schema);
907
+ const referencedSchemas = _chunk7WBPPWYIcjs.filterRequiredRefsToReferenced.call(void 0, /* @__PURE__ */ new Set([...refsInGroup, ...refsInOutput]), usedSchemas);
908
908
  if (referencedSchemas.size > 0) {
909
- _chunkLD4LGZBBcjs.mergeReferencedSchemasIntoRoot.call(void 0, headersWrapper.schema, referencedSchemas);
909
+ _chunk7WBPPWYIcjs.mergeReferencedSchemasIntoRoot.call(void 0, headersWrapper.schema, referencedSchemas);
910
910
  }
911
911
  }
912
912
  jsonSchema.push(headersWrapper);
@@ -1017,7 +1017,7 @@ var Operation = class {
1017
1017
  return this.schema.servers;
1018
1018
  }
1019
1019
  if (_optionalChain([this, 'access', _81 => _81.api, 'access', _82 => _82.paths, 'optionalAccess', _83 => _83[this.path]])) {
1020
- const pathItem = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, this.api.paths[this.path], this.api);
1020
+ const pathItem = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, this.api.paths[this.path], this.api);
1021
1021
  if (pathItem && !_chunk7PWF3F2Wcjs.isRef.call(void 0, pathItem) && _optionalChain([pathItem, 'access', _84 => _84.servers, 'optionalAccess', _85 => _85.length])) {
1022
1022
  return pathItem.servers;
1023
1023
  }
@@ -1052,7 +1052,7 @@ var Operation = class {
1052
1052
  let types = [];
1053
1053
  if (this.schema.requestBody) {
1054
1054
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, this.schema.requestBody)) {
1055
- this.schema.requestBody = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, this.schema.requestBody, this.api);
1055
+ this.schema.requestBody = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, this.schema.requestBody, this.api);
1056
1056
  }
1057
1057
  if (this.schema.requestBody && "content" in this.schema.requestBody) {
1058
1058
  types = Object.keys(this.schema.requestBody.content);
@@ -1063,7 +1063,7 @@ var Operation = class {
1063
1063
  this.contentType = types[0];
1064
1064
  }
1065
1065
  types.forEach((t) => {
1066
- if (_chunkLD4LGZBBcjs.matches_mimetype_default.json(t)) {
1066
+ if (_chunk7WBPPWYIcjs.matches_mimetype_default.json(t)) {
1067
1067
  this.contentType = t;
1068
1068
  }
1069
1069
  });
@@ -1076,7 +1076,7 @@ var Operation = class {
1076
1076
  * @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-request-body-content}
1077
1077
  */
1078
1078
  isFormUrlEncoded() {
1079
- return _chunkLD4LGZBBcjs.matches_mimetype_default.formUrlEncoded(this.getContentType());
1079
+ return _chunk7WBPPWYIcjs.matches_mimetype_default.formUrlEncoded(this.getContentType());
1080
1080
  }
1081
1081
  /**
1082
1082
  * Checks if the current operation has a mutipart content type payload.
@@ -1085,7 +1085,7 @@ var Operation = class {
1085
1085
  * @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-request-body-content}
1086
1086
  */
1087
1087
  isMultipart() {
1088
- return _chunkLD4LGZBBcjs.matches_mimetype_default.multipart(this.getContentType());
1088
+ return _chunk7WBPPWYIcjs.matches_mimetype_default.multipart(this.getContentType());
1089
1089
  }
1090
1090
  /**
1091
1091
  * Checks if the current operation has a JSON-like content type payload.
@@ -1094,7 +1094,7 @@ var Operation = class {
1094
1094
  * @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-request-body-content}
1095
1095
  */
1096
1096
  isJson() {
1097
- return _chunkLD4LGZBBcjs.matches_mimetype_default.json(this.getContentType());
1097
+ return _chunk7WBPPWYIcjs.matches_mimetype_default.json(this.getContentType());
1098
1098
  }
1099
1099
  /**
1100
1100
  * Checks if the current operation has an XML content type payload.
@@ -1103,7 +1103,7 @@ var Operation = class {
1103
1103
  * @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.2.md#user-content-request-body-content}
1104
1104
  */
1105
1105
  isXml() {
1106
- return _chunkLD4LGZBBcjs.matches_mimetype_default.xml(this.getContentType());
1106
+ return _chunk7WBPPWYIcjs.matches_mimetype_default.xml(this.getContentType());
1107
1107
  }
1108
1108
  /**
1109
1109
  * Checks if the current operation is a webhook or not.
@@ -1151,7 +1151,7 @@ var Operation = class {
1151
1151
  security = _optionalChain([this, 'access', _94 => _94.api, 'optionalAccess', _95 => _95.components, 'optionalAccess', _96 => _96.securitySchemes, 'optionalAccess', _97 => _97[key]]);
1152
1152
  if (!security) return false;
1153
1153
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, security)) {
1154
- security = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, security, this.api);
1154
+ security = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, security, this.api);
1155
1155
  if (!security || _chunk7PWF3F2Wcjs.isRef.call(void 0, security)) return false;
1156
1156
  }
1157
1157
  } catch (e6) {
@@ -1232,7 +1232,7 @@ var Operation = class {
1232
1232
  this.schema.parameters.map((p) => {
1233
1233
  let param = p;
1234
1234
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, param)) {
1235
- param = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, param, this.api);
1235
+ param = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, param, this.api);
1236
1236
  if (!param || _chunk7PWF3F2Wcjs.isRef.call(void 0, param)) return;
1237
1237
  }
1238
1238
  if (param.in && param.in === "header") return param.name;
@@ -1245,7 +1245,7 @@ var Operation = class {
1245
1245
  let response = this.schema.responses[r];
1246
1246
  if (!response) return [];
1247
1247
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, response)) {
1248
- this.schema.responses[r] = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, response, this.api);
1248
+ this.schema.responses[r] = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, response, this.api);
1249
1249
  response = this.schema.responses[r];
1250
1250
  if (!response || _chunk7PWF3F2Wcjs.isRef.call(void 0, response)) {
1251
1251
  return [];
@@ -1258,7 +1258,7 @@ var Operation = class {
1258
1258
  let requestBody = this.schema.requestBody;
1259
1259
  if (requestBody) {
1260
1260
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, requestBody)) {
1261
- this.schema.requestBody = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, requestBody, this.api);
1261
+ this.schema.requestBody = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, requestBody, this.api);
1262
1262
  requestBody = this.schema.requestBody;
1263
1263
  }
1264
1264
  if (requestBody && !_chunk7PWF3F2Wcjs.isRef.call(void 0, requestBody) && "content" in requestBody && Object.keys(requestBody.content)) {
@@ -1271,7 +1271,7 @@ var Operation = class {
1271
1271
  let response = _optionalChain([this, 'access', _101 => _101.schema, 'access', _102 => _102.responses, 'optionalAccess', _103 => _103[r]]);
1272
1272
  if (!response) return false;
1273
1273
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, response)) {
1274
- this.schema.responses[r] = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, response, this.api);
1274
+ this.schema.responses[r] = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, response, this.api);
1275
1275
  response = this.schema.responses[r];
1276
1276
  if (!response || _chunk7PWF3F2Wcjs.isRef.call(void 0, response)) {
1277
1277
  return false;
@@ -1381,7 +1381,7 @@ var Operation = class {
1381
1381
  let parameters = (_optionalChain([this, 'access', _106 => _106.schema, 'optionalAccess', _107 => _107.parameters]) || []).map((p) => {
1382
1382
  let param = p;
1383
1383
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, param)) {
1384
- param = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, param, this.api);
1384
+ param = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, param, this.api);
1385
1385
  if (!param || _chunk7PWF3F2Wcjs.isRef.call(void 0, param)) return;
1386
1386
  }
1387
1387
  return param;
@@ -1389,7 +1389,7 @@ var Operation = class {
1389
1389
  const commonParams = (_optionalChain([this, 'access', _108 => _108.api, 'optionalAccess', _109 => _109.paths, 'optionalAccess', _110 => _110[this.path], 'optionalAccess', _111 => _111.parameters]) || []).map((p) => {
1390
1390
  let param = p;
1391
1391
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, param)) {
1392
- param = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, param, this.api);
1392
+ param = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, param, this.api);
1393
1393
  if (!param || _chunk7PWF3F2Wcjs.isRef.call(void 0, param)) return;
1394
1394
  }
1395
1395
  return param;
@@ -1421,8 +1421,8 @@ var Operation = class {
1421
1421
  *
1422
1422
  */
1423
1423
  getParametersAsJSONSchema(opts = {}) {
1424
- _chunkLD4LGZBBcjs.decorateComponentSchemasWithRefName.call(void 0, this.api);
1425
- return _chunkLD4LGZBBcjs.getParametersAsJSONSchema.call(void 0, this, this.api, {
1424
+ _chunk7WBPPWYIcjs.decorateComponentSchemasWithRefName.call(void 0, this.api);
1425
+ return _chunk7WBPPWYIcjs.getParametersAsJSONSchema.call(void 0, this, this.api, {
1426
1426
  includeDiscriminatorMappingRefs: true,
1427
1427
  ...opts
1428
1428
  });
@@ -1441,7 +1441,7 @@ var Operation = class {
1441
1441
  * this content-type, the function will return null.
1442
1442
  */
1443
1443
  getResponseAsJSONSchema(statusCode, opts = {}) {
1444
- _chunkLD4LGZBBcjs.decorateComponentSchemasWithRefName.call(void 0, this.api);
1444
+ _chunk7WBPPWYIcjs.decorateComponentSchemasWithRefName.call(void 0, this.api);
1445
1445
  return getResponseAsJSONSchema(this, this.api, statusCode, {
1446
1446
  includeDiscriminatorMappingRefs: true,
1447
1447
  ...opts
@@ -1454,7 +1454,7 @@ var Operation = class {
1454
1454
  getResponseStatusCodes() {
1455
1455
  if (!this.schema.responses) return [];
1456
1456
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, this.schema.responses)) {
1457
- this.schema.responses = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, this.schema.responses, this.api);
1457
+ this.schema.responses = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, this.schema.responses, this.api);
1458
1458
  if (!this.schema.responses || _chunk7PWF3F2Wcjs.isRef.call(void 0, this.schema.responses)) {
1459
1459
  return [];
1460
1460
  }
@@ -1480,7 +1480,7 @@ var Operation = class {
1480
1480
  let resp = response;
1481
1481
  if (!resp) return;
1482
1482
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, resp)) {
1483
- resp = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, resp, this.api);
1483
+ resp = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, resp, this.api);
1484
1484
  if (!resp || _chunk7PWF3F2Wcjs.isRef.call(void 0, resp)) {
1485
1485
  return;
1486
1486
  }
@@ -1509,7 +1509,7 @@ var Operation = class {
1509
1509
  let requestBody = this.schema.requestBody;
1510
1510
  if (!requestBody) return false;
1511
1511
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, requestBody)) {
1512
- this.schema.requestBody = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, requestBody, this.api);
1512
+ this.schema.requestBody = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, requestBody, this.api);
1513
1513
  requestBody = this.schema.requestBody;
1514
1514
  if (!requestBody || _chunk7PWF3F2Wcjs.isRef.call(void 0, requestBody)) {
1515
1515
  return false;
@@ -1583,7 +1583,7 @@ var Operation = class {
1583
1583
  let availableMediaType;
1584
1584
  const mediaTypes = this.getRequestBodyMediaTypes();
1585
1585
  mediaTypes.forEach((mt) => {
1586
- if (!availableMediaType && _chunkLD4LGZBBcjs.matches_mimetype_default.json(mt)) {
1586
+ if (!availableMediaType && _chunk7WBPPWYIcjs.matches_mimetype_default.json(mt)) {
1587
1587
  availableMediaType = mt;
1588
1588
  }
1589
1589
  });
@@ -1631,7 +1631,7 @@ var Operation = class {
1631
1631
  let response = this.schema.responses[statusCode];
1632
1632
  if (!response) return false;
1633
1633
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, response)) {
1634
- this.schema.responses[statusCode] = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, response, this.api);
1634
+ this.schema.responses[statusCode] = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, response, this.api);
1635
1635
  response = this.schema.responses[statusCode];
1636
1636
  if (!response || _chunk7PWF3F2Wcjs.isRef.call(void 0, response)) {
1637
1637
  return false;
@@ -1675,7 +1675,7 @@ var Operation = class {
1675
1675
  let callbackObj = this.schema.callbacks[identifier];
1676
1676
  if (!callbackObj) return false;
1677
1677
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, callbackObj)) {
1678
- this.schema.callbacks[identifier] = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, callbackObj, this.api);
1678
+ this.schema.callbacks[identifier] = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, callbackObj, this.api);
1679
1679
  callbackObj = this.schema.callbacks[identifier];
1680
1680
  if (!callbackObj || _chunk7PWF3F2Wcjs.isRef.call(void 0, callbackObj)) {
1681
1681
  return false;
@@ -1684,7 +1684,7 @@ var Operation = class {
1684
1684
  let callback = callbackObj[expression];
1685
1685
  if (!callback) return false;
1686
1686
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, callback)) {
1687
- callbackObj[expression] = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, callback, this.api);
1687
+ callbackObj[expression] = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, callback, this.api);
1688
1688
  callback = callbackObj[expression];
1689
1689
  if (!callback || _chunk7PWF3F2Wcjs.isRef.call(void 0, callback)) {
1690
1690
  return false;
@@ -1708,7 +1708,7 @@ var Operation = class {
1708
1708
  let cb = _optionalChain([this, 'access', _120 => _120.schema, 'access', _121 => _121.callbacks, 'optionalAccess', _122 => _122[callback]]);
1709
1709
  if (!cb) return;
1710
1710
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, cb)) {
1711
- this.schema.callbacks[callback] = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, cb, this.api);
1711
+ this.schema.callbacks[callback] = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, cb, this.api);
1712
1712
  cb = this.schema.callbacks[callback];
1713
1713
  if (!cb || _chunk7PWF3F2Wcjs.isRef.call(void 0, cb)) {
1714
1714
  return;
@@ -1718,14 +1718,14 @@ var Operation = class {
1718
1718
  let callbackPath = cb[expression];
1719
1719
  if (!callbackPath) return;
1720
1720
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, callbackPath)) {
1721
- cb[expression] = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, callbackPath, this.api);
1721
+ cb[expression] = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, callbackPath, this.api);
1722
1722
  callbackPath = cb[expression];
1723
1723
  if (!callbackPath || _chunk7PWF3F2Wcjs.isRef.call(void 0, callbackPath)) {
1724
1724
  return;
1725
1725
  }
1726
1726
  }
1727
1727
  Object.keys(callbackPath).forEach((method) => {
1728
- if (!_chunkLD4LGZBBcjs.supportedMethods.includes(method)) return;
1728
+ if (!_chunk7WBPPWYIcjs.supportedMethods.includes(method)) return;
1729
1729
  const found = this.getCallback(callback, expression, method);
1730
1730
  if (found) {
1731
1731
  callbacks.push(found);
@@ -1849,7 +1849,7 @@ var Callback = class extends Operation {
1849
1849
  let parameters = (_optionalChain([this, 'access', _129 => _129.schema, 'optionalAccess', _130 => _130.parameters]) || []).map((p) => {
1850
1850
  let param = p;
1851
1851
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, param)) {
1852
- param = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, param, this.api);
1852
+ param = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, param, this.api);
1853
1853
  if (!param || _chunk7PWF3F2Wcjs.isRef.call(void 0, param)) return;
1854
1854
  }
1855
1855
  return param;
@@ -1857,7 +1857,7 @@ var Callback = class extends Operation {
1857
1857
  const commonParams = (this.parentSchema.parameters || []).map((p) => {
1858
1858
  let param = p;
1859
1859
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, param)) {
1860
- param = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, param, this.api);
1860
+ param = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, param, this.api);
1861
1861
  if (!param || _chunk7PWF3F2Wcjs.isRef.call(void 0, param)) return;
1862
1862
  }
1863
1863
  return param;
@@ -1883,7 +1883,7 @@ var Webhook = class extends Operation {
1883
1883
  }
1884
1884
  let webhookPath = this.api.webhooks[this.path];
1885
1885
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, webhookPath)) {
1886
- this.api.webhooks[this.path] = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, webhookPath, this.api);
1886
+ this.api.webhooks[this.path] = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, webhookPath, this.api);
1887
1887
  webhookPath = this.api.webhooks[this.path];
1888
1888
  }
1889
1889
  return _optionalChain([webhookPath, 'optionalAccess', _133 => _133.summary]);
@@ -1902,7 +1902,7 @@ var Webhook = class extends Operation {
1902
1902
  }
1903
1903
  let webhookPath = this.api.webhooks[this.path];
1904
1904
  if (_chunk7PWF3F2Wcjs.isRef.call(void 0, webhookPath)) {
1905
- this.api.webhooks[this.path] = _chunkLD4LGZBBcjs.dereferenceRef.call(void 0, webhookPath, this.api);
1905
+ this.api.webhooks[this.path] = _chunk7WBPPWYIcjs.dereferenceRef.call(void 0, webhookPath, this.api);
1906
1906
  webhookPath = this.api.webhooks[this.path];
1907
1907
  }
1908
1908
  return _optionalChain([webhookPath, 'optionalAccess', _136 => _136.description]);
@@ -1936,4 +1936,4 @@ exports.getUserVariable = getUserVariable; exports.stripTrailingSlash = stripTra
1936
1936
  * @license Apache-2.0
1937
1937
  * @see {@link https://github.com/swagger-api/swagger-ui/blob/master/src/core/plugins/samples/fn.js}
1938
1938
  */
1939
- //# sourceMappingURL=chunk-MBBCDUMF.cjs.map
1939
+ //# sourceMappingURL=chunk-3ZXZMZXT.cjs.map