@shipworthy/openapi-transformer 0.0.1 → 1.0.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.
Files changed (32) hide show
  1. package/README.md +19 -3
  2. package/dist/case.d.ts +15 -0
  3. package/dist/case.js +153 -0
  4. package/dist/index.d.ts +1 -0
  5. package/dist/index.js +1 -0
  6. package/dist/transformers/3.1/callbacks.d.ts +463 -465
  7. package/dist/transformers/3.1/callbacks.js +4 -4
  8. package/dist/transformers/3.1/content.js +4 -4
  9. package/dist/transformers/3.1/examples.d.ts +181 -183
  10. package/dist/transformers/3.1/examples.js +4 -4
  11. package/dist/transformers/3.1/extensions.d.ts +1 -1
  12. package/dist/transformers/3.1/extensions.js +2 -1
  13. package/dist/transformers/3.1/headers.d.ts +37 -39
  14. package/dist/transformers/3.1/headers.js +3 -3
  15. package/dist/transformers/3.1/index.d.ts +3700 -3712
  16. package/dist/transformers/3.1/index.js +2 -2
  17. package/dist/transformers/3.1/operation.d.ts +12 -8
  18. package/dist/transformers/3.1/operation.js +1 -2
  19. package/dist/transformers/3.1/parameters.d.ts +212 -214
  20. package/dist/transformers/3.1/parameters.js +2 -2
  21. package/dist/transformers/3.1/paths.d.ts +979 -977
  22. package/dist/transformers/3.1/paths.js +5 -4
  23. package/dist/transformers/3.1/pointer.js +5 -5
  24. package/dist/transformers/3.1/request.d.ts +176 -178
  25. package/dist/transformers/3.1/request.js +3 -3
  26. package/dist/transformers/3.1/responses.d.ts +134 -138
  27. package/dist/transformers/3.1/responses.js +5 -5
  28. package/dist/transformers/3.1/securities.d.ts +108 -110
  29. package/dist/transformers/3.1/securities.js +4 -4
  30. package/dist/transformers/3.1/servers.d.ts +14 -18
  31. package/dist/transformers/3.1/servers.js +2 -2
  32. package/package.json +6 -9
@@ -982,33 +982,24 @@ export declare const transformCallbackMap: (ctx: TransformContext, value: {
982
982
  })[] | undefined;
983
983
  };
984
984
  };
985
- } | undefined, at: string) => Effect.Effect<{
986
- [k: string]: readonly {
985
+ } | undefined, at: string) => Effect.Effect<Record<string, readonly {
986
+ readonly id: string;
987
+ readonly extensions: {
988
+ readonly [x: string]: unknown;
989
+ };
990
+ readonly operationId?: string | undefined;
991
+ readonly method: "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
992
+ readonly path: string;
993
+ readonly summary?: string | undefined;
994
+ readonly description?: string | undefined;
995
+ readonly deprecated: boolean;
996
+ readonly tags: readonly {
987
997
  readonly id: string;
988
998
  readonly extensions: {
989
999
  readonly [x: string]: unknown;
990
1000
  };
991
- readonly operationId?: string | undefined;
992
- readonly method: "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE";
993
- readonly path: string;
994
- readonly summary?: string | undefined;
1001
+ readonly name: string;
995
1002
  readonly description?: string | undefined;
996
- readonly deprecated: boolean;
997
- readonly tags: readonly {
998
- readonly id: string;
999
- readonly extensions: {
1000
- readonly [x: string]: unknown;
1001
- };
1002
- readonly name: string;
1003
- readonly description?: string | undefined;
1004
- readonly externalDocs?: {
1005
- readonly url: string;
1006
- readonly description?: string | undefined;
1007
- readonly extensions: {
1008
- readonly [x: string]: unknown;
1009
- };
1010
- } | undefined;
1011
- }[];
1012
1003
  readonly externalDocs?: {
1013
1004
  readonly url: string;
1014
1005
  readonly description?: string | undefined;
@@ -1016,8 +1007,33 @@ export declare const transformCallbackMap: (ctx: TransformContext, value: {
1016
1007
  readonly [x: string]: unknown;
1017
1008
  };
1018
1009
  } | undefined;
1019
- readonly request: {
1020
- readonly path: readonly {
1010
+ }[];
1011
+ readonly externalDocs?: {
1012
+ readonly url: string;
1013
+ readonly description?: string | undefined;
1014
+ readonly extensions: {
1015
+ readonly [x: string]: unknown;
1016
+ };
1017
+ } | undefined;
1018
+ readonly request: {
1019
+ readonly path: readonly {
1020
+ readonly id: string;
1021
+ readonly extensions: {
1022
+ readonly [x: string]: unknown;
1023
+ };
1024
+ readonly reference?: {
1025
+ readonly $ref: string;
1026
+ readonly summary?: string | undefined;
1027
+ readonly description?: string | undefined;
1028
+ } | undefined;
1029
+ readonly name: string;
1030
+ readonly style: "deepObject" | "form" | "label" | "matrix" | "pipeDelimited" | "simple" | "spaceDelimited";
1031
+ readonly explode?: boolean | undefined;
1032
+ readonly required: boolean;
1033
+ readonly deprecated: boolean;
1034
+ readonly description?: string | undefined;
1035
+ readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1036
+ readonly contents: readonly {
1021
1037
  readonly id: string;
1022
1038
  readonly extensions: {
1023
1039
  readonly [x: string]: unknown;
@@ -1027,42 +1043,8 @@ export declare const transformCallbackMap: (ctx: TransformContext, value: {
1027
1043
  readonly summary?: string | undefined;
1028
1044
  readonly description?: string | undefined;
1029
1045
  } | undefined;
1030
- readonly name: string;
1031
- readonly style: "deepObject" | "form" | "label" | "matrix" | "pipeDelimited" | "simple" | "spaceDelimited";
1032
- readonly explode?: boolean | undefined;
1033
- readonly required: boolean;
1034
- readonly deprecated: boolean;
1035
- readonly description?: string | undefined;
1046
+ readonly mediaType: string;
1036
1047
  readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1037
- readonly contents: readonly {
1038
- readonly id: string;
1039
- readonly extensions: {
1040
- readonly [x: string]: unknown;
1041
- };
1042
- readonly reference?: {
1043
- readonly $ref: string;
1044
- readonly summary?: string | undefined;
1045
- readonly description?: string | undefined;
1046
- } | undefined;
1047
- readonly mediaType: string;
1048
- readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1049
- readonly examples: readonly {
1050
- readonly id: string;
1051
- readonly extensions: {
1052
- readonly [x: string]: unknown;
1053
- };
1054
- readonly reference?: {
1055
- readonly $ref: string;
1056
- readonly summary?: string | undefined;
1057
- readonly description?: string | undefined;
1058
- } | undefined;
1059
- readonly key: string;
1060
- readonly summary?: string | undefined;
1061
- readonly description?: string | undefined;
1062
- readonly value?: unknown;
1063
- readonly externalValue?: string | undefined;
1064
- }[];
1065
- }[];
1066
1048
  readonly examples: readonly {
1067
1049
  readonly id: string;
1068
1050
  readonly extensions: {
@@ -1079,11 +1061,8 @@ export declare const transformCallbackMap: (ctx: TransformContext, value: {
1079
1061
  readonly value?: unknown;
1080
1062
  readonly externalValue?: string | undefined;
1081
1063
  }[];
1082
- readonly in: "cookie" | "header" | "path" | "query";
1083
- readonly allowEmptyValue?: boolean | undefined;
1084
- readonly allowReserved?: boolean | undefined;
1085
1064
  }[];
1086
- readonly query: readonly {
1065
+ readonly examples: readonly {
1087
1066
  readonly id: string;
1088
1067
  readonly extensions: {
1089
1068
  readonly [x: string]: unknown;
@@ -1093,42 +1072,45 @@ export declare const transformCallbackMap: (ctx: TransformContext, value: {
1093
1072
  readonly summary?: string | undefined;
1094
1073
  readonly description?: string | undefined;
1095
1074
  } | undefined;
1096
- readonly name: string;
1097
- readonly style: "deepObject" | "form" | "label" | "matrix" | "pipeDelimited" | "simple" | "spaceDelimited";
1098
- readonly explode?: boolean | undefined;
1099
- readonly required: boolean;
1100
- readonly deprecated: boolean;
1075
+ readonly key: string;
1076
+ readonly summary?: string | undefined;
1077
+ readonly description?: string | undefined;
1078
+ readonly value?: unknown;
1079
+ readonly externalValue?: string | undefined;
1080
+ }[];
1081
+ readonly in: "cookie" | "header" | "path" | "query";
1082
+ readonly allowEmptyValue?: boolean | undefined;
1083
+ readonly allowReserved?: boolean | undefined;
1084
+ }[];
1085
+ readonly query: readonly {
1086
+ readonly id: string;
1087
+ readonly extensions: {
1088
+ readonly [x: string]: unknown;
1089
+ };
1090
+ readonly reference?: {
1091
+ readonly $ref: string;
1092
+ readonly summary?: string | undefined;
1101
1093
  readonly description?: string | undefined;
1094
+ } | undefined;
1095
+ readonly name: string;
1096
+ readonly style: "deepObject" | "form" | "label" | "matrix" | "pipeDelimited" | "simple" | "spaceDelimited";
1097
+ readonly explode?: boolean | undefined;
1098
+ readonly required: boolean;
1099
+ readonly deprecated: boolean;
1100
+ readonly description?: string | undefined;
1101
+ readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1102
+ readonly contents: readonly {
1103
+ readonly id: string;
1104
+ readonly extensions: {
1105
+ readonly [x: string]: unknown;
1106
+ };
1107
+ readonly reference?: {
1108
+ readonly $ref: string;
1109
+ readonly summary?: string | undefined;
1110
+ readonly description?: string | undefined;
1111
+ } | undefined;
1112
+ readonly mediaType: string;
1102
1113
  readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1103
- readonly contents: readonly {
1104
- readonly id: string;
1105
- readonly extensions: {
1106
- readonly [x: string]: unknown;
1107
- };
1108
- readonly reference?: {
1109
- readonly $ref: string;
1110
- readonly summary?: string | undefined;
1111
- readonly description?: string | undefined;
1112
- } | undefined;
1113
- readonly mediaType: string;
1114
- readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1115
- readonly examples: readonly {
1116
- readonly id: string;
1117
- readonly extensions: {
1118
- readonly [x: string]: unknown;
1119
- };
1120
- readonly reference?: {
1121
- readonly $ref: string;
1122
- readonly summary?: string | undefined;
1123
- readonly description?: string | undefined;
1124
- } | undefined;
1125
- readonly key: string;
1126
- readonly summary?: string | undefined;
1127
- readonly description?: string | undefined;
1128
- readonly value?: unknown;
1129
- readonly externalValue?: string | undefined;
1130
- }[];
1131
- }[];
1132
1114
  readonly examples: readonly {
1133
1115
  readonly id: string;
1134
1116
  readonly extensions: {
@@ -1145,11 +1127,8 @@ export declare const transformCallbackMap: (ctx: TransformContext, value: {
1145
1127
  readonly value?: unknown;
1146
1128
  readonly externalValue?: string | undefined;
1147
1129
  }[];
1148
- readonly in: "cookie" | "header" | "path" | "query";
1149
- readonly allowEmptyValue?: boolean | undefined;
1150
- readonly allowReserved?: boolean | undefined;
1151
1130
  }[];
1152
- readonly headers: readonly {
1131
+ readonly examples: readonly {
1153
1132
  readonly id: string;
1154
1133
  readonly extensions: {
1155
1134
  readonly [x: string]: unknown;
@@ -1159,42 +1138,45 @@ export declare const transformCallbackMap: (ctx: TransformContext, value: {
1159
1138
  readonly summary?: string | undefined;
1160
1139
  readonly description?: string | undefined;
1161
1140
  } | undefined;
1162
- readonly name: string;
1163
- readonly style: "deepObject" | "form" | "label" | "matrix" | "pipeDelimited" | "simple" | "spaceDelimited";
1164
- readonly explode?: boolean | undefined;
1165
- readonly required: boolean;
1166
- readonly deprecated: boolean;
1141
+ readonly key: string;
1142
+ readonly summary?: string | undefined;
1143
+ readonly description?: string | undefined;
1144
+ readonly value?: unknown;
1145
+ readonly externalValue?: string | undefined;
1146
+ }[];
1147
+ readonly in: "cookie" | "header" | "path" | "query";
1148
+ readonly allowEmptyValue?: boolean | undefined;
1149
+ readonly allowReserved?: boolean | undefined;
1150
+ }[];
1151
+ readonly headers: readonly {
1152
+ readonly id: string;
1153
+ readonly extensions: {
1154
+ readonly [x: string]: unknown;
1155
+ };
1156
+ readonly reference?: {
1157
+ readonly $ref: string;
1158
+ readonly summary?: string | undefined;
1167
1159
  readonly description?: string | undefined;
1160
+ } | undefined;
1161
+ readonly name: string;
1162
+ readonly style: "deepObject" | "form" | "label" | "matrix" | "pipeDelimited" | "simple" | "spaceDelimited";
1163
+ readonly explode?: boolean | undefined;
1164
+ readonly required: boolean;
1165
+ readonly deprecated: boolean;
1166
+ readonly description?: string | undefined;
1167
+ readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1168
+ readonly contents: readonly {
1169
+ readonly id: string;
1170
+ readonly extensions: {
1171
+ readonly [x: string]: unknown;
1172
+ };
1173
+ readonly reference?: {
1174
+ readonly $ref: string;
1175
+ readonly summary?: string | undefined;
1176
+ readonly description?: string | undefined;
1177
+ } | undefined;
1178
+ readonly mediaType: string;
1168
1179
  readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1169
- readonly contents: readonly {
1170
- readonly id: string;
1171
- readonly extensions: {
1172
- readonly [x: string]: unknown;
1173
- };
1174
- readonly reference?: {
1175
- readonly $ref: string;
1176
- readonly summary?: string | undefined;
1177
- readonly description?: string | undefined;
1178
- } | undefined;
1179
- readonly mediaType: string;
1180
- readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1181
- readonly examples: readonly {
1182
- readonly id: string;
1183
- readonly extensions: {
1184
- readonly [x: string]: unknown;
1185
- };
1186
- readonly reference?: {
1187
- readonly $ref: string;
1188
- readonly summary?: string | undefined;
1189
- readonly description?: string | undefined;
1190
- } | undefined;
1191
- readonly key: string;
1192
- readonly summary?: string | undefined;
1193
- readonly description?: string | undefined;
1194
- readonly value?: unknown;
1195
- readonly externalValue?: string | undefined;
1196
- }[];
1197
- }[];
1198
1180
  readonly examples: readonly {
1199
1181
  readonly id: string;
1200
1182
  readonly extensions: {
@@ -1211,11 +1193,8 @@ export declare const transformCallbackMap: (ctx: TransformContext, value: {
1211
1193
  readonly value?: unknown;
1212
1194
  readonly externalValue?: string | undefined;
1213
1195
  }[];
1214
- readonly in: "cookie" | "header" | "path" | "query";
1215
- readonly allowEmptyValue?: boolean | undefined;
1216
- readonly allowReserved?: boolean | undefined;
1217
1196
  }[];
1218
- readonly cookie: readonly {
1197
+ readonly examples: readonly {
1219
1198
  readonly id: string;
1220
1199
  readonly extensions: {
1221
1200
  readonly [x: string]: unknown;
@@ -1225,184 +1204,17 @@ export declare const transformCallbackMap: (ctx: TransformContext, value: {
1225
1204
  readonly summary?: string | undefined;
1226
1205
  readonly description?: string | undefined;
1227
1206
  } | undefined;
1228
- readonly name: string;
1229
- readonly style: "deepObject" | "form" | "label" | "matrix" | "pipeDelimited" | "simple" | "spaceDelimited";
1230
- readonly explode?: boolean | undefined;
1231
- readonly required: boolean;
1232
- readonly deprecated: boolean;
1233
- readonly description?: string | undefined;
1234
- readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1235
- readonly contents: readonly {
1236
- readonly id: string;
1237
- readonly extensions: {
1238
- readonly [x: string]: unknown;
1239
- };
1240
- readonly reference?: {
1241
- readonly $ref: string;
1242
- readonly summary?: string | undefined;
1243
- readonly description?: string | undefined;
1244
- } | undefined;
1245
- readonly mediaType: string;
1246
- readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1247
- readonly examples: readonly {
1248
- readonly id: string;
1249
- readonly extensions: {
1250
- readonly [x: string]: unknown;
1251
- };
1252
- readonly reference?: {
1253
- readonly $ref: string;
1254
- readonly summary?: string | undefined;
1255
- readonly description?: string | undefined;
1256
- } | undefined;
1257
- readonly key: string;
1258
- readonly summary?: string | undefined;
1259
- readonly description?: string | undefined;
1260
- readonly value?: unknown;
1261
- readonly externalValue?: string | undefined;
1262
- }[];
1263
- }[];
1264
- readonly examples: readonly {
1265
- readonly id: string;
1266
- readonly extensions: {
1267
- readonly [x: string]: unknown;
1268
- };
1269
- readonly reference?: {
1270
- readonly $ref: string;
1271
- readonly summary?: string | undefined;
1272
- readonly description?: string | undefined;
1273
- } | undefined;
1274
- readonly key: string;
1275
- readonly summary?: string | undefined;
1276
- readonly description?: string | undefined;
1277
- readonly value?: unknown;
1278
- readonly externalValue?: string | undefined;
1279
- }[];
1280
- readonly in: "cookie" | "header" | "path" | "query";
1281
- readonly allowEmptyValue?: boolean | undefined;
1282
- readonly allowReserved?: boolean | undefined;
1283
- }[];
1284
- readonly unknown: readonly {
1285
- readonly $ref: string;
1286
- readonly summary?: string | undefined;
1207
+ readonly key: string;
1208
+ readonly summary?: string | undefined;
1287
1209
  readonly description?: string | undefined;
1210
+ readonly value?: unknown;
1211
+ readonly externalValue?: string | undefined;
1288
1212
  }[];
1289
- readonly body?: {
1290
- readonly id: string;
1291
- readonly extensions: {
1292
- readonly [x: string]: unknown;
1293
- };
1294
- readonly reference?: {
1295
- readonly $ref: string;
1296
- readonly summary?: string | undefined;
1297
- readonly description?: string | undefined;
1298
- } | undefined;
1299
- readonly description?: string | undefined;
1300
- readonly required: boolean;
1301
- readonly contents: readonly {
1302
- readonly id: string;
1303
- readonly extensions: {
1304
- readonly [x: string]: unknown;
1305
- };
1306
- readonly reference?: {
1307
- readonly $ref: string;
1308
- readonly summary?: string | undefined;
1309
- readonly description?: string | undefined;
1310
- } | undefined;
1311
- readonly mediaType: string;
1312
- readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1313
- readonly examples: readonly {
1314
- readonly id: string;
1315
- readonly extensions: {
1316
- readonly [x: string]: unknown;
1317
- };
1318
- readonly reference?: {
1319
- readonly $ref: string;
1320
- readonly summary?: string | undefined;
1321
- readonly description?: string | undefined;
1322
- } | undefined;
1323
- readonly key: string;
1324
- readonly summary?: string | undefined;
1325
- readonly description?: string | undefined;
1326
- readonly value?: unknown;
1327
- readonly externalValue?: string | undefined;
1328
- }[];
1329
- readonly encodings: readonly {
1330
- readonly property: string;
1331
- readonly mediaType?: string | undefined;
1332
- readonly style: "deepObject" | "form" | "label" | "matrix" | "pipeDelimited" | "simple" | "spaceDelimited";
1333
- readonly explode?: boolean | undefined;
1334
- readonly allowReserved?: boolean | undefined;
1335
- readonly headers: readonly {
1336
- readonly id: string;
1337
- readonly extensions: {
1338
- readonly [x: string]: unknown;
1339
- };
1340
- readonly reference?: {
1341
- readonly $ref: string;
1342
- readonly summary?: string | undefined;
1343
- readonly description?: string | undefined;
1344
- } | undefined;
1345
- readonly name: string;
1346
- readonly style: "deepObject" | "form" | "label" | "matrix" | "pipeDelimited" | "simple" | "spaceDelimited";
1347
- readonly explode?: boolean | undefined;
1348
- readonly required: boolean;
1349
- readonly deprecated: boolean;
1350
- readonly description?: string | undefined;
1351
- readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1352
- readonly contents: readonly {
1353
- readonly id: string;
1354
- readonly extensions: {
1355
- readonly [x: string]: unknown;
1356
- };
1357
- readonly reference?: {
1358
- readonly $ref: string;
1359
- readonly summary?: string | undefined;
1360
- readonly description?: string | undefined;
1361
- } | undefined;
1362
- readonly mediaType: string;
1363
- readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1364
- readonly examples: readonly {
1365
- readonly id: string;
1366
- readonly extensions: {
1367
- readonly [x: string]: unknown;
1368
- };
1369
- readonly reference?: {
1370
- readonly $ref: string;
1371
- readonly summary?: string | undefined;
1372
- readonly description?: string | undefined;
1373
- } | undefined;
1374
- readonly key: string;
1375
- readonly summary?: string | undefined;
1376
- readonly description?: string | undefined;
1377
- readonly value?: unknown;
1378
- readonly externalValue?: string | undefined;
1379
- }[];
1380
- }[];
1381
- readonly examples: readonly {
1382
- readonly id: string;
1383
- readonly extensions: {
1384
- readonly [x: string]: unknown;
1385
- };
1386
- readonly reference?: {
1387
- readonly $ref: string;
1388
- readonly summary?: string | undefined;
1389
- readonly description?: string | undefined;
1390
- } | undefined;
1391
- readonly key: string;
1392
- readonly summary?: string | undefined;
1393
- readonly description?: string | undefined;
1394
- readonly value?: unknown;
1395
- readonly externalValue?: string | undefined;
1396
- }[];
1397
- }[];
1398
- readonly extensions: {
1399
- readonly [x: string]: unknown;
1400
- };
1401
- }[];
1402
- }[];
1403
- } | undefined;
1404
- };
1405
- readonly responses: readonly {
1213
+ readonly in: "cookie" | "header" | "path" | "query";
1214
+ readonly allowEmptyValue?: boolean | undefined;
1215
+ readonly allowReserved?: boolean | undefined;
1216
+ }[];
1217
+ readonly cookie: readonly {
1406
1218
  readonly id: string;
1407
1219
  readonly extensions: {
1408
1220
  readonly [x: string]: unknown;
@@ -1412,8 +1224,14 @@ export declare const transformCallbackMap: (ctx: TransformContext, value: {
1412
1224
  readonly summary?: string | undefined;
1413
1225
  readonly description?: string | undefined;
1414
1226
  } | undefined;
1227
+ readonly name: string;
1228
+ readonly style: "deepObject" | "form" | "label" | "matrix" | "pipeDelimited" | "simple" | "spaceDelimited";
1229
+ readonly explode?: boolean | undefined;
1230
+ readonly required: boolean;
1231
+ readonly deprecated: boolean;
1415
1232
  readonly description?: string | undefined;
1416
- readonly headers: readonly {
1233
+ readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1234
+ readonly contents: readonly {
1417
1235
  readonly id: string;
1418
1236
  readonly extensions: {
1419
1237
  readonly [x: string]: unknown;
@@ -1423,42 +1241,8 @@ export declare const transformCallbackMap: (ctx: TransformContext, value: {
1423
1241
  readonly summary?: string | undefined;
1424
1242
  readonly description?: string | undefined;
1425
1243
  } | undefined;
1426
- readonly name: string;
1427
- readonly style: "deepObject" | "form" | "label" | "matrix" | "pipeDelimited" | "simple" | "spaceDelimited";
1428
- readonly explode?: boolean | undefined;
1429
- readonly required: boolean;
1430
- readonly deprecated: boolean;
1431
- readonly description?: string | undefined;
1244
+ readonly mediaType: string;
1432
1245
  readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1433
- readonly contents: readonly {
1434
- readonly id: string;
1435
- readonly extensions: {
1436
- readonly [x: string]: unknown;
1437
- };
1438
- readonly reference?: {
1439
- readonly $ref: string;
1440
- readonly summary?: string | undefined;
1441
- readonly description?: string | undefined;
1442
- } | undefined;
1443
- readonly mediaType: string;
1444
- readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1445
- readonly examples: readonly {
1446
- readonly id: string;
1447
- readonly extensions: {
1448
- readonly [x: string]: unknown;
1449
- };
1450
- readonly reference?: {
1451
- readonly $ref: string;
1452
- readonly summary?: string | undefined;
1453
- readonly description?: string | undefined;
1454
- } | undefined;
1455
- readonly key: string;
1456
- readonly summary?: string | undefined;
1457
- readonly description?: string | undefined;
1458
- readonly value?: unknown;
1459
- readonly externalValue?: string | undefined;
1460
- }[];
1461
- }[];
1462
1246
  readonly examples: readonly {
1463
1247
  readonly id: string;
1464
1248
  readonly extensions: {
@@ -1476,6 +1260,43 @@ export declare const transformCallbackMap: (ctx: TransformContext, value: {
1476
1260
  readonly externalValue?: string | undefined;
1477
1261
  }[];
1478
1262
  }[];
1263
+ readonly examples: readonly {
1264
+ readonly id: string;
1265
+ readonly extensions: {
1266
+ readonly [x: string]: unknown;
1267
+ };
1268
+ readonly reference?: {
1269
+ readonly $ref: string;
1270
+ readonly summary?: string | undefined;
1271
+ readonly description?: string | undefined;
1272
+ } | undefined;
1273
+ readonly key: string;
1274
+ readonly summary?: string | undefined;
1275
+ readonly description?: string | undefined;
1276
+ readonly value?: unknown;
1277
+ readonly externalValue?: string | undefined;
1278
+ }[];
1279
+ readonly in: "cookie" | "header" | "path" | "query";
1280
+ readonly allowEmptyValue?: boolean | undefined;
1281
+ readonly allowReserved?: boolean | undefined;
1282
+ }[];
1283
+ readonly unknown: readonly {
1284
+ readonly $ref: string;
1285
+ readonly summary?: string | undefined;
1286
+ readonly description?: string | undefined;
1287
+ }[];
1288
+ readonly body?: {
1289
+ readonly id: string;
1290
+ readonly extensions: {
1291
+ readonly [x: string]: unknown;
1292
+ };
1293
+ readonly reference?: {
1294
+ readonly $ref: string;
1295
+ readonly summary?: string | undefined;
1296
+ readonly description?: string | undefined;
1297
+ } | undefined;
1298
+ readonly description?: string | undefined;
1299
+ readonly required: boolean;
1479
1300
  readonly contents: readonly {
1480
1301
  readonly id: string;
1481
1302
  readonly extensions: {
@@ -1578,48 +1399,37 @@ export declare const transformCallbackMap: (ctx: TransformContext, value: {
1578
1399
  };
1579
1400
  }[];
1580
1401
  }[];
1581
- readonly links: readonly {
1582
- readonly id: string;
1583
- readonly extensions: {
1584
- readonly [x: string]: unknown;
1585
- };
1586
- readonly reference?: {
1587
- readonly $ref: string;
1588
- readonly summary?: string | undefined;
1589
- readonly description?: string | undefined;
1590
- } | undefined;
1591
- readonly key: string;
1592
- readonly operationRef?: string | undefined;
1593
- readonly operationId?: string | undefined;
1594
- readonly parameters?: {
1595
- readonly [x: string]: unknown;
1596
- } | undefined;
1597
- readonly requestBody?: unknown;
1598
- readonly description?: string | undefined;
1599
- }[];
1600
- readonly code: string;
1601
- }[];
1602
- readonly servers: readonly {
1402
+ } | undefined;
1403
+ };
1404
+ readonly responses: readonly {
1405
+ readonly id: string;
1406
+ readonly extensions: {
1407
+ readonly [x: string]: unknown;
1408
+ };
1409
+ readonly reference?: {
1410
+ readonly $ref: string;
1411
+ readonly summary?: string | undefined;
1412
+ readonly description?: string | undefined;
1413
+ } | undefined;
1414
+ readonly description?: string | undefined;
1415
+ readonly headers: readonly {
1603
1416
  readonly id: string;
1604
1417
  readonly extensions: {
1605
1418
  readonly [x: string]: unknown;
1606
1419
  };
1607
- readonly url: string;
1608
- readonly name?: string | undefined;
1609
- readonly description?: string | undefined;
1610
- readonly variables?: {
1611
- readonly [x: string]: {
1612
- readonly default: string;
1613
- readonly enum?: readonly string[] | undefined;
1614
- readonly description?: string | undefined;
1615
- readonly extensions: {
1616
- readonly [x: string]: unknown;
1617
- };
1618
- };
1420
+ readonly reference?: {
1421
+ readonly $ref: string;
1422
+ readonly summary?: string | undefined;
1423
+ readonly description?: string | undefined;
1619
1424
  } | undefined;
1620
- }[];
1621
- readonly security: readonly (readonly {
1622
- readonly scheme: {
1425
+ readonly name: string;
1426
+ readonly style: "deepObject" | "form" | "label" | "matrix" | "pipeDelimited" | "simple" | "spaceDelimited";
1427
+ readonly explode?: boolean | undefined;
1428
+ readonly required: boolean;
1429
+ readonly deprecated: boolean;
1430
+ readonly description?: string | undefined;
1431
+ readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1432
+ readonly contents: readonly {
1623
1433
  readonly id: string;
1624
1434
  readonly extensions: {
1625
1435
  readonly [x: string]: unknown;
@@ -1629,12 +1439,26 @@ export declare const transformCallbackMap: (ctx: TransformContext, value: {
1629
1439
  readonly summary?: string | undefined;
1630
1440
  readonly description?: string | undefined;
1631
1441
  } | undefined;
1632
- readonly key: string;
1633
- readonly description?: string | undefined;
1634
- readonly type: "apiKey";
1635
- readonly name: string;
1636
- readonly in: "cookie" | "header" | "query";
1637
- } | {
1442
+ readonly mediaType: string;
1443
+ readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1444
+ readonly examples: readonly {
1445
+ readonly id: string;
1446
+ readonly extensions: {
1447
+ readonly [x: string]: unknown;
1448
+ };
1449
+ readonly reference?: {
1450
+ readonly $ref: string;
1451
+ readonly summary?: string | undefined;
1452
+ readonly description?: string | undefined;
1453
+ } | undefined;
1454
+ readonly key: string;
1455
+ readonly summary?: string | undefined;
1456
+ readonly description?: string | undefined;
1457
+ readonly value?: unknown;
1458
+ readonly externalValue?: string | undefined;
1459
+ }[];
1460
+ }[];
1461
+ readonly examples: readonly {
1638
1462
  readonly id: string;
1639
1463
  readonly extensions: {
1640
1464
  readonly [x: string]: unknown;
@@ -1645,11 +1469,25 @@ export declare const transformCallbackMap: (ctx: TransformContext, value: {
1645
1469
  readonly description?: string | undefined;
1646
1470
  } | undefined;
1647
1471
  readonly key: string;
1472
+ readonly summary?: string | undefined;
1648
1473
  readonly description?: string | undefined;
1649
- readonly type: "http";
1650
- readonly scheme: string;
1651
- readonly bearerFormat?: string | undefined;
1652
- } | {
1474
+ readonly value?: unknown;
1475
+ readonly externalValue?: string | undefined;
1476
+ }[];
1477
+ }[];
1478
+ readonly contents: readonly {
1479
+ readonly id: string;
1480
+ readonly extensions: {
1481
+ readonly [x: string]: unknown;
1482
+ };
1483
+ readonly reference?: {
1484
+ readonly $ref: string;
1485
+ readonly summary?: string | undefined;
1486
+ readonly description?: string | undefined;
1487
+ } | undefined;
1488
+ readonly mediaType: string;
1489
+ readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1490
+ readonly examples: readonly {
1653
1491
  readonly id: string;
1654
1492
  readonly extensions: {
1655
1493
  readonly [x: string]: unknown;
@@ -1660,88 +1498,248 @@ export declare const transformCallbackMap: (ctx: TransformContext, value: {
1660
1498
  readonly description?: string | undefined;
1661
1499
  } | undefined;
1662
1500
  readonly key: string;
1501
+ readonly summary?: string | undefined;
1663
1502
  readonly description?: string | undefined;
1664
- readonly type: "oauth2";
1665
- readonly flows: {
1666
- readonly implicit?: {
1667
- readonly authorizationUrl?: string | undefined;
1668
- readonly tokenUrl?: string | undefined;
1669
- readonly refreshUrl?: string | undefined;
1670
- readonly scopes: {
1671
- readonly [x: string]: string;
1672
- };
1673
- readonly extensions: {
1674
- readonly [x: string]: unknown;
1675
- };
1676
- } | undefined;
1677
- readonly password?: {
1678
- readonly authorizationUrl?: string | undefined;
1679
- readonly tokenUrl?: string | undefined;
1680
- readonly refreshUrl?: string | undefined;
1681
- readonly scopes: {
1682
- readonly [x: string]: string;
1683
- };
1684
- readonly extensions: {
1685
- readonly [x: string]: unknown;
1686
- };
1503
+ readonly value?: unknown;
1504
+ readonly externalValue?: string | undefined;
1505
+ }[];
1506
+ readonly encodings: readonly {
1507
+ readonly property: string;
1508
+ readonly mediaType?: string | undefined;
1509
+ readonly style: "deepObject" | "form" | "label" | "matrix" | "pipeDelimited" | "simple" | "spaceDelimited";
1510
+ readonly explode?: boolean | undefined;
1511
+ readonly allowReserved?: boolean | undefined;
1512
+ readonly headers: readonly {
1513
+ readonly id: string;
1514
+ readonly extensions: {
1515
+ readonly [x: string]: unknown;
1516
+ };
1517
+ readonly reference?: {
1518
+ readonly $ref: string;
1519
+ readonly summary?: string | undefined;
1520
+ readonly description?: string | undefined;
1687
1521
  } | undefined;
1688
- readonly clientCredentials?: {
1689
- readonly authorizationUrl?: string | undefined;
1690
- readonly tokenUrl?: string | undefined;
1691
- readonly refreshUrl?: string | undefined;
1692
- readonly scopes: {
1693
- readonly [x: string]: string;
1694
- };
1522
+ readonly name: string;
1523
+ readonly style: "deepObject" | "form" | "label" | "matrix" | "pipeDelimited" | "simple" | "spaceDelimited";
1524
+ readonly explode?: boolean | undefined;
1525
+ readonly required: boolean;
1526
+ readonly deprecated: boolean;
1527
+ readonly description?: string | undefined;
1528
+ readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1529
+ readonly contents: readonly {
1530
+ readonly id: string;
1695
1531
  readonly extensions: {
1696
1532
  readonly [x: string]: unknown;
1697
1533
  };
1698
- } | undefined;
1699
- readonly authorizationCode?: {
1700
- readonly authorizationUrl?: string | undefined;
1701
- readonly tokenUrl?: string | undefined;
1702
- readonly refreshUrl?: string | undefined;
1703
- readonly scopes: {
1704
- readonly [x: string]: string;
1705
- };
1534
+ readonly reference?: {
1535
+ readonly $ref: string;
1536
+ readonly summary?: string | undefined;
1537
+ readonly description?: string | undefined;
1538
+ } | undefined;
1539
+ readonly mediaType: string;
1540
+ readonly schema?: import("../../model/schema.ts").ParsedSchema | undefined;
1541
+ readonly examples: readonly {
1542
+ readonly id: string;
1543
+ readonly extensions: {
1544
+ readonly [x: string]: unknown;
1545
+ };
1546
+ readonly reference?: {
1547
+ readonly $ref: string;
1548
+ readonly summary?: string | undefined;
1549
+ readonly description?: string | undefined;
1550
+ } | undefined;
1551
+ readonly key: string;
1552
+ readonly summary?: string | undefined;
1553
+ readonly description?: string | undefined;
1554
+ readonly value?: unknown;
1555
+ readonly externalValue?: string | undefined;
1556
+ }[];
1557
+ }[];
1558
+ readonly examples: readonly {
1559
+ readonly id: string;
1706
1560
  readonly extensions: {
1707
1561
  readonly [x: string]: unknown;
1708
1562
  };
1709
- } | undefined;
1710
- readonly extensions: {
1711
- readonly [x: string]: unknown;
1712
- };
1713
- };
1714
- } | {
1715
- readonly id: string;
1563
+ readonly reference?: {
1564
+ readonly $ref: string;
1565
+ readonly summary?: string | undefined;
1566
+ readonly description?: string | undefined;
1567
+ } | undefined;
1568
+ readonly key: string;
1569
+ readonly summary?: string | undefined;
1570
+ readonly description?: string | undefined;
1571
+ readonly value?: unknown;
1572
+ readonly externalValue?: string | undefined;
1573
+ }[];
1574
+ }[];
1716
1575
  readonly extensions: {
1717
1576
  readonly [x: string]: unknown;
1718
1577
  };
1719
- readonly reference?: {
1720
- readonly $ref: string;
1721
- readonly summary?: string | undefined;
1722
- readonly description?: string | undefined;
1723
- } | undefined;
1724
- readonly key: string;
1578
+ }[];
1579
+ }[];
1580
+ readonly links: readonly {
1581
+ readonly id: string;
1582
+ readonly extensions: {
1583
+ readonly [x: string]: unknown;
1584
+ };
1585
+ readonly reference?: {
1586
+ readonly $ref: string;
1587
+ readonly summary?: string | undefined;
1588
+ readonly description?: string | undefined;
1589
+ } | undefined;
1590
+ readonly key: string;
1591
+ readonly operationRef?: string | undefined;
1592
+ readonly operationId?: string | undefined;
1593
+ readonly parameters?: {
1594
+ readonly [x: string]: unknown;
1595
+ } | undefined;
1596
+ readonly requestBody?: unknown;
1597
+ readonly description?: string | undefined;
1598
+ }[];
1599
+ readonly code: string;
1600
+ }[];
1601
+ readonly servers: readonly {
1602
+ readonly id: string;
1603
+ readonly extensions: {
1604
+ readonly [x: string]: unknown;
1605
+ };
1606
+ readonly url: string;
1607
+ readonly name?: string | undefined;
1608
+ readonly description?: string | undefined;
1609
+ readonly variables?: {
1610
+ readonly [x: string]: {
1611
+ readonly default: string;
1612
+ readonly enum?: readonly string[] | undefined;
1725
1613
  readonly description?: string | undefined;
1726
- readonly type: "openIdConnect";
1727
- readonly openIdConnectUrl: string;
1728
- } | {
1729
- readonly id: string;
1730
1614
  readonly extensions: {
1731
1615
  readonly [x: string]: unknown;
1732
1616
  };
1733
- readonly reference?: {
1734
- readonly $ref: string;
1735
- readonly summary?: string | undefined;
1736
- readonly description?: string | undefined;
1617
+ };
1618
+ } | undefined;
1619
+ }[];
1620
+ readonly security: readonly (readonly {
1621
+ readonly scheme: {
1622
+ readonly id: string;
1623
+ readonly extensions: {
1624
+ readonly [x: string]: unknown;
1625
+ };
1626
+ readonly reference?: {
1627
+ readonly $ref: string;
1628
+ readonly summary?: string | undefined;
1629
+ readonly description?: string | undefined;
1630
+ } | undefined;
1631
+ readonly key: string;
1632
+ readonly description?: string | undefined;
1633
+ readonly type: "apiKey";
1634
+ readonly name: string;
1635
+ readonly in: "cookie" | "header" | "query";
1636
+ } | {
1637
+ readonly id: string;
1638
+ readonly extensions: {
1639
+ readonly [x: string]: unknown;
1640
+ };
1641
+ readonly reference?: {
1642
+ readonly $ref: string;
1643
+ readonly summary?: string | undefined;
1644
+ readonly description?: string | undefined;
1645
+ } | undefined;
1646
+ readonly key: string;
1647
+ readonly description?: string | undefined;
1648
+ readonly type: "http";
1649
+ readonly scheme: string;
1650
+ readonly bearerFormat?: string | undefined;
1651
+ } | {
1652
+ readonly id: string;
1653
+ readonly extensions: {
1654
+ readonly [x: string]: unknown;
1655
+ };
1656
+ readonly reference?: {
1657
+ readonly $ref: string;
1658
+ readonly summary?: string | undefined;
1659
+ readonly description?: string | undefined;
1660
+ } | undefined;
1661
+ readonly key: string;
1662
+ readonly description?: string | undefined;
1663
+ readonly type: "oauth2";
1664
+ readonly flows: {
1665
+ readonly implicit?: {
1666
+ readonly authorizationUrl?: string | undefined;
1667
+ readonly tokenUrl?: string | undefined;
1668
+ readonly refreshUrl?: string | undefined;
1669
+ readonly scopes: {
1670
+ readonly [x: string]: string;
1671
+ };
1672
+ readonly extensions: {
1673
+ readonly [x: string]: unknown;
1674
+ };
1737
1675
  } | undefined;
1738
- readonly key: string;
1676
+ readonly password?: {
1677
+ readonly authorizationUrl?: string | undefined;
1678
+ readonly tokenUrl?: string | undefined;
1679
+ readonly refreshUrl?: string | undefined;
1680
+ readonly scopes: {
1681
+ readonly [x: string]: string;
1682
+ };
1683
+ readonly extensions: {
1684
+ readonly [x: string]: unknown;
1685
+ };
1686
+ } | undefined;
1687
+ readonly clientCredentials?: {
1688
+ readonly authorizationUrl?: string | undefined;
1689
+ readonly tokenUrl?: string | undefined;
1690
+ readonly refreshUrl?: string | undefined;
1691
+ readonly scopes: {
1692
+ readonly [x: string]: string;
1693
+ };
1694
+ readonly extensions: {
1695
+ readonly [x: string]: unknown;
1696
+ };
1697
+ } | undefined;
1698
+ readonly authorizationCode?: {
1699
+ readonly authorizationUrl?: string | undefined;
1700
+ readonly tokenUrl?: string | undefined;
1701
+ readonly refreshUrl?: string | undefined;
1702
+ readonly scopes: {
1703
+ readonly [x: string]: string;
1704
+ };
1705
+ readonly extensions: {
1706
+ readonly [x: string]: unknown;
1707
+ };
1708
+ } | undefined;
1709
+ readonly extensions: {
1710
+ readonly [x: string]: unknown;
1711
+ };
1712
+ };
1713
+ } | {
1714
+ readonly id: string;
1715
+ readonly extensions: {
1716
+ readonly [x: string]: unknown;
1717
+ };
1718
+ readonly reference?: {
1719
+ readonly $ref: string;
1720
+ readonly summary?: string | undefined;
1739
1721
  readonly description?: string | undefined;
1740
- readonly type: "mutualTLS";
1722
+ } | undefined;
1723
+ readonly key: string;
1724
+ readonly description?: string | undefined;
1725
+ readonly type: "openIdConnect";
1726
+ readonly openIdConnectUrl: string;
1727
+ } | {
1728
+ readonly id: string;
1729
+ readonly extensions: {
1730
+ readonly [x: string]: unknown;
1741
1731
  };
1742
- readonly scopes: readonly string[];
1743
- }[])[];
1744
- readonly securityDeclaration: "declared" | "inheritedFromService" | "none";
1745
- readonly key: string;
1746
- }[];
1747
- }, SchemaIssue.Issue, never>;
1732
+ readonly reference?: {
1733
+ readonly $ref: string;
1734
+ readonly summary?: string | undefined;
1735
+ readonly description?: string | undefined;
1736
+ } | undefined;
1737
+ readonly key: string;
1738
+ readonly description?: string | undefined;
1739
+ readonly type: "mutualTLS";
1740
+ };
1741
+ readonly scopes: readonly string[];
1742
+ }[])[];
1743
+ readonly securityDeclaration: "declared" | "inheritedFromService" | "none";
1744
+ readonly key: string;
1745
+ }[]>, SchemaIssue.Issue, never>;