@swagger-api/apidom-ns-openapi-2 0.99.0 → 0.99.2

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.
@@ -2,16 +2,15 @@ import { specificationObj as JSONSchemaDraft4Specification, isJSONReferenceEleme
2
2
  const {
3
3
  allOf: JSONSchemaAllOfVisitor
4
4
  } = JSONSchemaDraft4Specification.visitors.document.objects.JSONSchema.fixedFields;
5
- const AllOfVisitor = JSONSchemaAllOfVisitor.compose({
6
- methods: {
7
- ArrayElement(arrayElement) {
8
- // @ts-ignore
9
- const result = JSONSchemaAllOfVisitor.compose.methods.ArrayElement.call(this, arrayElement);
10
- this.element.filter(isJSONReferenceElement).forEach(referenceElement => {
11
- referenceElement.setMetaProperty('referenced-element', 'schema');
12
- });
13
- return result;
14
- }
5
+ class AllOfVisitor extends JSONSchemaAllOfVisitor {
6
+ ArrayElement(arrayElement) {
7
+ const result = JSONSchemaAllOfVisitor.prototype.ArrayElement.call(this, arrayElement);
8
+ this.element.filter(isJSONReferenceElement)
9
+ // @ts-ignore
10
+ .forEach(referenceElement => {
11
+ referenceElement.setMetaProperty('referenced-element', 'schema');
12
+ });
13
+ return result;
15
14
  }
16
- });
15
+ }
17
16
  export default AllOfVisitor;
@@ -2,24 +2,22 @@ import { specificationObj as JSONSchemaDraft4Specification, isJSONReferenceEleme
2
2
  const {
3
3
  items: JSONSchemaItemsVisitor
4
4
  } = JSONSchemaDraft4Specification.visitors.document.objects.JSONSchema.fixedFields;
5
- const ItemsVisitor = JSONSchemaItemsVisitor.compose({
6
- methods: {
7
- ObjectElement(objectElement) {
8
- // @ts-ignore
9
- const result = JSONSchemaItemsVisitor.compose.methods.ObjectElement.call(this, objectElement);
10
- if (isJSONReferenceElement(this.element)) {
11
- this.element.setMetaProperty('referenced-element', 'schema');
12
- }
13
- return result;
14
- },
15
- ArrayElement(arrayElement) {
16
- // @ts-ignore
17
- const result = JSONSchemaItemsVisitor.compose.methods.ArrayElement.call(this, arrayElement);
18
- this.element.filter(isJSONReferenceElement).forEach(referenceElement => {
19
- referenceElement.setMetaProperty('referenced-element', 'schema');
20
- });
21
- return result;
5
+ class ItemsVisitor extends JSONSchemaItemsVisitor {
6
+ ObjectElement(objectElement) {
7
+ const result = JSONSchemaItemsVisitor.prototype.ObjectElement.call(this, objectElement);
8
+ if (isJSONReferenceElement(this.element)) {
9
+ this.element.setMetaProperty('referenced-element', 'schema');
22
10
  }
11
+ return result;
23
12
  }
24
- });
13
+ ArrayElement(arrayElement) {
14
+ const result = JSONSchemaItemsVisitor.prototype.ArrayElement.call(this, arrayElement);
15
+ this.element.filter(isJSONReferenceElement)
16
+ // @ts-ignore
17
+ .forEach(referenceElement => {
18
+ referenceElement.setMetaProperty('referenced-element', 'schema');
19
+ });
20
+ return result;
21
+ }
22
+ }
25
23
  export default ItemsVisitor;
@@ -2,16 +2,15 @@ import { specificationObj as JSONSchemaDraft4Specification, isJSONReferenceEleme
2
2
  const {
3
3
  properties: JSONSchemaPropertiesVisitor
4
4
  } = JSONSchemaDraft4Specification.visitors.document.objects.JSONSchema.fixedFields;
5
- const PropertiesVisitor = JSONSchemaPropertiesVisitor.compose({
6
- methods: {
7
- ObjectElement(objectElement) {
8
- // @ts-ignore
9
- const result = JSONSchemaPropertiesVisitor.compose.methods.ObjectElement.call(this, objectElement);
10
- this.element.filter(isJSONReferenceElement).forEach(referenceElement => {
11
- referenceElement.setMetaProperty('referenced-element', 'schema');
12
- });
13
- return result;
14
- }
5
+ class PropertiesVisitor extends JSONSchemaPropertiesVisitor {
6
+ ObjectElement(objectElement) {
7
+ const result = JSONSchemaPropertiesVisitor.prototype.ObjectElement.call(this, objectElement);
8
+ this.element.filter(isJSONReferenceElement)
9
+ // @ts-ignore
10
+ .forEach(referenceElement => {
11
+ referenceElement.setMetaProperty('referenced-element', 'schema');
12
+ });
13
+ return result;
15
14
  }
16
- });
15
+ }
17
16
  export default PropertiesVisitor;
@@ -2,16 +2,13 @@ import { specificationObj as JSONSchemaDraft4Specification, isJSONReferenceEleme
2
2
  const {
3
3
  JSONSchemaOrJSONReferenceVisitor
4
4
  } = JSONSchemaDraft4Specification.visitors;
5
- const SchemaOrJSONReferenceVisitor = JSONSchemaOrJSONReferenceVisitor.compose({
6
- methods: {
7
- ObjectElement(objectElement) {
8
- // @ts-ignore
9
- const result = JSONSchemaOrJSONReferenceVisitor.compose.methods.enter.call(this, objectElement);
10
- if (isJSONReferenceElement(this.element)) {
11
- this.element.setMetaProperty('referenced-element', 'schema');
12
- }
13
- return result;
5
+ class SchemaOrJSONReferenceVisitor extends JSONSchemaOrJSONReferenceVisitor {
6
+ ObjectElement(objectElement) {
7
+ const result = JSONSchemaOrJSONReferenceVisitor.prototype.enter.call(this, objectElement);
8
+ if (isJSONReferenceElement(this.element)) {
9
+ this.element.setMetaProperty('referenced-element', 'schema');
14
10
  }
11
+ return result;
15
12
  }
16
- });
13
+ }
17
14
  export default SchemaOrJSONReferenceVisitor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swagger-api/apidom-ns-openapi-2",
3
- "version": "0.99.0",
3
+ "version": "0.99.2",
4
4
  "description": "OpenAPI 2.0 namespace for ApiDOM.",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -42,12 +42,12 @@
42
42
  "license": "Apache-2.0",
43
43
  "dependencies": {
44
44
  "@babel/runtime-corejs3": "^7.20.7",
45
- "@swagger-api/apidom-core": "^0.99.0",
45
+ "@swagger-api/apidom-core": "^0.99.2",
46
46
  "@swagger-api/apidom-error": "^0.99.0",
47
- "@swagger-api/apidom-ns-json-schema-draft-4": "^0.99.0",
47
+ "@swagger-api/apidom-ns-json-schema-draft-4": "^0.99.2",
48
48
  "@types/ramda": "~0.29.6",
49
- "ramda": "~0.29.1",
50
- "ramda-adjunct": "^4.1.1",
49
+ "ramda": "~0.30.0",
50
+ "ramda-adjunct": "^5.0.0",
51
51
  "ts-mixer": "^6.0.3"
52
52
  },
53
53
  "files": [
@@ -60,5 +60,5 @@
60
60
  "README.md",
61
61
  "CHANGELOG.md"
62
62
  ],
63
- "gitHead": "e3c5ac3e738d561a0eb6d9d0f729e0d6bf20b00f"
63
+ "gitHead": "6080f63b5e18283c10dcebc5ec6087552a3e1d4f"
64
64
  }
package/types/dist.d.ts CHANGED
@@ -2,10 +2,10 @@
2
2
  import * as _swagger_api_apidom_core from '@swagger-api/apidom-core';
3
3
  import { MediaTypes, NamespacePluginOptions, StringElement, Element, Meta, Attributes, ObjectElement, ArrayElement, MemberElement, BooleanElement, NumberElement } from '@swagger-api/apidom-core';
4
4
  export { isArrayElement, isBooleanElement, isElement, isLinkElement as isLinkPrimitiveElement, isMemberElement, isNullElement, isNumberElement, isObjectElement, isRefElement, isStringElement } from '@swagger-api/apidom-core';
5
+ import * as _swagger_api_apidom_ns_json_schema_draft_4 from '@swagger-api/apidom-ns-json-schema-draft-4';
5
6
  import { JSONSchemaElement, JSONReferenceElement, MediaElement } from '@swagger-api/apidom-ns-json-schema-draft-4';
6
- export { JSONReferenceElement, isJSONReferenceElement, isJSONReferenceLikeElement } from '@swagger-api/apidom-ns-json-schema-draft-4';
7
+ export { JSONReferenceElement, AllOfVisitorOptions as SchemaAllOfVisitorOptions, ItemsVisitorOptions as SchemaItemsVisitorOptions, SchemaOrReferenceVisitorOptions as SchemaOrJSONReferenceVisitorOptions, PropertiesVisitorOptions as SchemaPropertiesVisitorOptions, isJSONReferenceElement, isJSONReferenceLikeElement } from '@swagger-api/apidom-ns-json-schema-draft-4';
7
8
  import * as minim from 'minim';
8
- import * as stampit from 'stampit';
9
9
  import * as ts_mixer_dist_types_types from 'ts-mixer/dist/types/types';
10
10
 
11
11
  type Format = 'generic' | 'json' | 'yaml';
@@ -758,7 +758,7 @@ declare class Items extends JSONSchemaElement {
758
758
  interface ItemsVisitorOptions extends FixedFieldsVisitorOptions, VisitorOptions {
759
759
  }
760
760
  declare const ItemsVisitor_base: ts_mixer_dist_types_types.Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
761
- declare class ItemsVisitor extends ItemsVisitor_base {
761
+ declare class ItemsVisitor$1 extends ItemsVisitor_base {
762
762
  readonly element: Items;
763
763
  protected readonly specPath: SpecPath<['document', 'objects', 'Items']>;
764
764
  protected readonly canSupportSpecificationExtensions: true;
@@ -978,6 +978,28 @@ declare class SchemaVisitor extends SchemaVisitor_base {
978
978
  constructor(options: SchemaVisitorOptions);
979
979
  }
980
980
 
981
+ declare const JSONSchemaAllOfVisitor: typeof _swagger_api_apidom_ns_json_schema_draft_4.AllOfVisitor;
982
+ declare class AllOfVisitor extends JSONSchemaAllOfVisitor {
983
+ ArrayElement(arrayElement: ArrayElement): {};
984
+ }
985
+
986
+ declare const JSONSchemaItemsVisitor: typeof _swagger_api_apidom_ns_json_schema_draft_4.ItemsVisitor;
987
+ declare class ItemsVisitor extends JSONSchemaItemsVisitor {
988
+ ObjectElement(objectElement: ObjectElement): {};
989
+ ArrayElement(arrayElement: ArrayElement): {};
990
+ }
991
+
992
+ declare const JSONSchemaPropertiesVisitor: typeof _swagger_api_apidom_ns_json_schema_draft_4.PropertiesVisitor;
993
+ declare class PropertiesVisitor extends JSONSchemaPropertiesVisitor {
994
+ ObjectElement(objectElement: ObjectElement): {};
995
+ }
996
+
997
+ declare const JSONSchemaOrJSONReferenceVisitor: typeof _swagger_api_apidom_ns_json_schema_draft_4.SchemaOrReferenceVisitor;
998
+ declare class SchemaOrJSONReferenceVisitor extends JSONSchemaOrJSONReferenceVisitor {
999
+ element: Schema | JSONReferenceElement;
1000
+ ObjectElement(objectElement: ObjectElement): {};
1001
+ }
1002
+
981
1003
  declare class Xml extends ObjectElement {
982
1004
  constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
983
1005
  get name(): StringElement | undefined;
@@ -1111,9 +1133,9 @@ declare const specification: {
1111
1133
  document: {
1112
1134
  objects: {
1113
1135
  JSONReference: {
1114
- $visitor: stampit.default.Stamp<any>;
1136
+ $visitor: typeof _swagger_api_apidom_ns_json_schema_draft_4.JSONReferenceVisitor;
1115
1137
  fixedFields: {
1116
- $ref: stampit.default.Stamp<any>;
1138
+ $ref: typeof _swagger_api_apidom_ns_json_schema_draft_4.JSONReference$RefVisitor;
1117
1139
  };
1118
1140
  };
1119
1141
  JSONSchema: {
@@ -1279,56 +1301,110 @@ declare const specification: {
1279
1301
  in: {
1280
1302
  $ref: string;
1281
1303
  };
1282
- description: stampit.default.Stamp<any>;
1283
- required: stampit.default.Stamp<any>;
1284
- schema: stampit.default.Stamp<any>;
1285
- type: stampit.default.Stamp<any>;
1286
- format: stampit.default.Stamp<any>;
1304
+ description: {
1305
+ $ref: string;
1306
+ };
1307
+ required: typeof _swagger_api_apidom_ns_json_schema_draft_4.RequiredVisitor;
1308
+ schema: typeof SchemaOrJSONReferenceVisitor;
1309
+ type: typeof _swagger_api_apidom_ns_json_schema_draft_4.TypeVisitor;
1310
+ format: {
1311
+ $ref: string;
1312
+ };
1287
1313
  items: {
1288
1314
  $ref: string;
1289
1315
  };
1290
1316
  collectionFormat: {
1291
1317
  $ref: string;
1292
1318
  };
1293
- default: stampit.default.Stamp<any>;
1294
- maximum: stampit.default.Stamp<any>;
1295
- exclusiveMaximum: stampit.default.Stamp<any>;
1296
- minimum: stampit.default.Stamp<any>;
1297
- exclusiveMinimum: stampit.default.Stamp<any>;
1298
- maxLength: stampit.default.Stamp<any>;
1299
- minLength: stampit.default.Stamp<any>;
1300
- pattern: stampit.default.Stamp<any>;
1301
- maxItems: stampit.default.Stamp<any>;
1302
- minItems: stampit.default.Stamp<any>;
1303
- uniqueItems: stampit.default.Stamp<any>;
1304
- enum: stampit.default.Stamp<any>;
1305
- multipleOf: stampit.default.Stamp<any>;
1319
+ default: {
1320
+ $ref: string;
1321
+ };
1322
+ maximum: {
1323
+ $ref: string;
1324
+ };
1325
+ exclusiveMaximum: {
1326
+ $ref: string;
1327
+ };
1328
+ minimum: {
1329
+ $ref: string;
1330
+ };
1331
+ exclusiveMinimum: {
1332
+ $ref: string;
1333
+ };
1334
+ maxLength: {
1335
+ $ref: string;
1336
+ };
1337
+ minLength: {
1338
+ $ref: string;
1339
+ };
1340
+ pattern: {
1341
+ $ref: string;
1342
+ };
1343
+ maxItems: {
1344
+ $ref: string;
1345
+ };
1346
+ minItems: {
1347
+ $ref: string;
1348
+ };
1349
+ uniqueItems: {
1350
+ $ref: string;
1351
+ };
1352
+ enum: typeof _swagger_api_apidom_ns_json_schema_draft_4.EnumVisitor;
1353
+ multipleOf: {
1354
+ $ref: string;
1355
+ };
1306
1356
  };
1307
1357
  };
1308
1358
  Items: {
1309
- $visitor: typeof ItemsVisitor;
1359
+ $visitor: typeof ItemsVisitor$1;
1310
1360
  fixedFields: {
1311
- type: stampit.default.Stamp<any>;
1312
- format: stampit.default.Stamp<any>;
1361
+ type: typeof _swagger_api_apidom_ns_json_schema_draft_4.TypeVisitor;
1362
+ format: {
1363
+ $ref: string;
1364
+ };
1313
1365
  items: {
1314
1366
  $ref: string;
1315
1367
  };
1316
1368
  collectionFormat: {
1317
1369
  $ref: string;
1318
1370
  };
1319
- default: stampit.default.Stamp<any>;
1320
- maximum: stampit.default.Stamp<any>;
1321
- exclusiveMaximum: stampit.default.Stamp<any>;
1322
- minimum: stampit.default.Stamp<any>;
1323
- exclusiveMinimum: stampit.default.Stamp<any>;
1324
- maxLength: stampit.default.Stamp<any>;
1325
- minLength: stampit.default.Stamp<any>;
1326
- pattern: stampit.default.Stamp<any>;
1327
- maxItems: stampit.default.Stamp<any>;
1328
- minItems: stampit.default.Stamp<any>;
1329
- uniqueItems: stampit.default.Stamp<any>;
1330
- enum: stampit.default.Stamp<any>;
1331
- multipleOf: stampit.default.Stamp<any>;
1371
+ default: {
1372
+ $ref: string;
1373
+ };
1374
+ maximum: {
1375
+ $ref: string;
1376
+ };
1377
+ exclusiveMaximum: {
1378
+ $ref: string;
1379
+ };
1380
+ minimum: {
1381
+ $ref: string;
1382
+ };
1383
+ exclusiveMinimum: {
1384
+ $ref: string;
1385
+ };
1386
+ maxLength: {
1387
+ $ref: string;
1388
+ };
1389
+ minLength: {
1390
+ $ref: string;
1391
+ };
1392
+ pattern: {
1393
+ $ref: string;
1394
+ };
1395
+ maxItems: {
1396
+ $ref: string;
1397
+ };
1398
+ minItems: {
1399
+ $ref: string;
1400
+ };
1401
+ uniqueItems: {
1402
+ $ref: string;
1403
+ };
1404
+ enum: typeof _swagger_api_apidom_ns_json_schema_draft_4.EnumVisitor;
1405
+ multipleOf: {
1406
+ $ref: string;
1407
+ };
1332
1408
  };
1333
1409
  };
1334
1410
  Responses: {
@@ -1343,7 +1419,7 @@ declare const specification: {
1343
1419
  description: {
1344
1420
  $ref: string;
1345
1421
  };
1346
- schema: stampit.default.Stamp<any>;
1422
+ schema: typeof SchemaOrJSONReferenceVisitor;
1347
1423
  headers: {
1348
1424
  $ref: string;
1349
1425
  };
@@ -1361,28 +1437,56 @@ declare const specification: {
1361
1437
  Header: {
1362
1438
  $visitor: typeof HeaderVisitor;
1363
1439
  fixedFields: {
1364
- description: stampit.default.Stamp<any>;
1365
- type: stampit.default.Stamp<any>;
1366
- format: stampit.default.Stamp<any>;
1440
+ description: {
1441
+ $ref: string;
1442
+ };
1443
+ type: typeof _swagger_api_apidom_ns_json_schema_draft_4.TypeVisitor;
1444
+ format: {
1445
+ $ref: string;
1446
+ };
1367
1447
  items: {
1368
1448
  $ref: string;
1369
1449
  };
1370
1450
  collectionFormat: {
1371
1451
  $ref: string;
1372
1452
  };
1373
- default: stampit.default.Stamp<any>;
1374
- maximum: stampit.default.Stamp<any>;
1375
- exclusiveMaximum: stampit.default.Stamp<any>;
1376
- minimum: stampit.default.Stamp<any>;
1377
- exclusiveMinimum: stampit.default.Stamp<any>;
1378
- maxLength: stampit.default.Stamp<any>;
1379
- minLength: stampit.default.Stamp<any>;
1380
- pattern: stampit.default.Stamp<any>;
1381
- maxItems: stampit.default.Stamp<any>;
1382
- minItems: stampit.default.Stamp<any>;
1383
- uniqueItems: stampit.default.Stamp<any>;
1384
- enum: stampit.default.Stamp<any>;
1385
- multipleOf: stampit.default.Stamp<any>;
1453
+ default: {
1454
+ $ref: string;
1455
+ };
1456
+ maximum: {
1457
+ $ref: string;
1458
+ };
1459
+ exclusiveMaximum: {
1460
+ $ref: string;
1461
+ };
1462
+ minimum: {
1463
+ $ref: string;
1464
+ };
1465
+ exclusiveMinimum: {
1466
+ $ref: string;
1467
+ };
1468
+ maxLength: {
1469
+ $ref: string;
1470
+ };
1471
+ minLength: {
1472
+ $ref: string;
1473
+ };
1474
+ pattern: {
1475
+ $ref: string;
1476
+ };
1477
+ maxItems: {
1478
+ $ref: string;
1479
+ };
1480
+ minItems: {
1481
+ $ref: string;
1482
+ };
1483
+ uniqueItems: {
1484
+ $ref: string;
1485
+ };
1486
+ enum: typeof _swagger_api_apidom_ns_json_schema_draft_4.EnumVisitor;
1487
+ multipleOf: {
1488
+ $ref: string;
1489
+ };
1386
1490
  };
1387
1491
  };
1388
1492
  Tag: {
@@ -1408,31 +1512,67 @@ declare const specification: {
1408
1512
  Schema: {
1409
1513
  $visitor: typeof SchemaVisitor;
1410
1514
  fixedFields: {
1411
- format: stampit.default.Stamp<any>;
1412
- title: stampit.default.Stamp<any>;
1413
- description: stampit.default.Stamp<any>;
1414
- default: stampit.default.Stamp<any>;
1415
- multipleOf: stampit.default.Stamp<any>;
1416
- maximum: stampit.default.Stamp<any>;
1417
- exclusiveMaximum: stampit.default.Stamp<any>;
1418
- minimum: stampit.default.Stamp<any>;
1419
- exclusiveMinimum: stampit.default.Stamp<any>;
1420
- maxLength: stampit.default.Stamp<any>;
1421
- minLength: stampit.default.Stamp<any>;
1422
- pattern: stampit.default.Stamp<any>;
1423
- maxItems: stampit.default.Stamp<any>;
1424
- minItems: stampit.default.Stamp<any>;
1425
- uniqueItems: stampit.default.Stamp<any>;
1426
- maxProperties: stampit.default.Stamp<any>;
1427
- minProperties: stampit.default.Stamp<any>;
1428
- required: stampit.default.Stamp<any>;
1429
- enum: stampit.default.Stamp<any>;
1430
- type: stampit.default.Stamp<any>;
1431
- readOnly: stampit.default.Stamp<any>;
1432
- items: stampit.default.Stamp<any>;
1433
- allOf: stampit.default.Stamp<any>;
1434
- properties: stampit.default.Stamp<any>;
1435
- additionalProperties: stampit.default.Stamp<any>;
1515
+ format: {
1516
+ $ref: string;
1517
+ };
1518
+ title: {
1519
+ $ref: string;
1520
+ };
1521
+ description: {
1522
+ $ref: string;
1523
+ };
1524
+ default: {
1525
+ $ref: string;
1526
+ };
1527
+ multipleOf: {
1528
+ $ref: string;
1529
+ };
1530
+ maximum: {
1531
+ $ref: string;
1532
+ };
1533
+ exclusiveMaximum: {
1534
+ $ref: string;
1535
+ };
1536
+ minimum: {
1537
+ $ref: string;
1538
+ };
1539
+ exclusiveMinimum: {
1540
+ $ref: string;
1541
+ };
1542
+ maxLength: {
1543
+ $ref: string;
1544
+ };
1545
+ minLength: {
1546
+ $ref: string;
1547
+ };
1548
+ pattern: {
1549
+ $ref: string;
1550
+ };
1551
+ maxItems: {
1552
+ $ref: string;
1553
+ };
1554
+ minItems: {
1555
+ $ref: string;
1556
+ };
1557
+ uniqueItems: {
1558
+ $ref: string;
1559
+ };
1560
+ maxProperties: {
1561
+ $ref: string;
1562
+ };
1563
+ minProperties: {
1564
+ $ref: string;
1565
+ };
1566
+ required: typeof _swagger_api_apidom_ns_json_schema_draft_4.RequiredVisitor;
1567
+ enum: typeof _swagger_api_apidom_ns_json_schema_draft_4.EnumVisitor;
1568
+ type: typeof _swagger_api_apidom_ns_json_schema_draft_4.TypeVisitor;
1569
+ readOnly: {
1570
+ $ref: string;
1571
+ };
1572
+ items: typeof ItemsVisitor;
1573
+ allOf: typeof AllOfVisitor;
1574
+ properties: typeof PropertiesVisitor;
1575
+ additionalProperties: typeof SchemaOrJSONReferenceVisitor;
1436
1576
  discriminator: {
1437
1577
  $ref: string;
1438
1578
  };
@@ -1603,4 +1743,4 @@ declare const keyMap: {
1603
1743
  SecurityRequirementElement: string[];
1604
1744
  };
1605
1745
 
1606
- export { AlternatingVisitor, type AlternatingVisitorOptions, BasePathVisitor, type VisitorOptions as BasePathVisitorOptions, ConsumesVisitor$1 as ConsumesVisitor, type VisitorOptions as ConsumesVisitorOptions, Contact as ContactElement, ContactVisitor, type ContactVisitorOptions, Definitions as DefinitionsElement, DefinitionsVisitor, type DefinitionsVisitorOptions, Example as ExampleElement, ExampleVisitor, type ExampleVisitorOptions, ExternalDocumentation as ExternalDocumentationElement, ExternalDocumentationVisitor, type ExternalDocumentationVisitorOptions, FallbackVisitor, type VisitorOptions as FallbackVisitorOptions, FixedFieldsVisitor, type FixedFieldsVisitorOptions, Header as HeaderElement, HeaderVisitor, type HeaderVisitorOptions, Headers as HeadersElement, HeadersVisitor, type HeadersVisitorOptions, HostVisitor, type VisitorOptions as HostVisitorOptions, Info as InfoElement, VersionVisitor as InfoVersionVisitor, type VisitorOptions as InfoVersionVisitorOptions, InfoVisitor, type InfoVisitorOptions, Items as ItemsElement, ItemsVisitor, type ItemsVisitorOptions, License as LicenseElement, LicenseVisitor, type LicenseVisitorOptions, MapVisitor, type MapVisitorOptions, MixedFieldsVisitor, type MixedFieldsVisitorOptions, OpenAPIMediaTypes, OperationConsumes as OperationConsumesElement, ConsumesVisitor as OperationConsumesVisitor, type VisitorOptions as OperationConsumesVisitorOptions, Operation as OperationElement, OperationParameters as OperationParametersElement, ParametersVisitor as OperationParametersVisitor, type ParametersVisitorOptions as OperationParametersVisitorOptions, OperationProduces as OperationProducesElement, ProducesVisitor as OperationProducesVisitor, type VisitorOptions as OperationProducesVisitorOptions, OperationSchemes as OperationSchemesElement, SchemesVisitor as OperationSchemesVisitor, type VisitorOptions as OperationSchemesVisitorOptions, OperationSecurity as OperationSecurityElement, SecurityVisitor as OperationSecurityVisitor, type SecurityVisitorOptions as OperationSecurityVisitorOptions, OperationTags as OperationTagsElement, TagsVisitor as OperationTagsVisitor, type VisitorOptions as OperationTagsVisitorOptions, OperationVisitor, type OperationVisitorOptions, Parameter as ParameterElement, ParameterVisitor, type ParameterVisitorOptions, ParametersDefinitions as ParametersDefinitionsElement, ParametersDefinitionsVisitor, type ParametersDefinitionsVisitorOptions, $RefVisitor$1 as PathItem$RefVisitor, type VisitorOptions as PathItem$RefVisitorOptions, PathItem as PathItemElement, PathItemParameters as PathItemParametersElement, ParametersVisitor$1 as PathItemParametersVisitor, type ParametersVisitorOptions$1 as PathItemParametersVisitorOptions, PathItemVisitor, type PathItemVisitorOptions, Paths as PathsElement, PathsVisitor, type PathsVisitorOptions, PatternedFieldsVisitor, type PatternedFieldsVisitorOptions, ProducesVisitor$1 as ProducesVisitor, type VisitorOptions as ProducesVisitorOptions, $RefVisitor as Reference$RefVisitor, type VisitorOptions as Reference$RefVisitorOptions, Reference as ReferenceElement, ReferenceVisitor, type ReferenceVisitorOptions, Response as ResponseElement, ResponseVisitor, type ResponseVisitorOptions, DefaultVisitor as ResponsesDefaultVisitor, type DefaultVisitorOptions as ResponsesDefaultVisitorOptions, ResponsesDefinitions as ResponsesDefinitionsElement, ResponsesDefinitionsVisitor, type ResponsesDefinitionsVisitorOptions, Responses as ResponsesElement, ResponsesVisitor, type ResponsesVisitorOptions, Schema as SchemaElement, SchemaVisitor, type SchemaVisitorOptions, SchemesVisitor$1 as SchemesVisitor, type VisitorOptions as SchemesVisitorOptions, Scopes as ScopesElement, ScopesVisitor, type ScopesVisitorOptions, SecurityDefinitions as SecurityDefinitionsElement, SecurityDefinitionsVisitor, type SecurityDefinitionsVisitorOptions, SecurityRequirement as SecurityRequirementElement, SecurityRequirementVisitor, type SecurityRequirementVisitorOptions, SecurityScheme as SecuritySchemeElement, SecuritySchemeVisitor, type SecuritySchemeVisitorOptions, SecurityVisitor$1 as SecurityVisitor, type SecurityVisitorOptions$1 as SecurityVisitorOptions, type SpecPath, SpecificationVisitor, type SpecificationVisitorOptions, SwaggerConsumes as SwaggerConsumesElement, Swagger as SwaggerElement, SwaggerProduces as SwaggerProducesElement, SwaggerSchemes as SwaggerSchemesElement, SwaggerSecurity as SwaggerSecurityElement, SwaggerTags as SwaggerTagsElement, SwaggerVersion as SwaggerVersionElement, SwaggerVisitor as SwaggerVersionVisitor, type SwaggerVisitorOptions as SwaggerVersionVisitorOptions, SwaggerVisitor$1 as SwaggerVisitor, type SwaggerVisitorOptions$1 as SwaggerVisitorOptions, Tag as TagElement, TagVisitor, type TagVisitorOptions, Visitor, type VisitorOptions, Xml as XmlElement, XmlVisitor, type XmlVisitorOptions, createRefractor, openApi2 as default, getNodeType, isContactElement, isDefinitionsElement, isExampleElement, isExternalDocumentationElement, isHeaderElement, isHeadersElement, isInfoElement, isItemsElement, isLicenseElement, isOperationElement, isParameterElement, isParametersDefinitionsElement, isPathItemElement, isPathsElement, isReferenceElement, isReferenceLikeElement, isResponseElement, isResponsesDefinitionsElement, isResponsesElement, isSchemaElement, isScopesElement, isSecurityDefinitionsElement, isSecurityRequirementElement, isSecuritySchemeElement, isSwaggerElement, isSwaggerExtension, isSwaggerVersionElement, isTagElement, isXmlElement, keyMap, mediaTypes, refract, plugin as refractorPluginReplaceEmptyElement, specification as specificationObj };
1746
+ export { AlternatingVisitor, type AlternatingVisitorOptions, BasePathVisitor, type VisitorOptions as BasePathVisitorOptions, ConsumesVisitor$1 as ConsumesVisitor, type VisitorOptions as ConsumesVisitorOptions, Contact as ContactElement, ContactVisitor, type ContactVisitorOptions, Definitions as DefinitionsElement, DefinitionsVisitor, type DefinitionsVisitorOptions, Example as ExampleElement, ExampleVisitor, type ExampleVisitorOptions, ExternalDocumentation as ExternalDocumentationElement, ExternalDocumentationVisitor, type ExternalDocumentationVisitorOptions, FallbackVisitor, type VisitorOptions as FallbackVisitorOptions, FixedFieldsVisitor, type FixedFieldsVisitorOptions, Header as HeaderElement, HeaderVisitor, type HeaderVisitorOptions, Headers as HeadersElement, HeadersVisitor, type HeadersVisitorOptions, HostVisitor, type VisitorOptions as HostVisitorOptions, Info as InfoElement, VersionVisitor as InfoVersionVisitor, type VisitorOptions as InfoVersionVisitorOptions, InfoVisitor, type InfoVisitorOptions, Items as ItemsElement, ItemsVisitor$1 as ItemsVisitor, type ItemsVisitorOptions, License as LicenseElement, LicenseVisitor, type LicenseVisitorOptions, MapVisitor, type MapVisitorOptions, MixedFieldsVisitor, type MixedFieldsVisitorOptions, OpenAPIMediaTypes, OperationConsumes as OperationConsumesElement, ConsumesVisitor as OperationConsumesVisitor, type VisitorOptions as OperationConsumesVisitorOptions, Operation as OperationElement, OperationParameters as OperationParametersElement, ParametersVisitor as OperationParametersVisitor, type ParametersVisitorOptions as OperationParametersVisitorOptions, OperationProduces as OperationProducesElement, ProducesVisitor as OperationProducesVisitor, type VisitorOptions as OperationProducesVisitorOptions, OperationSchemes as OperationSchemesElement, SchemesVisitor as OperationSchemesVisitor, type VisitorOptions as OperationSchemesVisitorOptions, OperationSecurity as OperationSecurityElement, SecurityVisitor as OperationSecurityVisitor, type SecurityVisitorOptions as OperationSecurityVisitorOptions, OperationTags as OperationTagsElement, TagsVisitor as OperationTagsVisitor, type VisitorOptions as OperationTagsVisitorOptions, OperationVisitor, type OperationVisitorOptions, Parameter as ParameterElement, ParameterVisitor, type ParameterVisitorOptions, ParametersDefinitions as ParametersDefinitionsElement, ParametersDefinitionsVisitor, type ParametersDefinitionsVisitorOptions, $RefVisitor$1 as PathItem$RefVisitor, type VisitorOptions as PathItem$RefVisitorOptions, PathItem as PathItemElement, PathItemParameters as PathItemParametersElement, ParametersVisitor$1 as PathItemParametersVisitor, type ParametersVisitorOptions$1 as PathItemParametersVisitorOptions, PathItemVisitor, type PathItemVisitorOptions, Paths as PathsElement, PathsVisitor, type PathsVisitorOptions, PatternedFieldsVisitor, type PatternedFieldsVisitorOptions, ProducesVisitor$1 as ProducesVisitor, type VisitorOptions as ProducesVisitorOptions, $RefVisitor as Reference$RefVisitor, type VisitorOptions as Reference$RefVisitorOptions, Reference as ReferenceElement, ReferenceVisitor, type ReferenceVisitorOptions, Response as ResponseElement, ResponseVisitor, type ResponseVisitorOptions, DefaultVisitor as ResponsesDefaultVisitor, type DefaultVisitorOptions as ResponsesDefaultVisitorOptions, ResponsesDefinitions as ResponsesDefinitionsElement, ResponsesDefinitionsVisitor, type ResponsesDefinitionsVisitorOptions, Responses as ResponsesElement, ResponsesVisitor, type ResponsesVisitorOptions, AllOfVisitor as SchemaAllOfVisitor, Schema as SchemaElement, ItemsVisitor as SchemaItemsVisitor, SchemaOrJSONReferenceVisitor, PropertiesVisitor as SchemaPropertiesVisitor, SchemaVisitor, type SchemaVisitorOptions, SchemesVisitor$1 as SchemesVisitor, type VisitorOptions as SchemesVisitorOptions, Scopes as ScopesElement, ScopesVisitor, type ScopesVisitorOptions, SecurityDefinitions as SecurityDefinitionsElement, SecurityDefinitionsVisitor, type SecurityDefinitionsVisitorOptions, SecurityRequirement as SecurityRequirementElement, SecurityRequirementVisitor, type SecurityRequirementVisitorOptions, SecurityScheme as SecuritySchemeElement, SecuritySchemeVisitor, type SecuritySchemeVisitorOptions, SecurityVisitor$1 as SecurityVisitor, type SecurityVisitorOptions$1 as SecurityVisitorOptions, type SpecPath, SpecificationVisitor, type SpecificationVisitorOptions, SwaggerConsumes as SwaggerConsumesElement, Swagger as SwaggerElement, SwaggerProduces as SwaggerProducesElement, SwaggerSchemes as SwaggerSchemesElement, SwaggerSecurity as SwaggerSecurityElement, SwaggerTags as SwaggerTagsElement, SwaggerVersion as SwaggerVersionElement, SwaggerVisitor as SwaggerVersionVisitor, type SwaggerVisitorOptions as SwaggerVersionVisitorOptions, SwaggerVisitor$1 as SwaggerVisitor, type SwaggerVisitorOptions$1 as SwaggerVisitorOptions, Tag as TagElement, TagVisitor, type TagVisitorOptions, Visitor, type VisitorOptions, Xml as XmlElement, XmlVisitor, type XmlVisitorOptions, createRefractor, openApi2 as default, getNodeType, isContactElement, isDefinitionsElement, isExampleElement, isExternalDocumentationElement, isHeaderElement, isHeadersElement, isInfoElement, isItemsElement, isLicenseElement, isOperationElement, isParameterElement, isParametersDefinitionsElement, isPathItemElement, isPathsElement, isReferenceElement, isReferenceLikeElement, isResponseElement, isResponsesDefinitionsElement, isResponsesElement, isSchemaElement, isScopesElement, isSecurityDefinitionsElement, isSecurityRequirementElement, isSecuritySchemeElement, isSwaggerElement, isSwaggerExtension, isSwaggerVersionElement, isTagElement, isXmlElement, keyMap, mediaTypes, refract, plugin as refractorPluginReplaceEmptyElement, specification as specificationObj };