@kubb/oas 4.5.13 → 4.5.15

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.d.cts CHANGED
@@ -316,7 +316,14 @@ type PluginContext<TOptions extends PluginFactoryOptions = PluginFactoryOptions>
316
316
  fabric: Fabric;
317
317
  config: Config;
318
318
  pluginManager: PluginManager;
319
+ /**
320
+ * Only add when the file does not exist yet
321
+ */
319
322
  addFile: (...file: Array<KubbFile.File>) => Promise<void>;
323
+ /**
324
+ * merging multiple sources into the same output file
325
+ */
326
+ upsertFile: (...file: Array<KubbFile.File>) => Promise<void>;
320
327
  logger: Logger;
321
328
  mode: KubbFile.Mode;
322
329
  /**
package/dist/index.d.ts CHANGED
@@ -316,7 +316,14 @@ type PluginContext<TOptions extends PluginFactoryOptions = PluginFactoryOptions>
316
316
  fabric: Fabric;
317
317
  config: Config;
318
318
  pluginManager: PluginManager;
319
+ /**
320
+ * Only add when the file does not exist yet
321
+ */
319
322
  addFile: (...file: Array<KubbFile.File>) => Promise<void>;
323
+ /**
324
+ * merging multiple sources into the same output file
325
+ */
326
+ upsertFile: (...file: Array<KubbFile.File>) => Promise<void>;
320
327
  logger: Logger;
321
328
  mode: KubbFile.Mode;
322
329
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/oas",
3
- "version": "4.5.13",
3
+ "version": "4.5.15",
4
4
  "description": "OpenAPI Specification (OAS) utilities and helpers for Kubb, providing parsing, normalization, and manipulation of OpenAPI/Swagger schemas.",
5
5
  "keywords": [
6
6
  "openapi",