nestjs-openapi 0.3.1 → 0.4.0

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.
@@ -810,6 +810,8 @@ interface ParameterConstraints {
810
810
  readonly maxItems?: number;
811
811
  readonly enum?: readonly unknown[];
812
812
  readonly type?: string;
813
+ readonly description?: string;
814
+ readonly isArray?: boolean;
813
815
  }
814
816
  declare const ResolvedParameter: Schema.Struct<{
815
817
  name: typeof Schema.String;
@@ -1141,23 +1143,27 @@ interface ExtractParametersOptions {
1141
1143
  }
1142
1144
  declare const getMethodInfo: (controller: ClassDeclaration, method: MethodDeclaration, options?: ExtractParametersOptions) => Option.Option<MethodInfo>;
1143
1145
  declare const getMethodInfoEffect: (controller: ClassDeclaration, method: MethodDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<Option.Option<{
1146
+ readonly security: readonly {
1147
+ readonly scopes: readonly string[];
1148
+ readonly schemeName: string;
1149
+ }[];
1150
+ readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
1144
1151
  readonly path: string;
1145
- readonly controllerName: string;
1146
1152
  readonly methodName: string;
1147
- readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
1153
+ readonly controllerName: string;
1148
1154
  readonly controllerTags: readonly string[];
1149
1155
  readonly returnType: {
1150
- readonly filePath: Option.Option<string>;
1151
1156
  readonly type: Option.Option<string>;
1152
1157
  readonly inline: Option.Option<string>;
1153
1158
  readonly container: Option.Option<"array">;
1159
+ readonly filePath: Option.Option<string>;
1154
1160
  };
1155
1161
  readonly parameters: readonly {
1156
1162
  readonly name: string;
1157
- readonly location: "path" | "query" | "header" | "cookie" | "body";
1163
+ readonly description: Option.Option<string>;
1164
+ readonly location: "query" | "header" | "cookie" | "path" | "body";
1158
1165
  readonly tsType: string;
1159
1166
  readonly required: boolean;
1160
- readonly description: Option.Option<string>;
1161
1167
  }[];
1162
1168
  readonly decorators: readonly string[];
1163
1169
  readonly operation: {
@@ -1175,30 +1181,30 @@ declare const getMethodInfoEffect: (controller: ClassDeclaration, method: Method
1175
1181
  readonly httpCode: Option.Option<number>;
1176
1182
  readonly consumes: readonly string[];
1177
1183
  readonly produces: readonly string[];
1178
- readonly security: readonly {
1179
- readonly schemeName: string;
1180
- readonly scopes: readonly string[];
1181
- }[];
1182
1184
  }>, never, never>;
1183
1185
  declare const getControllerMethodInfos: (controller: ClassDeclaration, options?: ExtractParametersOptions) => readonly MethodInfo[];
1184
1186
  declare const getControllerMethodInfosEffect: (controller: ClassDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<{
1187
+ readonly security: readonly {
1188
+ readonly scopes: readonly string[];
1189
+ readonly schemeName: string;
1190
+ }[];
1191
+ readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
1185
1192
  readonly path: string;
1186
- readonly controllerName: string;
1187
1193
  readonly methodName: string;
1188
- readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
1194
+ readonly controllerName: string;
1189
1195
  readonly controllerTags: readonly string[];
1190
1196
  readonly returnType: {
1191
- readonly filePath: Option.Option<string>;
1192
1197
  readonly type: Option.Option<string>;
1193
1198
  readonly inline: Option.Option<string>;
1194
1199
  readonly container: Option.Option<"array">;
1200
+ readonly filePath: Option.Option<string>;
1195
1201
  };
1196
1202
  readonly parameters: readonly {
1197
1203
  readonly name: string;
1198
- readonly location: "path" | "query" | "header" | "cookie" | "body";
1204
+ readonly description: Option.Option<string>;
1205
+ readonly location: "query" | "header" | "cookie" | "path" | "body";
1199
1206
  readonly tsType: string;
1200
1207
  readonly required: boolean;
1201
- readonly description: Option.Option<string>;
1202
1208
  }[];
1203
1209
  readonly decorators: readonly string[];
1204
1210
  readonly operation: {
@@ -1216,32 +1222,32 @@ declare const getControllerMethodInfosEffect: (controller: ClassDeclaration, opt
1216
1222
  readonly httpCode: Option.Option<number>;
1217
1223
  readonly consumes: readonly string[];
1218
1224
  readonly produces: readonly string[];
1219
- readonly security: readonly {
1220
- readonly schemeName: string;
1221
- readonly scopes: readonly string[];
1222
- }[];
1223
1225
  }[], never, never>;
1224
1226
  declare const MethodExtractionService_base: Effect.Service.Class<MethodExtractionService, "MethodExtractionService", {
1225
1227
  readonly accessors: true;
1226
1228
  readonly effect: Effect.Effect<{
1227
1229
  getMethodInfo: (controller: ClassDeclaration, method: MethodDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<Option.Option<{
1230
+ readonly security: readonly {
1231
+ readonly scopes: readonly string[];
1232
+ readonly schemeName: string;
1233
+ }[];
1234
+ readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
1228
1235
  readonly path: string;
1229
- readonly controllerName: string;
1230
1236
  readonly methodName: string;
1231
- readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
1237
+ readonly controllerName: string;
1232
1238
  readonly controllerTags: readonly string[];
1233
1239
  readonly returnType: {
1234
- readonly filePath: Option.Option<string>;
1235
1240
  readonly type: Option.Option<string>;
1236
1241
  readonly inline: Option.Option<string>;
1237
1242
  readonly container: Option.Option<"array">;
1243
+ readonly filePath: Option.Option<string>;
1238
1244
  };
1239
1245
  readonly parameters: readonly {
1240
1246
  readonly name: string;
1241
- readonly location: "path" | "query" | "header" | "cookie" | "body";
1247
+ readonly description: Option.Option<string>;
1248
+ readonly location: "query" | "header" | "cookie" | "path" | "body";
1242
1249
  readonly tsType: string;
1243
1250
  readonly required: boolean;
1244
- readonly description: Option.Option<string>;
1245
1251
  }[];
1246
1252
  readonly decorators: readonly string[];
1247
1253
  readonly operation: {
@@ -1259,29 +1265,29 @@ declare const MethodExtractionService_base: Effect.Service.Class<MethodExtractio
1259
1265
  readonly httpCode: Option.Option<number>;
1260
1266
  readonly consumes: readonly string[];
1261
1267
  readonly produces: readonly string[];
1268
+ }>, never, never>;
1269
+ getControllerMethodInfos: (controller: ClassDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<{
1262
1270
  readonly security: readonly {
1263
- readonly schemeName: string;
1264
1271
  readonly scopes: readonly string[];
1272
+ readonly schemeName: string;
1265
1273
  }[];
1266
- }>, never, never>;
1267
- getControllerMethodInfos: (controller: ClassDeclaration, options?: ExtractParametersOptions | undefined) => Effect.Effect<{
1274
+ readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
1268
1275
  readonly path: string;
1269
- readonly controllerName: string;
1270
1276
  readonly methodName: string;
1271
- readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
1277
+ readonly controllerName: string;
1272
1278
  readonly controllerTags: readonly string[];
1273
1279
  readonly returnType: {
1274
- readonly filePath: Option.Option<string>;
1275
1280
  readonly type: Option.Option<string>;
1276
1281
  readonly inline: Option.Option<string>;
1277
1282
  readonly container: Option.Option<"array">;
1283
+ readonly filePath: Option.Option<string>;
1278
1284
  };
1279
1285
  readonly parameters: readonly {
1280
1286
  readonly name: string;
1281
- readonly location: "path" | "query" | "header" | "cookie" | "body";
1287
+ readonly description: Option.Option<string>;
1288
+ readonly location: "query" | "header" | "cookie" | "path" | "body";
1282
1289
  readonly tsType: string;
1283
1290
  readonly required: boolean;
1284
- readonly description: Option.Option<string>;
1285
1291
  }[];
1286
1292
  readonly decorators: readonly string[];
1287
1293
  readonly operation: {
@@ -1299,15 +1305,180 @@ declare const MethodExtractionService_base: Effect.Service.Class<MethodExtractio
1299
1305
  readonly httpCode: Option.Option<number>;
1300
1306
  readonly consumes: readonly string[];
1301
1307
  readonly produces: readonly string[];
1308
+ }[], never, never>;
1309
+ }, never, never>;
1310
+ }>;
1311
+ declare class MethodExtractionService extends MethodExtractionService_base {
1312
+ }
1313
+
1314
+ declare const transformMethod: (methodInfo: MethodInfo) => OpenApiPaths;
1315
+ declare const transformMethods: (methodInfos: readonly MethodInfo[]) => OpenApiPaths;
1316
+ declare const TransformerService_base: Effect.Service.Class<TransformerService, "TransformerService", {
1317
+ readonly effect: Effect.Effect<{
1318
+ transformMethod: (methodInfo: {
1302
1319
  readonly security: readonly {
1320
+ readonly scopes: readonly string[];
1303
1321
  readonly schemeName: string;
1322
+ }[];
1323
+ readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
1324
+ readonly path: string;
1325
+ readonly methodName: string;
1326
+ readonly controllerName: string;
1327
+ readonly controllerTags: readonly string[];
1328
+ readonly returnType: {
1329
+ readonly type: Option.Option<string>;
1330
+ readonly inline: Option.Option<string>;
1331
+ readonly container: Option.Option<"array">;
1332
+ readonly filePath: Option.Option<string>;
1333
+ };
1334
+ readonly parameters: readonly {
1335
+ readonly name: string;
1336
+ readonly description: Option.Option<string>;
1337
+ readonly location: "query" | "header" | "cookie" | "path" | "body";
1338
+ readonly tsType: string;
1339
+ readonly required: boolean;
1340
+ }[];
1341
+ readonly decorators: readonly string[];
1342
+ readonly operation: {
1343
+ readonly description: Option.Option<string>;
1344
+ readonly summary: Option.Option<string>;
1345
+ readonly operationId: Option.Option<string>;
1346
+ readonly deprecated: Option.Option<boolean>;
1347
+ };
1348
+ readonly responses: readonly {
1349
+ readonly description: Option.Option<string>;
1350
+ readonly type: Option.Option<string>;
1351
+ readonly statusCode: number;
1352
+ readonly isArray: boolean;
1353
+ }[];
1354
+ readonly httpCode: Option.Option<number>;
1355
+ readonly consumes: readonly string[];
1356
+ readonly produces: readonly string[];
1357
+ }) => Effect.Effect<OpenApiPaths, never, never>;
1358
+ transformMethods: (methodInfos: readonly {
1359
+ readonly security: readonly {
1304
1360
  readonly scopes: readonly string[];
1361
+ readonly schemeName: string;
1305
1362
  }[];
1306
- }[], never, never>;
1363
+ readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
1364
+ readonly path: string;
1365
+ readonly methodName: string;
1366
+ readonly controllerName: string;
1367
+ readonly controllerTags: readonly string[];
1368
+ readonly returnType: {
1369
+ readonly type: Option.Option<string>;
1370
+ readonly inline: Option.Option<string>;
1371
+ readonly container: Option.Option<"array">;
1372
+ readonly filePath: Option.Option<string>;
1373
+ };
1374
+ readonly parameters: readonly {
1375
+ readonly name: string;
1376
+ readonly description: Option.Option<string>;
1377
+ readonly location: "query" | "header" | "cookie" | "path" | "body";
1378
+ readonly tsType: string;
1379
+ readonly required: boolean;
1380
+ }[];
1381
+ readonly decorators: readonly string[];
1382
+ readonly operation: {
1383
+ readonly description: Option.Option<string>;
1384
+ readonly summary: Option.Option<string>;
1385
+ readonly operationId: Option.Option<string>;
1386
+ readonly deprecated: Option.Option<boolean>;
1387
+ };
1388
+ readonly responses: readonly {
1389
+ readonly description: Option.Option<string>;
1390
+ readonly type: Option.Option<string>;
1391
+ readonly statusCode: number;
1392
+ readonly isArray: boolean;
1393
+ }[];
1394
+ readonly httpCode: Option.Option<number>;
1395
+ readonly consumes: readonly string[];
1396
+ readonly produces: readonly string[];
1397
+ }[]) => Effect.Effect<OpenApiPaths, never, never>;
1307
1398
  }, never, never>;
1308
1399
  }>;
1309
- declare class MethodExtractionService extends MethodExtractionService_base {
1400
+ declare class TransformerService extends TransformerService_base {
1310
1401
  }
1402
+ declare const transformMethodEffect: (methodInfo: {
1403
+ readonly security: readonly {
1404
+ readonly scopes: readonly string[];
1405
+ readonly schemeName: string;
1406
+ }[];
1407
+ readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
1408
+ readonly path: string;
1409
+ readonly methodName: string;
1410
+ readonly controllerName: string;
1411
+ readonly controllerTags: readonly string[];
1412
+ readonly returnType: {
1413
+ readonly type: Option.Option<string>;
1414
+ readonly inline: Option.Option<string>;
1415
+ readonly container: Option.Option<"array">;
1416
+ readonly filePath: Option.Option<string>;
1417
+ };
1418
+ readonly parameters: readonly {
1419
+ readonly name: string;
1420
+ readonly description: Option.Option<string>;
1421
+ readonly location: "query" | "header" | "cookie" | "path" | "body";
1422
+ readonly tsType: string;
1423
+ readonly required: boolean;
1424
+ }[];
1425
+ readonly decorators: readonly string[];
1426
+ readonly operation: {
1427
+ readonly description: Option.Option<string>;
1428
+ readonly summary: Option.Option<string>;
1429
+ readonly operationId: Option.Option<string>;
1430
+ readonly deprecated: Option.Option<boolean>;
1431
+ };
1432
+ readonly responses: readonly {
1433
+ readonly description: Option.Option<string>;
1434
+ readonly type: Option.Option<string>;
1435
+ readonly statusCode: number;
1436
+ readonly isArray: boolean;
1437
+ }[];
1438
+ readonly httpCode: Option.Option<number>;
1439
+ readonly consumes: readonly string[];
1440
+ readonly produces: readonly string[];
1441
+ }) => Effect.Effect<OpenApiPaths, never, never>;
1442
+ declare const transformMethodsEffect: (methodInfos: readonly {
1443
+ readonly security: readonly {
1444
+ readonly scopes: readonly string[];
1445
+ readonly schemeName: string;
1446
+ }[];
1447
+ readonly httpMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD" | "ALL";
1448
+ readonly path: string;
1449
+ readonly methodName: string;
1450
+ readonly controllerName: string;
1451
+ readonly controllerTags: readonly string[];
1452
+ readonly returnType: {
1453
+ readonly type: Option.Option<string>;
1454
+ readonly inline: Option.Option<string>;
1455
+ readonly container: Option.Option<"array">;
1456
+ readonly filePath: Option.Option<string>;
1457
+ };
1458
+ readonly parameters: readonly {
1459
+ readonly name: string;
1460
+ readonly description: Option.Option<string>;
1461
+ readonly location: "query" | "header" | "cookie" | "path" | "body";
1462
+ readonly tsType: string;
1463
+ readonly required: boolean;
1464
+ }[];
1465
+ readonly decorators: readonly string[];
1466
+ readonly operation: {
1467
+ readonly description: Option.Option<string>;
1468
+ readonly summary: Option.Option<string>;
1469
+ readonly operationId: Option.Option<string>;
1470
+ readonly deprecated: Option.Option<boolean>;
1471
+ };
1472
+ readonly responses: readonly {
1473
+ readonly description: Option.Option<string>;
1474
+ readonly type: Option.Option<string>;
1475
+ readonly statusCode: number;
1476
+ readonly isArray: boolean;
1477
+ }[];
1478
+ readonly httpCode: Option.Option<number>;
1479
+ readonly consumes: readonly string[];
1480
+ readonly produces: readonly string[];
1481
+ }[]) => Effect.Effect<OpenApiPaths, never, never>;
1311
1482
 
1312
1483
  /**
1313
1484
  * Define configuration for OpenAPI generation.
@@ -1332,17 +1503,40 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1332
1503
  readonly effect: Effect.Effect<{
1333
1504
  findConfigFile: (startDir?: string | undefined) => Effect.Effect<string, ConfigNotFoundError, never>;
1334
1505
  loadConfigFromFile: (configPath: string) => Effect.Effect<{
1335
- readonly format?: "json" | "yaml" | undefined;
1336
1506
  readonly extends?: string | undefined;
1337
1507
  readonly files?: {
1338
- readonly tsconfig?: string | undefined;
1339
1508
  readonly entry?: string | readonly string[] | undefined;
1509
+ readonly tsconfig?: string | undefined;
1340
1510
  readonly dtoGlob?: string | readonly string[] | undefined;
1341
1511
  readonly include?: readonly string[] | undefined;
1342
1512
  readonly exclude?: readonly string[] | undefined;
1343
1513
  } | undefined;
1344
1514
  readonly output: string;
1515
+ readonly format?: "json" | "yaml" | undefined;
1345
1516
  readonly openapi: {
1517
+ readonly version?: "3.0.3" | "3.1.0" | "3.2.0" | undefined;
1518
+ readonly info: {
1519
+ readonly version: string;
1520
+ readonly title: string;
1521
+ readonly description?: string | undefined;
1522
+ readonly contact?: {
1523
+ readonly name?: string | undefined;
1524
+ readonly email?: string | undefined;
1525
+ readonly url?: string | undefined;
1526
+ } | undefined;
1527
+ readonly license?: {
1528
+ readonly name: string;
1529
+ readonly url?: string | undefined;
1530
+ } | undefined;
1531
+ };
1532
+ readonly servers?: readonly {
1533
+ readonly description?: string | undefined;
1534
+ readonly url: string;
1535
+ }[] | undefined;
1536
+ readonly tags?: readonly {
1537
+ readonly name: string;
1538
+ readonly description?: string | undefined;
1539
+ }[] | undefined;
1346
1540
  readonly security?: {
1347
1541
  readonly schemes?: readonly ({
1348
1542
  readonly name: string;
@@ -1362,36 +1556,36 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1362
1556
  readonly type: "oauth2";
1363
1557
  readonly flows: {
1364
1558
  readonly implicit?: {
1365
- readonly scopes?: {
1366
- readonly [x: string]: string;
1367
- } | undefined;
1368
1559
  readonly authorizationUrl?: string | undefined;
1369
1560
  readonly tokenUrl?: string | undefined;
1370
1561
  readonly refreshUrl?: string | undefined;
1371
- } | undefined;
1372
- readonly password?: {
1373
1562
  readonly scopes?: {
1374
1563
  readonly [x: string]: string;
1375
1564
  } | undefined;
1565
+ } | undefined;
1566
+ readonly password?: {
1376
1567
  readonly authorizationUrl?: string | undefined;
1377
1568
  readonly tokenUrl?: string | undefined;
1378
1569
  readonly refreshUrl?: string | undefined;
1379
- } | undefined;
1380
- readonly clientCredentials?: {
1381
1570
  readonly scopes?: {
1382
1571
  readonly [x: string]: string;
1383
1572
  } | undefined;
1573
+ } | undefined;
1574
+ readonly clientCredentials?: {
1384
1575
  readonly authorizationUrl?: string | undefined;
1385
1576
  readonly tokenUrl?: string | undefined;
1386
1577
  readonly refreshUrl?: string | undefined;
1387
- } | undefined;
1388
- readonly authorizationCode?: {
1389
1578
  readonly scopes?: {
1390
1579
  readonly [x: string]: string;
1391
1580
  } | undefined;
1581
+ } | undefined;
1582
+ readonly authorizationCode?: {
1392
1583
  readonly authorizationUrl?: string | undefined;
1393
1584
  readonly tokenUrl?: string | undefined;
1394
1585
  readonly refreshUrl?: string | undefined;
1586
+ readonly scopes?: {
1587
+ readonly [x: string]: string;
1588
+ } | undefined;
1395
1589
  } | undefined;
1396
1590
  };
1397
1591
  } | {
@@ -1404,29 +1598,6 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1404
1598
  readonly [x: string]: readonly string[];
1405
1599
  }[] | undefined;
1406
1600
  } | 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
1601
  };
1431
1602
  readonly options?: {
1432
1603
  readonly query?: {
@@ -1442,17 +1613,40 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1442
1613
  } | undefined;
1443
1614
  }, ConfigError, never>;
1444
1615
  loadConfig: (configPath?: string | undefined, cwd?: string | undefined) => Effect.Effect<{
1445
- readonly format?: "json" | "yaml" | undefined;
1446
1616
  readonly extends?: string | undefined;
1447
1617
  readonly files?: {
1448
- readonly tsconfig?: string | undefined;
1449
1618
  readonly entry?: string | readonly string[] | undefined;
1619
+ readonly tsconfig?: string | undefined;
1450
1620
  readonly dtoGlob?: string | readonly string[] | undefined;
1451
1621
  readonly include?: readonly string[] | undefined;
1452
1622
  readonly exclude?: readonly string[] | undefined;
1453
1623
  } | undefined;
1454
1624
  readonly output: string;
1625
+ readonly format?: "json" | "yaml" | undefined;
1455
1626
  readonly openapi: {
1627
+ readonly version?: "3.0.3" | "3.1.0" | "3.2.0" | undefined;
1628
+ readonly info: {
1629
+ readonly version: string;
1630
+ readonly title: string;
1631
+ readonly description?: string | undefined;
1632
+ readonly contact?: {
1633
+ readonly name?: string | undefined;
1634
+ readonly email?: string | undefined;
1635
+ readonly url?: string | undefined;
1636
+ } | undefined;
1637
+ readonly license?: {
1638
+ readonly name: string;
1639
+ readonly url?: string | undefined;
1640
+ } | undefined;
1641
+ };
1642
+ readonly servers?: readonly {
1643
+ readonly description?: string | undefined;
1644
+ readonly url: string;
1645
+ }[] | undefined;
1646
+ readonly tags?: readonly {
1647
+ readonly name: string;
1648
+ readonly description?: string | undefined;
1649
+ }[] | undefined;
1456
1650
  readonly security?: {
1457
1651
  readonly schemes?: readonly ({
1458
1652
  readonly name: string;
@@ -1472,36 +1666,36 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1472
1666
  readonly type: "oauth2";
1473
1667
  readonly flows: {
1474
1668
  readonly implicit?: {
1475
- readonly scopes?: {
1476
- readonly [x: string]: string;
1477
- } | undefined;
1478
1669
  readonly authorizationUrl?: string | undefined;
1479
1670
  readonly tokenUrl?: string | undefined;
1480
1671
  readonly refreshUrl?: string | undefined;
1481
- } | undefined;
1482
- readonly password?: {
1483
1672
  readonly scopes?: {
1484
1673
  readonly [x: string]: string;
1485
1674
  } | undefined;
1675
+ } | undefined;
1676
+ readonly password?: {
1486
1677
  readonly authorizationUrl?: string | undefined;
1487
1678
  readonly tokenUrl?: string | undefined;
1488
1679
  readonly refreshUrl?: string | undefined;
1489
- } | undefined;
1490
- readonly clientCredentials?: {
1491
1680
  readonly scopes?: {
1492
1681
  readonly [x: string]: string;
1493
1682
  } | undefined;
1683
+ } | undefined;
1684
+ readonly clientCredentials?: {
1494
1685
  readonly authorizationUrl?: string | undefined;
1495
1686
  readonly tokenUrl?: string | undefined;
1496
1687
  readonly refreshUrl?: string | undefined;
1497
- } | undefined;
1498
- readonly authorizationCode?: {
1499
1688
  readonly scopes?: {
1500
1689
  readonly [x: string]: string;
1501
1690
  } | undefined;
1691
+ } | undefined;
1692
+ readonly authorizationCode?: {
1502
1693
  readonly authorizationUrl?: string | undefined;
1503
1694
  readonly tokenUrl?: string | undefined;
1504
1695
  readonly refreshUrl?: string | undefined;
1696
+ readonly scopes?: {
1697
+ readonly [x: string]: string;
1698
+ } | undefined;
1505
1699
  } | undefined;
1506
1700
  };
1507
1701
  } | {
@@ -1514,29 +1708,6 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1514
1708
  readonly [x: string]: readonly string[];
1515
1709
  }[] | undefined;
1516
1710
  } | 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
1711
  };
1541
1712
  readonly options?: {
1542
1713
  readonly query?: {
@@ -1552,17 +1723,40 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1552
1723
  } | undefined;
1553
1724
  }, ConfigError, never>;
1554
1725
  resolveConfig: (config: {
1555
- readonly format?: "json" | "yaml" | undefined;
1556
1726
  readonly extends?: string | undefined;
1557
1727
  readonly files?: {
1558
- readonly tsconfig?: string | undefined;
1559
1728
  readonly entry?: string | readonly string[] | undefined;
1729
+ readonly tsconfig?: string | undefined;
1560
1730
  readonly dtoGlob?: string | readonly string[] | undefined;
1561
1731
  readonly include?: readonly string[] | undefined;
1562
1732
  readonly exclude?: readonly string[] | undefined;
1563
1733
  } | undefined;
1564
1734
  readonly output: string;
1735
+ readonly format?: "json" | "yaml" | undefined;
1565
1736
  readonly openapi: {
1737
+ readonly version?: "3.0.3" | "3.1.0" | "3.2.0" | undefined;
1738
+ readonly info: {
1739
+ readonly version: string;
1740
+ readonly title: string;
1741
+ readonly description?: string | undefined;
1742
+ readonly contact?: {
1743
+ readonly name?: string | undefined;
1744
+ readonly email?: string | undefined;
1745
+ readonly url?: string | undefined;
1746
+ } | undefined;
1747
+ readonly license?: {
1748
+ readonly name: string;
1749
+ readonly url?: string | undefined;
1750
+ } | undefined;
1751
+ };
1752
+ readonly servers?: readonly {
1753
+ readonly description?: string | undefined;
1754
+ readonly url: string;
1755
+ }[] | undefined;
1756
+ readonly tags?: readonly {
1757
+ readonly name: string;
1758
+ readonly description?: string | undefined;
1759
+ }[] | undefined;
1566
1760
  readonly security?: {
1567
1761
  readonly schemes?: readonly ({
1568
1762
  readonly name: string;
@@ -1582,36 +1776,36 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1582
1776
  readonly type: "oauth2";
1583
1777
  readonly flows: {
1584
1778
  readonly implicit?: {
1585
- readonly scopes?: {
1586
- readonly [x: string]: string;
1587
- } | undefined;
1588
1779
  readonly authorizationUrl?: string | undefined;
1589
1780
  readonly tokenUrl?: string | undefined;
1590
1781
  readonly refreshUrl?: string | undefined;
1591
- } | undefined;
1592
- readonly password?: {
1593
1782
  readonly scopes?: {
1594
1783
  readonly [x: string]: string;
1595
1784
  } | undefined;
1785
+ } | undefined;
1786
+ readonly password?: {
1596
1787
  readonly authorizationUrl?: string | undefined;
1597
1788
  readonly tokenUrl?: string | undefined;
1598
1789
  readonly refreshUrl?: string | undefined;
1599
- } | undefined;
1600
- readonly clientCredentials?: {
1601
1790
  readonly scopes?: {
1602
1791
  readonly [x: string]: string;
1603
1792
  } | undefined;
1793
+ } | undefined;
1794
+ readonly clientCredentials?: {
1604
1795
  readonly authorizationUrl?: string | undefined;
1605
1796
  readonly tokenUrl?: string | undefined;
1606
1797
  readonly refreshUrl?: string | undefined;
1607
- } | undefined;
1608
- readonly authorizationCode?: {
1609
1798
  readonly scopes?: {
1610
1799
  readonly [x: string]: string;
1611
1800
  } | undefined;
1801
+ } | undefined;
1802
+ readonly authorizationCode?: {
1612
1803
  readonly authorizationUrl?: string | undefined;
1613
1804
  readonly tokenUrl?: string | undefined;
1614
1805
  readonly refreshUrl?: string | undefined;
1806
+ readonly scopes?: {
1807
+ readonly [x: string]: string;
1808
+ } | undefined;
1615
1809
  } | undefined;
1616
1810
  };
1617
1811
  } | {
@@ -1624,29 +1818,6 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1624
1818
  readonly [x: string]: readonly string[];
1625
1819
  }[] | undefined;
1626
1820
  } | 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
1821
  };
1651
1822
  readonly options?: {
1652
1823
  readonly query?: {
@@ -1661,21 +1832,18 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1661
1832
  readonly pathFilter?: RegExp | ((path: string) => boolean) | undefined;
1662
1833
  } | undefined;
1663
1834
  }, configPath?: string | undefined) => Effect.Effect<{
1664
- readonly tsconfig: string;
1665
1835
  readonly entry: readonly string[];
1666
- readonly format: "json" | "yaml";
1836
+ readonly tsconfig: string;
1667
1837
  readonly dtoGlob: readonly string[];
1668
- readonly tags: readonly {
1669
- readonly name: string;
1670
- readonly description?: string | undefined;
1671
- }[];
1672
- readonly version?: string | undefined;
1673
1838
  readonly include: readonly string[];
1674
1839
  readonly exclude: readonly string[];
1840
+ readonly output: string;
1841
+ readonly format: "json" | "yaml";
1842
+ readonly version?: string | undefined;
1675
1843
  readonly info: {
1676
- readonly description?: string | undefined;
1677
- readonly title: string;
1678
1844
  readonly version: string;
1845
+ readonly title: string;
1846
+ readonly description?: string | undefined;
1679
1847
  readonly contact?: {
1680
1848
  readonly name?: string | undefined;
1681
1849
  readonly email?: string | undefined;
@@ -1690,12 +1858,15 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1690
1858
  readonly description?: string | undefined;
1691
1859
  readonly url: string;
1692
1860
  }[];
1693
- readonly aliasRefs: "collapse" | "preserve";
1861
+ readonly tags: readonly {
1862
+ readonly name: string;
1863
+ readonly description?: string | undefined;
1864
+ }[];
1694
1865
  readonly basePath?: string | undefined;
1695
1866
  readonly extractValidation: boolean;
1696
1867
  readonly excludeDecorators: readonly string[];
1868
+ readonly aliasRefs: "collapse" | "preserve";
1697
1869
  readonly pathFilter?: RegExp | ((path: string) => boolean) | undefined;
1698
- readonly output: string;
1699
1870
  readonly securitySchemes: readonly ({
1700
1871
  readonly name: string;
1701
1872
  readonly description?: string | undefined;
@@ -1714,36 +1885,36 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1714
1885
  readonly type: "oauth2";
1715
1886
  readonly flows: {
1716
1887
  readonly implicit?: {
1717
- readonly scopes?: {
1718
- readonly [x: string]: string;
1719
- } | undefined;
1720
1888
  readonly authorizationUrl?: string | undefined;
1721
1889
  readonly tokenUrl?: string | undefined;
1722
1890
  readonly refreshUrl?: string | undefined;
1723
- } | undefined;
1724
- readonly password?: {
1725
1891
  readonly scopes?: {
1726
1892
  readonly [x: string]: string;
1727
1893
  } | undefined;
1894
+ } | undefined;
1895
+ readonly password?: {
1728
1896
  readonly authorizationUrl?: string | undefined;
1729
1897
  readonly tokenUrl?: string | undefined;
1730
1898
  readonly refreshUrl?: string | undefined;
1731
- } | undefined;
1732
- readonly clientCredentials?: {
1733
1899
  readonly scopes?: {
1734
1900
  readonly [x: string]: string;
1735
1901
  } | undefined;
1902
+ } | undefined;
1903
+ readonly clientCredentials?: {
1736
1904
  readonly authorizationUrl?: string | undefined;
1737
1905
  readonly tokenUrl?: string | undefined;
1738
1906
  readonly refreshUrl?: string | undefined;
1739
- } | undefined;
1740
- readonly authorizationCode?: {
1741
1907
  readonly scopes?: {
1742
1908
  readonly [x: string]: string;
1743
1909
  } | undefined;
1910
+ } | undefined;
1911
+ readonly authorizationCode?: {
1744
1912
  readonly authorizationUrl?: string | undefined;
1745
1913
  readonly tokenUrl?: string | undefined;
1746
1914
  readonly refreshUrl?: string | undefined;
1915
+ readonly scopes?: {
1916
+ readonly [x: string]: string;
1917
+ } | undefined;
1747
1918
  } | undefined;
1748
1919
  };
1749
1920
  } | {
@@ -1757,21 +1928,18 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1757
1928
  }[];
1758
1929
  }, ConfigValidationError, never>;
1759
1930
  loadAndResolveConfig: (configPath?: string | undefined, cwd?: string | undefined) => Effect.Effect<{
1760
- readonly tsconfig: string;
1761
1931
  readonly entry: readonly string[];
1762
- readonly format: "json" | "yaml";
1932
+ readonly tsconfig: string;
1763
1933
  readonly dtoGlob: readonly string[];
1764
- readonly tags: readonly {
1765
- readonly name: string;
1766
- readonly description?: string | undefined;
1767
- }[];
1768
- readonly version?: string | undefined;
1769
1934
  readonly include: readonly string[];
1770
1935
  readonly exclude: readonly string[];
1936
+ readonly output: string;
1937
+ readonly format: "json" | "yaml";
1938
+ readonly version?: string | undefined;
1771
1939
  readonly info: {
1772
- readonly description?: string | undefined;
1773
- readonly title: string;
1774
1940
  readonly version: string;
1941
+ readonly title: string;
1942
+ readonly description?: string | undefined;
1775
1943
  readonly contact?: {
1776
1944
  readonly name?: string | undefined;
1777
1945
  readonly email?: string | undefined;
@@ -1786,12 +1954,15 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1786
1954
  readonly description?: string | undefined;
1787
1955
  readonly url: string;
1788
1956
  }[];
1789
- readonly aliasRefs: "collapse" | "preserve";
1957
+ readonly tags: readonly {
1958
+ readonly name: string;
1959
+ readonly description?: string | undefined;
1960
+ }[];
1790
1961
  readonly basePath?: string | undefined;
1791
1962
  readonly extractValidation: boolean;
1792
1963
  readonly excludeDecorators: readonly string[];
1964
+ readonly aliasRefs: "collapse" | "preserve";
1793
1965
  readonly pathFilter?: RegExp | ((path: string) => boolean) | undefined;
1794
- readonly output: string;
1795
1966
  readonly securitySchemes: readonly ({
1796
1967
  readonly name: string;
1797
1968
  readonly description?: string | undefined;
@@ -1810,36 +1981,36 @@ declare const ConfigService_base: Effect.Service.Class<ConfigService, "ConfigSer
1810
1981
  readonly type: "oauth2";
1811
1982
  readonly flows: {
1812
1983
  readonly implicit?: {
1813
- readonly scopes?: {
1814
- readonly [x: string]: string;
1815
- } | undefined;
1816
1984
  readonly authorizationUrl?: string | undefined;
1817
1985
  readonly tokenUrl?: string | undefined;
1818
1986
  readonly refreshUrl?: string | undefined;
1819
- } | undefined;
1820
- readonly password?: {
1821
1987
  readonly scopes?: {
1822
1988
  readonly [x: string]: string;
1823
1989
  } | undefined;
1990
+ } | undefined;
1991
+ readonly password?: {
1824
1992
  readonly authorizationUrl?: string | undefined;
1825
1993
  readonly tokenUrl?: string | undefined;
1826
1994
  readonly refreshUrl?: string | undefined;
1827
- } | undefined;
1828
- readonly clientCredentials?: {
1829
1995
  readonly scopes?: {
1830
1996
  readonly [x: string]: string;
1831
1997
  } | undefined;
1998
+ } | undefined;
1999
+ readonly clientCredentials?: {
1832
2000
  readonly authorizationUrl?: string | undefined;
1833
2001
  readonly tokenUrl?: string | undefined;
1834
2002
  readonly refreshUrl?: string | undefined;
1835
- } | undefined;
1836
- readonly authorizationCode?: {
1837
2003
  readonly scopes?: {
1838
2004
  readonly [x: string]: string;
1839
2005
  } | undefined;
2006
+ } | undefined;
2007
+ readonly authorizationCode?: {
1840
2008
  readonly authorizationUrl?: string | undefined;
1841
2009
  readonly tokenUrl?: string | undefined;
1842
2010
  readonly refreshUrl?: string | undefined;
2011
+ readonly scopes?: {
2012
+ readonly [x: string]: string;
2013
+ } | undefined;
1843
2014
  } | undefined;
1844
2015
  };
1845
2016
  } | {
@@ -1995,16 +2166,6 @@ declare const generateSchemas: (options: SchemaGeneratorOptions) => Effect.Effec
1995
2166
  */
1996
2167
  declare const generateSchemasFromFiles: (filePaths: readonly string[], tsconfig: string) => Effect.Effect<GeneratedSchemas, never, never>;
1997
2168
 
1998
- declare const SchemaService_base: Effect.Service.Class<SchemaService, "SchemaService", {
1999
- readonly accessors: true;
2000
- readonly effect: Effect.Effect<{
2001
- generateSchemas: (options: SchemaGeneratorOptions) => Effect.Effect<GeneratedSchemas, SchemaGenerationError, never>;
2002
- generateSchemasFromFiles: (filePaths: readonly string[], tsconfig: string) => Effect.Effect<GeneratedSchemas, never, never>;
2003
- }, never, never>;
2004
- }>;
2005
- declare class SchemaService extends SchemaService_base {
2006
- }
2007
-
2008
2169
  /**
2009
2170
  * Validation Mapper - Maps class-validator decorators to OpenAPI constraints
2010
2171
  *
@@ -2086,6 +2247,14 @@ declare const applyConstraintsToSchema: (schema: JsonSchema, propertyConstraints
2086
2247
  * Merge validation constraints into generated schemas
2087
2248
  */
2088
2249
  declare const mergeValidationConstraints: (schemas: GeneratedSchemas, classConstraints: Map<string, Record<string, ValidationConstraints>>, classRequired: Map<string, readonly string[]>) => GeneratedSchemas;
2250
+ declare const ValidationMapperService_base: Effect.Service.Class<ValidationMapperService, "ValidationMapperService", {
2251
+ readonly effect: Effect.Effect<{
2252
+ extractClassValidationInfo: (classDecl: ClassDeclaration) => Effect.Effect<ClassValidationInfo, ValidationMappingError, never>;
2253
+ mergeValidationConstraints: (schemas: GeneratedSchemas, classConstraints: Map<string, Record<string, ValidationConstraints>>, classRequired: Map<string, readonly string[]>) => Effect.Effect<GeneratedSchemas, never, never>;
2254
+ }, never, never>;
2255
+ }>;
2256
+ declare class ValidationMapperService extends ValidationMapperService_base {
2257
+ }
2089
2258
  /**
2090
2259
  * Effect-native wrapper with trace annotations for class validation extraction.
2091
2260
  */
@@ -2095,14 +2264,14 @@ declare const extractClassValidationInfoEffect: (classDecl: ClassDeclaration) =>
2095
2264
  */
2096
2265
  declare const mergeValidationConstraintsEffect: (schemas: GeneratedSchemas, classConstraints: Map<string, Record<string, ValidationConstraints>>, classRequired: Map<string, readonly string[]>) => Effect.Effect<GeneratedSchemas, never, never>;
2097
2266
 
2098
- declare const ValidationService_base: Effect.Service.Class<ValidationService, "ValidationService", {
2267
+ declare const SchemaService_base: Effect.Service.Class<SchemaService, "SchemaService", {
2099
2268
  readonly accessors: true;
2100
2269
  readonly effect: Effect.Effect<{
2101
- extractClassValidationInfo: (classDecl: ClassDeclaration) => Effect.Effect<ClassValidationInfo, ValidationMappingError, never>;
2102
- mergeValidationConstraints: (schemas: GeneratedSchemas, classConstraints: Map<string, Record<string, ValidationConstraints>>, classRequired: Map<string, readonly string[]>) => Effect.Effect<GeneratedSchemas, never, never>;
2270
+ generateSchemas: (options: SchemaGeneratorOptions) => Effect.Effect<GeneratedSchemas, SchemaGenerationError, never>;
2271
+ generateSchemasFromFiles: (filePaths: readonly string[], tsconfig: string) => Effect.Effect<GeneratedSchemas, never, never>;
2103
2272
  }, never, never>;
2104
2273
  }>;
2105
- declare class ValidationService extends ValidationService_base {
2274
+ declare class SchemaService extends SchemaService_base {
2106
2275
  }
2107
2276
 
2108
2277
  declare const OutputService_base: Effect.Service.Class<OutputService, "OutputService", {
@@ -2168,46 +2337,7 @@ interface GenerateOptions {
2168
2337
  /**
2169
2338
  * Low-level path-only Effect API from entry + tsconfig.
2170
2339
  */
2171
- declare const generatePathsEffect: (options: GenerateOptions) => Effect.Effect<{
2172
- [path: string]: {
2173
- [method: string]: {
2174
- readonly parameters?: readonly {
2175
- readonly name: string;
2176
- readonly required: boolean;
2177
- readonly description?: string | undefined;
2178
- readonly in: "path" | "query" | "header" | "cookie";
2179
- readonly schema: OpenApiSchema;
2180
- }[] | undefined;
2181
- readonly description?: string | undefined;
2182
- readonly summary?: string | undefined;
2183
- readonly operationId: string;
2184
- readonly deprecated?: boolean | undefined;
2185
- readonly responses: {
2186
- readonly [x: string]: {
2187
- readonly description: string;
2188
- readonly content?: {
2189
- readonly [x: string]: {
2190
- readonly schema: unknown;
2191
- };
2192
- } | undefined;
2193
- };
2194
- };
2195
- readonly security?: readonly {
2196
- readonly [x: string]: readonly string[];
2197
- }[] | undefined;
2198
- readonly requestBody?: {
2199
- readonly required?: boolean | undefined;
2200
- readonly description?: string | undefined;
2201
- readonly content: {
2202
- readonly [x: string]: {
2203
- readonly schema: unknown;
2204
- };
2205
- };
2206
- } | undefined;
2207
- readonly tags?: readonly string[] | undefined;
2208
- };
2209
- };
2210
- }, ProjectInitError | EntryNotFoundError, ModuleTraversalService | ProjectService | MethodExtractionService>;
2340
+ declare const generatePathsEffect: (options: GenerateOptions) => Effect.Effect<OpenApiPaths, ProjectInitError | EntryNotFoundError, TransformerService | ModuleTraversalService | ProjectService | MethodExtractionService>;
2211
2341
  /**
2212
2342
  * Canonical config-file based Effect API.
2213
2343
  */
@@ -2217,7 +2347,7 @@ declare const generateFromConfigEffect: (configPath: string, overrides?: Generat
2217
2347
  operationCount: number;
2218
2348
  schemaCount: number;
2219
2349
  validation: ValidationResult;
2220
- }, EntryNotFoundError | ConfigError | SchemaGenerationError | ValidationMappingError | DtoGlobResolutionError | MissingGenericSchemaTempFileWriteError | OutputDirectoryCreationError | OutputSerializationError | OutputWriteError, ModuleTraversalService | MethodExtractionService | ConfigService | SchemaService | ValidationService | OutputService>;
2350
+ }, EntryNotFoundError | ConfigError | SchemaGenerationError | ValidationMappingError | DtoGlobResolutionError | MissingGenericSchemaTempFileWriteError | OutputDirectoryCreationError | OutputSerializationError | OutputWriteError, TransformerService | ModuleTraversalService | MethodExtractionService | ConfigService | SchemaService | ValidationMapperService | OutputService>;
2221
2351
  /**
2222
2352
  * Promise wrapper for path-only API.
2223
2353
  */
@@ -2229,47 +2359,8 @@ declare const generateFromConfigAsync: (configPath: string, overrides?: Generate
2229
2359
  /**
2230
2360
  * Backward-compatible aliases.
2231
2361
  */
2232
- declare const generate: (options: GenerateOptions) => Effect.Effect<{
2233
- [path: string]: {
2234
- [method: string]: {
2235
- readonly parameters?: readonly {
2236
- readonly name: string;
2237
- readonly required: boolean;
2238
- readonly description?: string | undefined;
2239
- readonly in: "path" | "query" | "header" | "cookie";
2240
- readonly schema: OpenApiSchema;
2241
- }[] | undefined;
2242
- readonly description?: string | undefined;
2243
- readonly summary?: string | undefined;
2244
- readonly operationId: string;
2245
- readonly deprecated?: boolean | undefined;
2246
- readonly responses: {
2247
- readonly [x: string]: {
2248
- readonly description: string;
2249
- readonly content?: {
2250
- readonly [x: string]: {
2251
- readonly schema: unknown;
2252
- };
2253
- } | undefined;
2254
- };
2255
- };
2256
- readonly security?: readonly {
2257
- readonly [x: string]: readonly string[];
2258
- }[] | undefined;
2259
- readonly requestBody?: {
2260
- readonly required?: boolean | undefined;
2261
- readonly description?: string | undefined;
2262
- readonly content: {
2263
- readonly [x: string]: {
2264
- readonly schema: unknown;
2265
- };
2266
- };
2267
- } | undefined;
2268
- readonly tags?: readonly string[] | undefined;
2269
- };
2270
- };
2271
- }, ProjectInitError | EntryNotFoundError, ModuleTraversalService | ProjectService | MethodExtractionService>;
2362
+ declare const generate: (options: GenerateOptions) => Effect.Effect<OpenApiPaths, ProjectInitError | EntryNotFoundError, TransformerService | ModuleTraversalService | ProjectService | MethodExtractionService>;
2272
2363
  declare const generateAsync: (options: GenerateOptions) => Promise<OpenApiPaths>;
2273
2364
 
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 };
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 };
2365
+ export { MissingGenericSchemaTempFileWriteError as $, generateFromConfigAsync as A, ConfigService as C, ParameterLocation as D, ReturnTypeInfo as E, MethodInfo as F, HttpMethod as H, OpenApiGeneratorConfig as J, ResolvedConfig as K, ModuleTraversalService as M, ProjectInitError as N, ProjectService as P, EntryNotFoundError as Q, ResolvedParameter as R, SpecFileNotFoundError as S, TransformerService as T, ConfigNotFoundError as U, ValidationMapperService as V, ConfigLoadError as W, ConfigValidationError as X, DtoGlobResolutionError as Y, InvalidMethodError as Z, MissingGenericSchemaTempFileCleanupError as _, SpecFileReadError as a, PublicApiError as a0, ProjectServiceLive as a5, makeProjectContext as a6, getModules as a9, findConfigFile as aD, loadConfigFromFile as aE, loadConfig as aF, resolveConfig as aG, loadAndResolveConfig as aH, validateSpec as aI, categorizeBrokenRefs as aJ, formatValidationResult as aK, getAllControllers as aa, getMethodInfo as ac, getMethodInfoEffect as ad, getControllerMethodInfos as ae, getControllerMethodInfosEffect as af, transformMethod as ag, transformMethodEffect as ah, transformMethods as ai, transformMethodsEffect as aj, generateSchemas as ak, generateSchemasFromFiles as al, SchemaGenerationError as am, extractPropertyConstraints as aq, isPropertyOptional as ar, extractPropertyValidationInfo as as, extractClassValidationInfo as at, extractClassValidationInfoEffect as au, extractClassConstraints as av, getRequiredProperties as aw, applyConstraintsToSchema as ax, mergeValidationConstraints as ay, mergeValidationConstraintsEffect as az, SpecFileParseError as b, MethodExtractionService as e, SchemaService as f, OutputService as g, generate$1 as h, defineConfig as j, generate as v, generateAsync as w, generatePathsEffect as x, generatePathsAsync as y, generateFromConfigEffect as z };
2366
+ export type { GenerateOptions as B, GeneratedSchemas as G, InfoConfig as I, LicenseConfig as L, OpenApiSpec as O, ProjectError as a1, ConfigError as a2, AnalysisError as a3, GeneratorError as a4, ProjectContext as a7, ProjectOptions as a8, ValidationConstraints as aA, PropertyValidationInfo as aB, ClassValidationInfo as aC, ValidationResult as aL, BrokenRef as aM, BrokenRefCategories as aN, ModuleWithControllers as ab, SchemaError as an, SchemaGeneratorOptions as ao, JsonSchema as ap, OpenApiPaths$1 as c, OpenApiSchema$1 as d, GenerateResult as i, Config as k, ContactConfig as l, ServerConfig as m, TagConfig as n, OutputFormat as o, TelemetryConfig as p, GenerateOverrides as q, OpenApiOperation$1 as r, OpenApiParameter as s, OpenApiRequestBody as t, OpenApiResponse as u };