@kubb/plugin-oas 4.38.1 → 4.39.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.
@@ -95,6 +95,7 @@ type Options = {
95
95
  oasClass?: typeof Oas;
96
96
  /**
97
97
  * Define some generators next to the JSON generation
98
+ * @deprecated Removed in v5. To add custom output, build your own plugin. See https://kubb.dev/docs/5.x/migration-guide
98
99
  */
99
100
  generators?: Array<Generator<PluginOas>>;
100
101
  /**
@@ -417,4 +418,4 @@ type CoreGenerator<TOptions extends PluginFactoryOptions, TVersion extends Versi
417
418
  declare function createGenerator<TOptions extends PluginFactoryOptions, TVersion extends Version = '1'>(generator: UserGenerator<TOptions, TVersion>): CoreGenerator<TOptions, TVersion>;
418
419
  //#endregion
419
420
  export { ResolvePathOptions as C, Refs as S, OperationSchemas as _, ReactGenerator as a, PluginOas as b, SchemaGenerator as c, SchemaMethodResult as d, OperationGenerator as f, OperationSchema as g, Include as h, Version as i, SchemaGeneratorBuildOptions as l, Exclude as m, createGenerator as n, createReactGenerator as o, OperationMethodResult as p, Generator as r, GetSchemaGeneratorOptions as s, CoreGenerator as t, SchemaGeneratorOptions as u, Options as v, Resolver as w, Ref as x, Override as y };
420
- //# sourceMappingURL=createGenerator-BZA5dzMY.d.ts.map
421
+ //# sourceMappingURL=createGenerator-D605sxGY.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { t as __name } from "./chunk--u3MIqq1.js";
2
- import { b as PluginOas, n as createGenerator, o as createReactGenerator, r as Generator, t as CoreGenerator } from "./createGenerator-BZA5dzMY.js";
2
+ import { b as PluginOas, n as createGenerator, o as createReactGenerator, r as Generator, t as CoreGenerator } from "./createGenerator-D605sxGY.js";
3
3
  //#region src/generators/jsonGenerator.d.ts
4
4
  declare const jsonGenerator: CoreGenerator<PluginOas, "1">;
5
5
  //#endregion
package/dist/hooks.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as __name } from "./chunk--u3MIqq1.js";
2
- import { _ as OperationSchemas, f as OperationGenerator } from "./createGenerator-BZA5dzMY.js";
2
+ import { _ as OperationSchemas, f as OperationGenerator } from "./createGenerator-D605sxGY.js";
3
3
  import { Oas, Operation } from "@kubb/oas";
4
4
  import { FileMetaBase, Plugin, PluginFactoryOptions, ResolveNameParams } from "@kubb/core";
5
5
  import { KubbFile } from "@kubb/fabric-core/types";
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as __name } from "./chunk--u3MIqq1.js";
2
- import { C as ResolvePathOptions, S as Refs, _ as OperationSchemas, a as ReactGenerator, b as PluginOas, c as SchemaGenerator, d as SchemaMethodResult, f as OperationGenerator, g as OperationSchema, h as Include, i as Version, l as SchemaGeneratorBuildOptions, m as Exclude, n as createGenerator$1, o as createReactGenerator$1, p as OperationMethodResult, r as Generator$1, s as GetSchemaGeneratorOptions, u as SchemaGeneratorOptions, v as Options, w as Resolver, x as Ref, y as Override } from "./createGenerator-BZA5dzMY.js";
2
+ import { C as ResolvePathOptions, S as Refs, _ as OperationSchemas, a as ReactGenerator, b as PluginOas, c as SchemaGenerator, d as SchemaMethodResult, f as OperationGenerator, g as OperationSchema, h as Include, i as Version, l as SchemaGeneratorBuildOptions, m as Exclude, n as createGenerator$1, o as createReactGenerator$1, p as OperationMethodResult, r as Generator$1, s as GetSchemaGeneratorOptions, u as SchemaGeneratorOptions, v as Options, w as Resolver, x as Ref, y as Override } from "./createGenerator-D605sxGY.js";
3
3
  import { a as SchemaMapper, c as schemaKeywords, i as SchemaKeywordMapper, n as SchemaKeyword, o as SchemaTree, r as SchemaKeywordBase, s as isKeyword, t as Schema } from "./SchemaMapper-SneuY1wg.js";
4
4
  import { Operation, SchemaObject } from "@kubb/oas";
5
5
  import * as _kubb_core0 from "@kubb/core";
package/dist/utils.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as __name } from "./chunk--u3MIqq1.js";
2
- import { g as OperationSchema } from "./createGenerator-BZA5dzMY.js";
2
+ import { g as OperationSchema } from "./createGenerator-D605sxGY.js";
3
3
  import { t as Schema } from "./SchemaMapper-SneuY1wg.js";
4
4
  import { Oas, OasTypes, OpenAPIV3, OpenAPIV3_1, Operation, SchemaObject, contentType, isOptional } from "@kubb/oas";
5
5
  import { Config, FunctionParamsAST, Output } from "@kubb/core";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-oas",
3
- "version": "4.38.1",
3
+ "version": "4.39.0",
4
4
  "description": "OpenAPI Specification (OAS) plugin for Kubb, providing core functionality for parsing and processing OpenAPI/Swagger schemas for code generation.",
5
5
  "keywords": [
6
6
  "openapi",
@@ -84,8 +84,8 @@
84
84
  "@kubb/fabric-core": "0.14.0",
85
85
  "@kubb/react-fabric": "0.14.0",
86
86
  "remeda": "^2.37.0",
87
- "@kubb/core": "4.38.1",
88
- "@kubb/oas": "4.38.1"
87
+ "@kubb/core": "4.39.0",
88
+ "@kubb/oas": "4.39.0"
89
89
  },
90
90
  "peerDependencies": {
91
91
  "@kubb/fabric-core": "0.14.0",
package/src/types.ts CHANGED
@@ -96,6 +96,7 @@ export type Options = {
96
96
  oasClass?: typeof Oas
97
97
  /**
98
98
  * Define some generators next to the JSON generation
99
+ * @deprecated Removed in v5. To add custom output, build your own plugin. See https://kubb.dev/docs/5.x/migration-guide
99
100
  */
100
101
  generators?: Array<Generator<PluginOas>>
101
102
  /**