nestjs-openapi 0.3.1 → 0.3.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.
@@ -1141,23 +1141,27 @@ interface ExtractParametersOptions {
1141
1141
  }
1142
1142
  declare const getMethodInfo: (controller: ClassDeclaration, method: MethodDeclaration, options?: ExtractParametersOptions) => Option.Option<MethodInfo>;
1143
1143
  declare const getMethodInfoEffect: (controller: ClassDeclaration, method: MethodDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<Option.Option<{
1144
+ readonly security: readonly {
1145
+ readonly scopes: readonly string[];
1146
+ readonly schemeName: string;
1147
+ }[];
1144
1148
  readonly path: string;
1145
- readonly controllerName: string;
1146
- readonly methodName: string;
1147
1149
  readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
1150
+ readonly methodName: string;
1151
+ readonly controllerName: string;
1148
1152
  readonly controllerTags: readonly string[];
1149
1153
  readonly returnType: {
1150
- readonly filePath: Option.Option<string>;
1151
1154
  readonly type: Option.Option<string>;
1152
1155
  readonly inline: Option.Option<string>;
1153
1156
  readonly container: Option.Option<"array">;
1157
+ readonly filePath: Option.Option<string>;
1154
1158
  };
1155
1159
  readonly parameters: readonly {
1160
+ readonly description: Option.Option<string>;
1156
1161
  readonly name: string;
1157
- readonly location: "path" | "query" | "header" | "cookie" | "body";
1162
+ readonly location: "query" | "header" | "cookie" | "path" | "body";
1158
1163
  readonly tsType: string;
1159
1164
  readonly required: boolean;
1160
- readonly description: Option.Option<string>;
1161
1165
  }[];
1162
1166
  readonly decorators: readonly string[];
1163
1167
  readonly operation: {
@@ -1175,30 +1179,30 @@ declare const getMethodInfoEffect: (controller: ClassDeclaration, method: Method
1175
1179
  readonly httpCode: Option.Option<number>;
1176
1180
  readonly consumes: readonly string[];
1177
1181
  readonly produces: readonly string[];
1178
- readonly security: readonly {
1179
- readonly schemeName: string;
1180
- readonly scopes: readonly string[];
1181
- }[];
1182
1182
  }>, never, never>;
1183
1183
  declare const getControllerMethodInfos: (controller: ClassDeclaration, options?: ExtractParametersOptions) => readonly MethodInfo[];
1184
1184
  declare const getControllerMethodInfosEffect: (controller: ClassDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<{
1185
+ readonly security: readonly {
1186
+ readonly scopes: readonly string[];
1187
+ readonly schemeName: string;
1188
+ }[];
1185
1189
  readonly path: string;
1186
- readonly controllerName: string;
1187
- readonly methodName: string;
1188
1190
  readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
1191
+ readonly methodName: string;
1192
+ readonly controllerName: string;
1189
1193
  readonly controllerTags: readonly string[];
1190
1194
  readonly returnType: {
1191
- readonly filePath: Option.Option<string>;
1192
1195
  readonly type: Option.Option<string>;
1193
1196
  readonly inline: Option.Option<string>;
1194
1197
  readonly container: Option.Option<"array">;
1198
+ readonly filePath: Option.Option<string>;
1195
1199
  };
1196
1200
  readonly parameters: readonly {
1201
+ readonly description: Option.Option<string>;
1197
1202
  readonly name: string;
1198
- readonly location: "path" | "query" | "header" | "cookie" | "body";
1203
+ readonly location: "query" | "header" | "cookie" | "path" | "body";
1199
1204
  readonly tsType: string;
1200
1205
  readonly required: boolean;
1201
- readonly description: Option.Option<string>;
1202
1206
  }[];
1203
1207
  readonly decorators: readonly string[];
1204
1208
  readonly operation: {
@@ -1216,32 +1220,32 @@ declare const getControllerMethodInfosEffect: (controller: ClassDeclaration, opt
1216
1220
  readonly httpCode: Option.Option<number>;
1217
1221
  readonly consumes: readonly string[];
1218
1222
  readonly produces: readonly string[];
1219
- readonly security: readonly {
1220
- readonly schemeName: string;
1221
- readonly scopes: readonly string[];
1222
- }[];
1223
1223
  }[], never, never>;
1224
1224
  declare const MethodExtractionService_base: Effect.Service.Class<MethodExtractionService, "MethodExtractionService", {
1225
1225
  readonly accessors: true;
1226
1226
  readonly effect: Effect.Effect<{
1227
1227
  getMethodInfo: (controller: ClassDeclaration, method: MethodDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<Option.Option<{
1228
+ readonly security: readonly {
1229
+ readonly scopes: readonly string[];
1230
+ readonly schemeName: string;
1231
+ }[];
1228
1232
  readonly path: string;
1229
- readonly controllerName: string;
1230
- readonly methodName: string;
1231
1233
  readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
1234
+ readonly methodName: string;
1235
+ readonly controllerName: string;
1232
1236
  readonly controllerTags: readonly string[];
1233
1237
  readonly returnType: {
1234
- readonly filePath: Option.Option<string>;
1235
1238
  readonly type: Option.Option<string>;
1236
1239
  readonly inline: Option.Option<string>;
1237
1240
  readonly container: Option.Option<"array">;
1241
+ readonly filePath: Option.Option<string>;
1238
1242
  };
1239
1243
  readonly parameters: readonly {
1244
+ readonly description: Option.Option<string>;
1240
1245
  readonly name: string;
1241
- readonly location: "path" | "query" | "header" | "cookie" | "body";
1246
+ readonly location: "query" | "header" | "cookie" | "path" | "body";
1242
1247
  readonly tsType: string;
1243
1248
  readonly required: boolean;
1244
- readonly description: Option.Option<string>;
1245
1249
  }[];
1246
1250
  readonly decorators: readonly string[];
1247
1251
  readonly operation: {
@@ -1259,29 +1263,29 @@ declare const MethodExtractionService_base: Effect.Service.Class<MethodExtractio
1259
1263
  readonly httpCode: Option.Option<number>;
1260
1264
  readonly consumes: readonly string[];
1261
1265
  readonly produces: readonly string[];
1266
+ }>, never, never>;
1267
+ getControllerMethodInfos: (controller: ClassDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<{
1262
1268
  readonly security: readonly {
1263
- readonly schemeName: string;
1264
1269
  readonly scopes: readonly string[];
1270
+ readonly schemeName: string;
1265
1271
  }[];
1266
- }>, never, never>;
1267
- getControllerMethodInfos: (controller: ClassDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<{
1268
1272
  readonly path: string;
1269
- readonly controllerName: string;
1270
- readonly methodName: string;
1271
1273
  readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
1274
+ readonly methodName: string;
1275
+ readonly controllerName: string;
1272
1276
  readonly controllerTags: readonly string[];
1273
1277
  readonly returnType: {
1274
- readonly filePath: Option.Option<string>;
1275
1278
  readonly type: Option.Option<string>;
1276
1279
  readonly inline: Option.Option<string>;
1277
1280
  readonly container: Option.Option<"array">;
1281
+ readonly filePath: Option.Option<string>;
1278
1282
  };
1279
1283
  readonly parameters: readonly {
1284
+ readonly description: Option.Option<string>;
1280
1285
  readonly name: string;
1281
- readonly location: "path" | "query" | "header" | "cookie" | "body";
1286
+ readonly location: "query" | "header" | "cookie" | "path" | "body";
1282
1287
  readonly tsType: string;
1283
1288
  readonly required: boolean;
1284
- readonly description: Option.Option<string>;
1285
1289
  }[];
1286
1290
  readonly decorators: readonly string[];
1287
1291
  readonly operation: {
@@ -1299,10 +1303,6 @@ declare const MethodExtractionService_base: Effect.Service.Class<MethodExtractio
1299
1303
  readonly httpCode: Option.Option<number>;
1300
1304
  readonly consumes: readonly string[];
1301
1305
  readonly produces: readonly string[];
1302
- readonly security: readonly {
1303
- readonly schemeName: string;
1304
- readonly scopes: readonly string[];
1305
- }[];
1306
1306
  }[], never, never>;
1307
1307
  }, never, never>;
1308
1308
  }>;
@@ -1332,71 +1332,94 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1332
1332
  readonly effect: Effect.Effect<{
1333
1333
  findConfigFile: (startDir?: string | undefined) => Effect.Effect<string, ConfigNotFoundError, never>;
1334
1334
  loadConfigFromFile: (configPath: string) => Effect.Effect<{
1335
- readonly format?: "json" | "yaml" | undefined;
1336
1335
  readonly extends?: string | undefined;
1337
1336
  readonly files?: {
1338
- readonly tsconfig?: string | undefined;
1339
1337
  readonly entry?: string | readonly string[] | undefined;
1338
+ readonly tsconfig?: string | undefined;
1340
1339
  readonly dtoGlob?: string | readonly string[] | undefined;
1341
1340
  readonly include?: readonly string[] | undefined;
1342
1341
  readonly exclude?: readonly string[] | undefined;
1343
1342
  } | undefined;
1344
1343
  readonly output: string;
1344
+ readonly format?: "json" | "yaml" | undefined;
1345
1345
  readonly openapi: {
1346
+ readonly version?: "3.0.3" | "3.1.0" | "3.2.0" | undefined;
1347
+ readonly info: {
1348
+ readonly version: string;
1349
+ readonly title: string;
1350
+ readonly description?: string | undefined;
1351
+ readonly contact?: {
1352
+ readonly name?: string | undefined;
1353
+ readonly email?: string | undefined;
1354
+ readonly url?: string | undefined;
1355
+ } | undefined;
1356
+ readonly license?: {
1357
+ readonly name: string;
1358
+ readonly url?: string | undefined;
1359
+ } | undefined;
1360
+ };
1361
+ readonly servers?: readonly {
1362
+ readonly description?: string | undefined;
1363
+ readonly url: string;
1364
+ }[] | undefined;
1365
+ readonly tags?: readonly {
1366
+ readonly description?: string | undefined;
1367
+ readonly name: string;
1368
+ }[] | undefined;
1346
1369
  readonly security?: {
1347
1370
  readonly schemes?: readonly ({
1348
- readonly name: string;
1349
1371
  readonly description?: string | undefined;
1372
+ readonly name: string;
1350
1373
  readonly type: "http";
1351
1374
  readonly scheme: string;
1352
1375
  readonly bearerFormat?: string | undefined;
1353
1376
  } | {
1354
- readonly name: string;
1355
1377
  readonly description?: string | undefined;
1378
+ readonly name: string;
1356
1379
  readonly type: "apiKey";
1357
1380
  readonly in: "query" | "header" | "cookie";
1358
1381
  readonly parameterName: string;
1359
1382
  } | {
1360
- readonly name: string;
1361
1383
  readonly description?: string | undefined;
1384
+ readonly name: string;
1362
1385
  readonly type: "oauth2";
1363
1386
  readonly flows: {
1364
1387
  readonly implicit?: {
1365
- readonly scopes?: {
1366
- readonly [x: string]: string;
1367
- } | undefined;
1368
1388
  readonly authorizationUrl?: string | undefined;
1369
1389
  readonly tokenUrl?: string | undefined;
1370
1390
  readonly refreshUrl?: string | undefined;
1371
- } | undefined;
1372
- readonly password?: {
1373
1391
  readonly scopes?: {
1374
1392
  readonly [x: string]: string;
1375
1393
  } | undefined;
1394
+ } | undefined;
1395
+ readonly password?: {
1376
1396
  readonly authorizationUrl?: string | undefined;
1377
1397
  readonly tokenUrl?: string | undefined;
1378
1398
  readonly refreshUrl?: string | undefined;
1379
- } | undefined;
1380
- readonly clientCredentials?: {
1381
1399
  readonly scopes?: {
1382
1400
  readonly [x: string]: string;
1383
1401
  } | undefined;
1402
+ } | undefined;
1403
+ readonly clientCredentials?: {
1384
1404
  readonly authorizationUrl?: string | undefined;
1385
1405
  readonly tokenUrl?: string | undefined;
1386
1406
  readonly refreshUrl?: string | undefined;
1387
- } | undefined;
1388
- readonly authorizationCode?: {
1389
1407
  readonly scopes?: {
1390
1408
  readonly [x: string]: string;
1391
1409
  } | undefined;
1410
+ } | undefined;
1411
+ readonly authorizationCode?: {
1392
1412
  readonly authorizationUrl?: string | undefined;
1393
1413
  readonly tokenUrl?: string | undefined;
1394
1414
  readonly refreshUrl?: string | undefined;
1415
+ readonly scopes?: {
1416
+ readonly [x: string]: string;
1417
+ } | undefined;
1395
1418
  } | undefined;
1396
1419
  };
1397
1420
  } | {
1398
- readonly name: string;
1399
1421
  readonly description?: string | undefined;
1422
+ readonly name: string;
1400
1423
  readonly type: "openIdConnect";
1401
1424
  readonly openIdConnectUrl: string;
1402
1425
  })[] | undefined;
@@ -1404,29 +1427,6 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1404
1427
  readonly [x: string]: readonly string[];
1405
1428
  }[] | undefined;
1406
1429
  } | undefined;
1407
- readonly tags?: readonly {
1408
- readonly name: string;
1409
- readonly description?: string | undefined;
1410
- }[] | undefined;
1411
- readonly version?: "3.0.3" | "3.1.0" | "3.2.0" | undefined;
1412
- readonly info: {
1413
- readonly description?: string | undefined;
1414
- readonly title: string;
1415
- readonly version: string;
1416
- readonly contact?: {
1417
- readonly name?: string | undefined;
1418
- readonly email?: string | undefined;
1419
- readonly url?: string | undefined;
1420
- } | undefined;
1421
- readonly license?: {
1422
- readonly name: string;
1423
- readonly url?: string | undefined;
1424
- } | undefined;
1425
- };
1426
- readonly servers?: readonly {
1427
- readonly description?: string | undefined;
1428
- readonly url: string;
1429
- }[] | undefined;
1430
1430
  };
1431
1431
  readonly options?: {
1432
1432
  readonly query?: {
@@ -1442,71 +1442,94 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1442
1442
  } | undefined;
1443
1443
  }, ConfigError, never>;
1444
1444
  loadConfig: (configPath?: string | undefined, cwd?: string | undefined) => Effect.Effect<{
1445
- readonly format?: "json" | "yaml" | undefined;
1446
1445
  readonly extends?: string | undefined;
1447
1446
  readonly files?: {
1448
- readonly tsconfig?: string | undefined;
1449
1447
  readonly entry?: string | readonly string[] | undefined;
1448
+ readonly tsconfig?: string | undefined;
1450
1449
  readonly dtoGlob?: string | readonly string[] | undefined;
1451
1450
  readonly include?: readonly string[] | undefined;
1452
1451
  readonly exclude?: readonly string[] | undefined;
1453
1452
  } | undefined;
1454
1453
  readonly output: string;
1454
+ readonly format?: "json" | "yaml" | undefined;
1455
1455
  readonly openapi: {
1456
+ readonly version?: "3.0.3" | "3.1.0" | "3.2.0" | undefined;
1457
+ readonly info: {
1458
+ readonly version: string;
1459
+ readonly title: string;
1460
+ readonly description?: string | undefined;
1461
+ readonly contact?: {
1462
+ readonly name?: string | undefined;
1463
+ readonly email?: string | undefined;
1464
+ readonly url?: string | undefined;
1465
+ } | undefined;
1466
+ readonly license?: {
1467
+ readonly name: string;
1468
+ readonly url?: string | undefined;
1469
+ } | undefined;
1470
+ };
1471
+ readonly servers?: readonly {
1472
+ readonly description?: string | undefined;
1473
+ readonly url: string;
1474
+ }[] | undefined;
1475
+ readonly tags?: readonly {
1476
+ readonly description?: string | undefined;
1477
+ readonly name: string;
1478
+ }[] | undefined;
1456
1479
  readonly security?: {
1457
1480
  readonly schemes?: readonly ({
1458
- readonly name: string;
1459
1481
  readonly description?: string | undefined;
1482
+ readonly name: string;
1460
1483
  readonly type: "http";
1461
1484
  readonly scheme: string;
1462
1485
  readonly bearerFormat?: string | undefined;
1463
1486
  } | {
1464
- readonly name: string;
1465
1487
  readonly description?: string | undefined;
1488
+ readonly name: string;
1466
1489
  readonly type: "apiKey";
1467
1490
  readonly in: "query" | "header" | "cookie";
1468
1491
  readonly parameterName: string;
1469
1492
  } | {
1470
- readonly name: string;
1471
1493
  readonly description?: string | undefined;
1494
+ readonly name: string;
1472
1495
  readonly type: "oauth2";
1473
1496
  readonly flows: {
1474
1497
  readonly implicit?: {
1475
- readonly scopes?: {
1476
- readonly [x: string]: string;
1477
- } | undefined;
1478
1498
  readonly authorizationUrl?: string | undefined;
1479
1499
  readonly tokenUrl?: string | undefined;
1480
1500
  readonly refreshUrl?: string | undefined;
1481
- } | undefined;
1482
- readonly password?: {
1483
1501
  readonly scopes?: {
1484
1502
  readonly [x: string]: string;
1485
1503
  } | undefined;
1504
+ } | undefined;
1505
+ readonly password?: {
1486
1506
  readonly authorizationUrl?: string | undefined;
1487
1507
  readonly tokenUrl?: string | undefined;
1488
1508
  readonly refreshUrl?: string | undefined;
1489
- } | undefined;
1490
- readonly clientCredentials?: {
1491
1509
  readonly scopes?: {
1492
1510
  readonly [x: string]: string;
1493
1511
  } | undefined;
1512
+ } | undefined;
1513
+ readonly clientCredentials?: {
1494
1514
  readonly authorizationUrl?: string | undefined;
1495
1515
  readonly tokenUrl?: string | undefined;
1496
1516
  readonly refreshUrl?: string | undefined;
1497
- } | undefined;
1498
- readonly authorizationCode?: {
1499
1517
  readonly scopes?: {
1500
1518
  readonly [x: string]: string;
1501
1519
  } | undefined;
1520
+ } | undefined;
1521
+ readonly authorizationCode?: {
1502
1522
  readonly authorizationUrl?: string | undefined;
1503
1523
  readonly tokenUrl?: string | undefined;
1504
1524
  readonly refreshUrl?: string | undefined;
1525
+ readonly scopes?: {
1526
+ readonly [x: string]: string;
1527
+ } | undefined;
1505
1528
  } | undefined;
1506
1529
  };
1507
1530
  } | {
1508
- readonly name: string;
1509
1531
  readonly description?: string | undefined;
1532
+ readonly name: string;
1510
1533
  readonly type: "openIdConnect";
1511
1534
  readonly openIdConnectUrl: string;
1512
1535
  })[] | undefined;
@@ -1514,29 +1537,6 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1514
1537
  readonly [x: string]: readonly string[];
1515
1538
  }[] | undefined;
1516
1539
  } | undefined;
1517
- readonly tags?: readonly {
1518
- readonly name: string;
1519
- readonly description?: string | undefined;
1520
- }[] | undefined;
1521
- readonly version?: "3.0.3" | "3.1.0" | "3.2.0" | undefined;
1522
- readonly info: {
1523
- readonly description?: string | undefined;
1524
- readonly title: string;
1525
- readonly version: string;
1526
- readonly contact?: {
1527
- readonly name?: string | undefined;
1528
- readonly email?: string | undefined;
1529
- readonly url?: string | undefined;
1530
- } | undefined;
1531
- readonly license?: {
1532
- readonly name: string;
1533
- readonly url?: string | undefined;
1534
- } | undefined;
1535
- };
1536
- readonly servers?: readonly {
1537
- readonly description?: string | undefined;
1538
- readonly url: string;
1539
- }[] | undefined;
1540
1540
  };
1541
1541
  readonly options?: {
1542
1542
  readonly query?: {
@@ -1552,71 +1552,94 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1552
1552
  } | undefined;
1553
1553
  }, ConfigError, never>;
1554
1554
  resolveConfig: (config: {
1555
- readonly format?: "json" | "yaml" | undefined;
1556
1555
  readonly extends?: string | undefined;
1557
1556
  readonly files?: {
1558
- readonly tsconfig?: string | undefined;
1559
1557
  readonly entry?: string | readonly string[] | undefined;
1558
+ readonly tsconfig?: string | undefined;
1560
1559
  readonly dtoGlob?: string | readonly string[] | undefined;
1561
1560
  readonly include?: readonly string[] | undefined;
1562
1561
  readonly exclude?: readonly string[] | undefined;
1563
1562
  } | undefined;
1564
1563
  readonly output: string;
1564
+ readonly format?: "json" | "yaml" | undefined;
1565
1565
  readonly openapi: {
1566
+ readonly version?: "3.0.3" | "3.1.0" | "3.2.0" | undefined;
1567
+ readonly info: {
1568
+ readonly version: string;
1569
+ readonly title: string;
1570
+ readonly description?: string | undefined;
1571
+ readonly contact?: {
1572
+ readonly name?: string | undefined;
1573
+ readonly email?: string | undefined;
1574
+ readonly url?: string | undefined;
1575
+ } | undefined;
1576
+ readonly license?: {
1577
+ readonly name: string;
1578
+ readonly url?: string | undefined;
1579
+ } | undefined;
1580
+ };
1581
+ readonly servers?: readonly {
1582
+ readonly description?: string | undefined;
1583
+ readonly url: string;
1584
+ }[] | undefined;
1585
+ readonly tags?: readonly {
1586
+ readonly description?: string | undefined;
1587
+ readonly name: string;
1588
+ }[] | undefined;
1566
1589
  readonly security?: {
1567
1590
  readonly schemes?: readonly ({
1568
- readonly name: string;
1569
1591
  readonly description?: string | undefined;
1592
+ readonly name: string;
1570
1593
  readonly type: "http";
1571
1594
  readonly scheme: string;
1572
1595
  readonly bearerFormat?: string | undefined;
1573
1596
  } | {
1574
- readonly name: string;
1575
1597
  readonly description?: string | undefined;
1598
+ readonly name: string;
1576
1599
  readonly type: "apiKey";
1577
1600
  readonly in: "query" | "header" | "cookie";
1578
1601
  readonly parameterName: string;
1579
1602
  } | {
1580
- readonly name: string;
1581
1603
  readonly description?: string | undefined;
1604
+ readonly name: string;
1582
1605
  readonly type: "oauth2";
1583
1606
  readonly flows: {
1584
1607
  readonly implicit?: {
1585
- readonly scopes?: {
1586
- readonly [x: string]: string;
1587
- } | undefined;
1588
1608
  readonly authorizationUrl?: string | undefined;
1589
1609
  readonly tokenUrl?: string | undefined;
1590
1610
  readonly refreshUrl?: string | undefined;
1591
- } | undefined;
1592
- readonly password?: {
1593
1611
  readonly scopes?: {
1594
1612
  readonly [x: string]: string;
1595
1613
  } | undefined;
1614
+ } | undefined;
1615
+ readonly password?: {
1596
1616
  readonly authorizationUrl?: string | undefined;
1597
1617
  readonly tokenUrl?: string | undefined;
1598
1618
  readonly refreshUrl?: string | undefined;
1599
- } | undefined;
1600
- readonly clientCredentials?: {
1601
1619
  readonly scopes?: {
1602
1620
  readonly [x: string]: string;
1603
1621
  } | undefined;
1622
+ } | undefined;
1623
+ readonly clientCredentials?: {
1604
1624
  readonly authorizationUrl?: string | undefined;
1605
1625
  readonly tokenUrl?: string | undefined;
1606
1626
  readonly refreshUrl?: string | undefined;
1607
- } | undefined;
1608
- readonly authorizationCode?: {
1609
1627
  readonly scopes?: {
1610
1628
  readonly [x: string]: string;
1611
1629
  } | undefined;
1630
+ } | undefined;
1631
+ readonly authorizationCode?: {
1612
1632
  readonly authorizationUrl?: string | undefined;
1613
1633
  readonly tokenUrl?: string | undefined;
1614
1634
  readonly refreshUrl?: string | undefined;
1635
+ readonly scopes?: {
1636
+ readonly [x: string]: string;
1637
+ } | undefined;
1615
1638
  } | undefined;
1616
1639
  };
1617
1640
  } | {
1618
- readonly name: string;
1619
1641
  readonly description?: string | undefined;
1642
+ readonly name: string;
1620
1643
  readonly type: "openIdConnect";
1621
1644
  readonly openIdConnectUrl: string;
1622
1645
  })[] | undefined;
@@ -1624,29 +1647,6 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1624
1647
  readonly [x: string]: readonly string[];
1625
1648
  }[] | undefined;
1626
1649
  } | undefined;
1627
- readonly tags?: readonly {
1628
- readonly name: string;
1629
- readonly description?: string | undefined;
1630
- }[] | undefined;
1631
- readonly version?: "3.0.3" | "3.1.0" | "3.2.0" | undefined;
1632
- readonly info: {
1633
- readonly description?: string | undefined;
1634
- readonly title: string;
1635
- readonly version: string;
1636
- readonly contact?: {
1637
- readonly name?: string | undefined;
1638
- readonly email?: string | undefined;
1639
- readonly url?: string | undefined;
1640
- } | undefined;
1641
- readonly license?: {
1642
- readonly name: string;
1643
- readonly url?: string | undefined;
1644
- } | undefined;
1645
- };
1646
- readonly servers?: readonly {
1647
- readonly description?: string | undefined;
1648
- readonly url: string;
1649
- }[] | undefined;
1650
1650
  };
1651
1651
  readonly options?: {
1652
1652
  readonly query?: {
@@ -1661,21 +1661,18 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1661
1661
  readonly pathFilter?: RegExp | ((path: string) => boolean) | undefined;
1662
1662
  } | undefined;
1663
1663
  }, configPath?: string | undefined) => Effect.Effect<{
1664
- readonly tsconfig: string;
1665
1664
  readonly entry: readonly string[];
1666
- readonly format: "json" | "yaml";
1665
+ readonly tsconfig: string;
1667
1666
  readonly dtoGlob: readonly string[];
1668
- readonly tags: readonly {
1669
- readonly name: string;
1670
- readonly description?: string | undefined;
1671
- }[];
1672
- readonly version?: string | undefined;
1673
1667
  readonly include: readonly string[];
1674
1668
  readonly exclude: readonly string[];
1669
+ readonly output: string;
1670
+ readonly format: "json" | "yaml";
1671
+ readonly version?: string | undefined;
1675
1672
  readonly info: {
1676
- readonly description?: string | undefined;
1677
- readonly title: string;
1678
1673
  readonly version: string;
1674
+ readonly title: string;
1675
+ readonly description?: string | undefined;
1679
1676
  readonly contact?: {
1680
1677
  readonly name?: string | undefined;
1681
1678
  readonly email?: string | undefined;
@@ -1690,65 +1687,68 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1690
1687
  readonly description?: string | undefined;
1691
1688
  readonly url: string;
1692
1689
  }[];
1693
- readonly aliasRefs: "collapse" | "preserve";
1690
+ readonly tags: readonly {
1691
+ readonly description?: string | undefined;
1692
+ readonly name: string;
1693
+ }[];
1694
1694
  readonly basePath?: string | undefined;
1695
1695
  readonly extractValidation: boolean;
1696
1696
  readonly excludeDecorators: readonly string[];
1697
+ readonly aliasRefs: "collapse" | "preserve";
1697
1698
  readonly pathFilter?: RegExp | ((path: string) => boolean) | undefined;
1698
- readonly output: string;
1699
1699
  readonly securitySchemes: readonly ({
1700
- readonly name: string;
1701
1700
  readonly description?: string | undefined;
1701
+ readonly name: string;
1702
1702
  readonly type: "http";
1703
1703
  readonly scheme: string;
1704
1704
  readonly bearerFormat?: string | undefined;
1705
1705
  } | {
1706
- readonly name: string;
1707
1706
  readonly description?: string | undefined;
1707
+ readonly name: string;
1708
1708
  readonly type: "apiKey";
1709
1709
  readonly in: "query" | "header" | "cookie";
1710
1710
  readonly parameterName: string;
1711
1711
  } | {
1712
- readonly name: string;
1713
1712
  readonly description?: string | undefined;
1713
+ readonly name: string;
1714
1714
  readonly type: "oauth2";
1715
1715
  readonly flows: {
1716
1716
  readonly implicit?: {
1717
- readonly scopes?: {
1718
- readonly [x: string]: string;
1719
- } | undefined;
1720
1717
  readonly authorizationUrl?: string | undefined;
1721
1718
  readonly tokenUrl?: string | undefined;
1722
1719
  readonly refreshUrl?: string | undefined;
1723
- } | undefined;
1724
- readonly password?: {
1725
1720
  readonly scopes?: {
1726
1721
  readonly [x: string]: string;
1727
1722
  } | undefined;
1723
+ } | undefined;
1724
+ readonly password?: {
1728
1725
  readonly authorizationUrl?: string | undefined;
1729
1726
  readonly tokenUrl?: string | undefined;
1730
1727
  readonly refreshUrl?: string | undefined;
1731
- } | undefined;
1732
- readonly clientCredentials?: {
1733
1728
  readonly scopes?: {
1734
1729
  readonly [x: string]: string;
1735
1730
  } | undefined;
1731
+ } | undefined;
1732
+ readonly clientCredentials?: {
1736
1733
  readonly authorizationUrl?: string | undefined;
1737
1734
  readonly tokenUrl?: string | undefined;
1738
1735
  readonly refreshUrl?: string | undefined;
1739
- } | undefined;
1740
- readonly authorizationCode?: {
1741
1736
  readonly scopes?: {
1742
1737
  readonly [x: string]: string;
1743
1738
  } | undefined;
1739
+ } | undefined;
1740
+ readonly authorizationCode?: {
1744
1741
  readonly authorizationUrl?: string | undefined;
1745
1742
  readonly tokenUrl?: string | undefined;
1746
1743
  readonly refreshUrl?: string | undefined;
1744
+ readonly scopes?: {
1745
+ readonly [x: string]: string;
1746
+ } | undefined;
1747
1747
  } | undefined;
1748
1748
  };
1749
1749
  } | {
1750
- readonly name: string;
1751
1750
  readonly description?: string | undefined;
1751
+ readonly name: string;
1752
1752
  readonly type: "openIdConnect";
1753
1753
  readonly openIdConnectUrl: string;
1754
1754
  })[];
@@ -1757,21 +1757,18 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1757
1757
  }[];
1758
1758
  }, ConfigValidationError, never>;
1759
1759
  loadAndResolveConfig: (configPath?: string | undefined, cwd?: string | undefined) => Effect.Effect<{
1760
- readonly tsconfig: string;
1761
1760
  readonly entry: readonly string[];
1762
- readonly format: "json" | "yaml";
1761
+ readonly tsconfig: string;
1763
1762
  readonly dtoGlob: readonly string[];
1764
- readonly tags: readonly {
1765
- readonly name: string;
1766
- readonly description?: string | undefined;
1767
- }[];
1768
- readonly version?: string | undefined;
1769
1763
  readonly include: readonly string[];
1770
1764
  readonly exclude: readonly string[];
1765
+ readonly output: string;
1766
+ readonly format: "json" | "yaml";
1767
+ readonly version?: string | undefined;
1771
1768
  readonly info: {
1772
- readonly description?: string | undefined;
1773
- readonly title: string;
1774
1769
  readonly version: string;
1770
+ readonly title: string;
1771
+ readonly description?: string | undefined;
1775
1772
  readonly contact?: {
1776
1773
  readonly name?: string | undefined;
1777
1774
  readonly email?: string | undefined;
@@ -1786,65 +1783,68 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1786
1783
  readonly description?: string | undefined;
1787
1784
  readonly url: string;
1788
1785
  }[];
1789
- readonly aliasRefs: "collapse" | "preserve";
1786
+ readonly tags: readonly {
1787
+ readonly description?: string | undefined;
1788
+ readonly name: string;
1789
+ }[];
1790
1790
  readonly basePath?: string | undefined;
1791
1791
  readonly extractValidation: boolean;
1792
1792
  readonly excludeDecorators: readonly string[];
1793
+ readonly aliasRefs: "collapse" | "preserve";
1793
1794
  readonly pathFilter?: RegExp | ((path: string) => boolean) | undefined;
1794
- readonly output: string;
1795
1795
  readonly securitySchemes: readonly ({
1796
- readonly name: string;
1797
1796
  readonly description?: string | undefined;
1797
+ readonly name: string;
1798
1798
  readonly type: "http";
1799
1799
  readonly scheme: string;
1800
1800
  readonly bearerFormat?: string | undefined;
1801
1801
  } | {
1802
- readonly name: string;
1803
1802
  readonly description?: string | undefined;
1803
+ readonly name: string;
1804
1804
  readonly type: "apiKey";
1805
1805
  readonly in: "query" | "header" | "cookie";
1806
1806
  readonly parameterName: string;
1807
1807
  } | {
1808
- readonly name: string;
1809
1808
  readonly description?: string | undefined;
1809
+ readonly name: string;
1810
1810
  readonly type: "oauth2";
1811
1811
  readonly flows: {
1812
1812
  readonly implicit?: {
1813
- readonly scopes?: {
1814
- readonly [x: string]: string;
1815
- } | undefined;
1816
1813
  readonly authorizationUrl?: string | undefined;
1817
1814
  readonly tokenUrl?: string | undefined;
1818
1815
  readonly refreshUrl?: string | undefined;
1819
- } | undefined;
1820
- readonly password?: {
1821
1816
  readonly scopes?: {
1822
1817
  readonly [x: string]: string;
1823
1818
  } | undefined;
1819
+ } | undefined;
1820
+ readonly password?: {
1824
1821
  readonly authorizationUrl?: string | undefined;
1825
1822
  readonly tokenUrl?: string | undefined;
1826
1823
  readonly refreshUrl?: string | undefined;
1827
- } | undefined;
1828
- readonly clientCredentials?: {
1829
1824
  readonly scopes?: {
1830
1825
  readonly [x: string]: string;
1831
1826
  } | undefined;
1827
+ } | undefined;
1828
+ readonly clientCredentials?: {
1832
1829
  readonly authorizationUrl?: string | undefined;
1833
1830
  readonly tokenUrl?: string | undefined;
1834
1831
  readonly refreshUrl?: string | undefined;
1835
- } | undefined;
1836
- readonly authorizationCode?: {
1837
1832
  readonly scopes?: {
1838
1833
  readonly [x: string]: string;
1839
1834
  } | undefined;
1835
+ } | undefined;
1836
+ readonly authorizationCode?: {
1840
1837
  readonly authorizationUrl?: string | undefined;
1841
1838
  readonly tokenUrl?: string | undefined;
1842
1839
  readonly refreshUrl?: string | undefined;
1840
+ readonly scopes?: {
1841
+ readonly [x: string]: string;
1842
+ } | undefined;
1843
1843
  } | undefined;
1844
1844
  };
1845
1845
  } | {
1846
- readonly name: string;
1847
1846
  readonly description?: string | undefined;
1847
+ readonly name: string;
1848
1848
  readonly type: "openIdConnect";
1849
1849
  readonly openIdConnectUrl: string;
1850
1850
  })[];
@@ -2271,5 +2271,5 @@ declare const generate: (options: GenerateOptions) => Effect.Effect<{
2271
2271
  }, ProjectInitError | EntryNotFoundError, ModuleTraversalService | ProjectService | MethodExtractionService>;
2272
2272
  declare const generateAsync: (options: GenerateOptions) => Promise<OpenApiPaths>;
2273
2273
 
2274
- export { MissingGenericSchemaTempFileCleanupError as $, generatePathsAsync as A, generateFromConfigEffect as B, ConfigService as C, generateFromConfigAsync as D, ParameterLocation as F, ReturnTypeInfo as H, HttpMethod as J, OpenApiGeneratorConfig as K, MethodInfo as M, ResolvedConfig as N, ProjectService as P, ProjectInitError as Q, ResolvedParameter as R, SpecFileNotFoundError as S, EntryNotFoundError as U, ValidationService as V, ConfigNotFoundError as W, ConfigLoadError as X, ConfigValidationError as Y, DtoGlobResolutionError as Z, InvalidMethodError as _, SpecFileReadError as a, MissingGenericSchemaTempFileWriteError as a0, PublicApiError as a1, ProjectServiceLive as a6, makeProjectContext as a7, findConfigFile as aA, loadConfigFromFile as aB, loadConfig as aC, resolveConfig as aD, loadAndResolveConfig as aE, validateSpec as aF, categorizeBrokenRefs as aG, formatValidationResult as aH, getModules as aa, getAllControllers as ab, getMethodInfo as ad, getMethodInfoEffect as ae, getControllerMethodInfos as af, getControllerMethodInfosEffect as ag, generateSchemas as ah, generateSchemasFromFiles as ai, SchemaGenerationError as aj, extractPropertyConstraints as an, isPropertyOptional as ao, extractPropertyValidationInfo as ap, extractClassValidationInfo as aq, extractClassValidationInfoEffect as ar, extractClassConstraints as as, getRequiredProperties as at, applyConstraintsToSchema as au, mergeValidationConstraints as av, mergeValidationConstraintsEffect as aw, SpecFileParseError as b, OpenApiOperation as d, SchemaService as g, OutputService as h, ModuleTraversalService as i, MethodExtractionService as j, generate$1 as k, defineConfig as m, generate as x, generateAsync as y, generatePathsEffect as z };
2274
+ export { MissingGenericSchemaTempFileCleanupError as $, generatePathsAsync as A, generateFromConfigEffect as B, ConfigService as C, generateFromConfigAsync as D, ParameterLocation as F, ReturnTypeInfo as H, HttpMethod as J, OpenApiGeneratorConfig as K, MethodInfo as M, ResolvedConfig as N, ProjectService as P, ProjectInitError as Q, ResolvedParameter as R, SpecFileNotFoundError as S, EntryNotFoundError as U, ValidationService as V, ConfigNotFoundError as W, ConfigLoadError as X, ConfigValidationError as Y, DtoGlobResolutionError as Z, InvalidMethodError as _, SpecFileReadError as a, MissingGenericSchemaTempFileWriteError as a0, PublicApiError as a1, ProjectServiceLive as a6, makeProjectContext as a7, findConfigFile as aA, loadConfigFromFile as aB, loadConfig as aC, resolveConfig as aD, loadAndResolveConfig as aE, validateSpec as aF, categorizeBrokenRefs as aG, formatValidationResult as aH, getModules as aa, getAllControllers as ab, getMethodInfo as ad, getMethodInfoEffect as ae, getControllerMethodInfos as af, getControllerMethodInfosEffect as ag, generateSchemas as ah, generateSchemasFromFiles as ai, SchemaGenerationError as aj, extractPropertyConstraints as an, isPropertyOptional as ao, extractPropertyValidationInfo as ap, extractClassValidationInfo as aq, extractClassValidationInfoEffect as ar, extractClassConstraints as as, getRequiredProperties as at, applyConstraintsToSchema as au, mergeValidationConstraints as av, mergeValidationConstraintsEffect as aw, SpecFileParseError as b, OpenApiOperation as d, OutputService as g, SchemaService as h, MethodExtractionService as i, ModuleTraversalService as j, generate$1 as k, defineConfig as m, generate as x, generateAsync as y, generatePathsEffect as z };
2275
2275
  export type { GenerateOptions as E, GeneratedSchemas as G, InfoConfig as I, LicenseConfig as L, OpenApiSpec as O, TagConfig as T, ProjectError as a2, ConfigError as a3, AnalysisError as a4, GeneratorError as a5, ProjectContext as a8, ProjectOptions as a9, ValidationResult as aI, BrokenRef as aJ, BrokenRefCategories as aK, ModuleWithControllers as ac, SchemaError as ak, SchemaGeneratorOptions as al, JsonSchema as am, ValidationConstraints as ax, PropertyValidationInfo as ay, ClassValidationInfo as az, OpenApiPaths as c, OpenApiPaths$1 as e, OpenApiSchema$1 as f, GenerateResult as l, Config as n, ContactConfig as o, ServerConfig as p, OutputFormat as q, TelemetryConfig as r, GenerateOverrides as s, OpenApiOperation$1 as t, OpenApiParameter as u, OpenApiRequestBody as v, OpenApiResponse as w };