@kubb/adapter-oas 5.0.0-beta.61 → 5.0.0-beta.63
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.
- package/dist/index.cjs +262 -137
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +262 -137
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/adapter.ts +1 -1
- package/src/constants.ts +13 -14
- package/src/dedupe.ts +237 -0
- package/src/dialect.ts +10 -6
- package/src/discriminator.ts +1 -1
- package/src/factory.ts +1 -1
- package/src/mime.ts +2 -3
- package/src/operation.ts +2 -2
- package/src/parser.ts +48 -42
- package/src/refs.ts +4 -3
- package/src/resolvers.ts +13 -5
- package/src/stream.ts +19 -81
- package/src/types.ts +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1250,7 +1250,7 @@ type AdapterOasResolvedOptions = {
|
|
|
1250
1250
|
enumSuffix: AdapterOasOptions['enumSuffix'];
|
|
1251
1251
|
/**
|
|
1252
1252
|
* Map from original `$ref` paths to their collision-resolved schema names.
|
|
1253
|
-
* Populated
|
|
1253
|
+
* Populated once the adapter resolves a spec's schemas, on the first `stream()` or `parse()`.
|
|
1254
1254
|
*
|
|
1255
1255
|
* @example
|
|
1256
1256
|
* ```ts
|
|
@@ -1267,7 +1267,7 @@ type AdapterOas = AdapterFactoryOptions<'oas', AdapterOasOptions, AdapterOasReso
|
|
|
1267
1267
|
//#endregion
|
|
1268
1268
|
//#region src/adapter.d.ts
|
|
1269
1269
|
/**
|
|
1270
|
-
*
|
|
1270
|
+
* The `name` of `@kubb/adapter-oas`, used to identify this adapter in a Kubb config.
|
|
1271
1271
|
*/
|
|
1272
1272
|
declare const adapterOasName = "oas";
|
|
1273
1273
|
/**
|