orval 7.9.0 → 7.10.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.
package/dist/index.js CHANGED
@@ -29,14 +29,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
29
29
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
30
 
31
31
  // src/index.ts
32
- var src_exports = {};
33
- __export(src_exports, {
32
+ var index_exports = {};
33
+ __export(index_exports, {
34
34
  Options: () => import_core13.Options,
35
- default: () => src_default,
35
+ default: () => index_default,
36
36
  defineConfig: () => defineConfig,
37
37
  generate: () => generate
38
38
  });
39
- module.exports = __toCommonJS(src_exports);
39
+ module.exports = __toCommonJS(index_exports);
40
40
  var import_core13 = require("@orval/core");
41
41
 
42
42
  // src/generate.ts
@@ -3250,7 +3250,7 @@ var import_chalk3 = __toESM(require("chalk"));
3250
3250
  var package_default = {
3251
3251
  name: "orval",
3252
3252
  description: "A swagger client generator for typescript",
3253
- version: "7.9.0",
3253
+ version: "7.10.0",
3254
3254
  license: "MIT",
3255
3255
  files: [
3256
3256
  "dist"
@@ -3305,16 +3305,16 @@ var package_default = {
3305
3305
  },
3306
3306
  dependencies: {
3307
3307
  "@apidevtools/swagger-parser": "^10.1.1",
3308
- "@orval/angular": "7.9.0",
3309
- "@orval/axios": "7.9.0",
3310
- "@orval/core": "7.9.0",
3311
- "@orval/fetch": "7.9.0",
3312
- "@orval/hono": "7.9.0",
3313
- "@orval/mcp": "7.9.0",
3314
- "@orval/mock": "7.9.0",
3315
- "@orval/query": "7.9.0",
3316
- "@orval/swr": "7.9.0",
3317
- "@orval/zod": "7.9.0",
3308
+ "@orval/angular": "7.10.0",
3309
+ "@orval/axios": "7.10.0",
3310
+ "@orval/core": "7.10.0",
3311
+ "@orval/fetch": "7.10.0",
3312
+ "@orval/hono": "7.10.0",
3313
+ "@orval/mcp": "7.10.0",
3314
+ "@orval/mock": "7.10.0",
3315
+ "@orval/query": "7.10.0",
3316
+ "@orval/swr": "7.10.0",
3317
+ "@orval/zod": "7.10.0",
3318
3318
  ajv: "^8.17.1",
3319
3319
  cac: "^6.7.14",
3320
3320
  chalk: "^4.1.2",
@@ -3322,7 +3322,7 @@ var package_default = {
3322
3322
  enquirer: "^2.4.1",
3323
3323
  execa: "^5.1.1",
3324
3324
  "find-up": "5.0.0",
3325
- "fs-extra": "^11.2.0",
3325
+ "fs-extra": "^11.3.0",
3326
3326
  "lodash.uniq": "^4.5.0",
3327
3327
  "openapi3-ts": "4.2.2",
3328
3328
  "string-argv": "^0.3.2",
@@ -3513,7 +3513,7 @@ var maybeReplaceCatalog = async (pkg, workspace) => {
3513
3513
  ...Object.entries((_a = pkg.dependencies) != null ? _a : {}),
3514
3514
  ...Object.entries((_b = pkg.devDependencies) != null ? _b : {}),
3515
3515
  ...Object.entries((_c = pkg.peerDependencies) != null ? _c : {})
3516
- ].some(([key]) => key.startsWith("catalog:"))) {
3516
+ ].some(([, value]) => (0, import_core6.isString)(value) && value.startsWith("catalog:"))) {
3517
3517
  return pkg;
3518
3518
  }
3519
3519
  const filePath = await (0, import_find_up.default)("pnpm-workspace.yaml", { cwd: workspace });
@@ -3634,7 +3634,7 @@ var createFormData = (workspace, formData) => {
3634
3634
  };
3635
3635
  };
3636
3636
  var normalizeOptions = async (optionsExport, workspace = process.cwd(), globalOptions = {}) => {
3637
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga, _Ha, _Ia, _Ja, _Ka, _La, _Ma, _Na, _Oa, _Pa, _Qa, _Ra, _Sa, _Ta, _Ua, _Va, _Wa, _Xa, _Ya, _Za, __a, _$a, _ab, _bb, _cb, _db, _eb, _fb, _gb, _hb, _ib, _jb, _kb, _lb, _mb, _nb, _ob, _pb, _qb, _rb, _sb, _tb, _ub, _vb, _wb, _xb, _yb, _zb, _Ab, _Bb, _Cb, _Db, _Eb, _Fb, _Gb, _Hb, _Ib, _Jb, _Kb, _Lb, _Mb, _Nb, _Ob, _Pb, _Qb, _Rb, _Sb, _Tb, _Ub, _Vb, _Wb, _Xb, _Yb, _Zb, __b, _$b, _ac, _bc, _cc, _dc;
3637
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W, _X, _Y, _Z, __, _$, _aa, _ba, _ca, _da, _ea, _fa, _ga, _ha, _ia, _ja, _ka, _la, _ma, _na, _oa, _pa, _qa, _ra, _sa, _ta, _ua, _va, _wa, _xa, _ya, _za, _Aa, _Ba, _Ca, _Da, _Ea, _Fa, _Ga, _Ha, _Ia, _Ja, _Ka, _La, _Ma, _Na, _Oa, _Pa, _Qa, _Ra, _Sa, _Ta, _Ua, _Va, _Wa, _Xa, _Ya, _Za, __a, _$a, _ab, _bb, _cb, _db, _eb, _fb, _gb, _hb, _ib, _jb, _kb, _lb, _mb, _nb, _ob, _pb, _qb, _rb, _sb, _tb, _ub, _vb, _wb, _xb, _yb, _zb, _Ab, _Bb, _Cb, _Db, _Eb, _Fb, _Gb, _Hb, _Ib, _Jb, _Kb, _Lb, _Mb, _Nb, _Ob, _Pb, _Qb, _Rb, _Sb, _Tb, _Ub, _Vb, _Wb, _Xb, _Yb, _Zb, __b, _$b, _ac, _bc, _cc, _dc, _ec, _fc, _gc, _hc, _ic, _jc, _kc, _lc, _mc;
3638
3638
  const options = await ((0, import_core8.isFunction)(optionsExport) ? optionsExport() : optionsExport);
3639
3639
  if (!options.input) {
3640
3640
  (0, import_core8.createLogger)().error(import_chalk3.default.red(`Config require an input`));
@@ -3727,17 +3727,20 @@ var normalizeOptions = async (optionsExport, workspace = process.cwd(), globalOp
3727
3727
  mock: {
3728
3728
  arrayMin: (_y = (_x = (_w = outputOptions.override) == null ? void 0 : _w.mock) == null ? void 0 : _x.arrayMin) != null ? _y : 1,
3729
3729
  arrayMax: (_B = (_A = (_z = outputOptions.override) == null ? void 0 : _z.mock) == null ? void 0 : _A.arrayMax) != null ? _B : 10,
3730
- ...(_D = (_C = outputOptions.override) == null ? void 0 : _C.mock) != null ? _D : {}
3730
+ stringMin: (_E = (_D = (_C = outputOptions.override) == null ? void 0 : _C.mock) == null ? void 0 : _D.stringMin) != null ? _E : 10,
3731
+ stringMax: (_H = (_G = (_F = outputOptions.override) == null ? void 0 : _F.mock) == null ? void 0 : _G.stringMax) != null ? _H : 20,
3732
+ fractionDigits: (_K = (_J = (_I = outputOptions.override) == null ? void 0 : _I.mock) == null ? void 0 : _J.fractionDigits) != null ? _K : 2,
3733
+ ...(_L = outputOptions.override) == null ? void 0 : _L.mock
3731
3734
  },
3732
3735
  operations: normalizeOperationsAndTags(
3733
- (_F = (_E = outputOptions.override) == null ? void 0 : _E.operations) != null ? _F : {},
3736
+ (_N = (_M = outputOptions.override) == null ? void 0 : _M.operations) != null ? _N : {},
3734
3737
  outputWorkspace,
3735
3738
  {
3736
3739
  query: globalQueryOptions
3737
3740
  }
3738
3741
  ),
3739
3742
  tags: normalizeOperationsAndTags(
3740
- (_H = (_G = outputOptions.override) == null ? void 0 : _G.tags) != null ? _H : {},
3743
+ (_P = (_O = outputOptions.override) == null ? void 0 : _O.tags) != null ? _P : {},
3741
3744
  outputWorkspace,
3742
3745
  {
3743
3746
  query: globalQueryOptions
@@ -3745,119 +3748,120 @@ var normalizeOptions = async (optionsExport, workspace = process.cwd(), globalOp
3745
3748
  ),
3746
3749
  mutator: normalizeMutator(
3747
3750
  outputWorkspace,
3748
- (_I = outputOptions.override) == null ? void 0 : _I.mutator
3751
+ (_Q = outputOptions.override) == null ? void 0 : _Q.mutator
3749
3752
  ),
3750
3753
  formData: createFormData(
3751
3754
  outputWorkspace,
3752
- (_J = outputOptions.override) == null ? void 0 : _J.formData
3755
+ (_R = outputOptions.override) == null ? void 0 : _R.formData
3753
3756
  ),
3754
- formUrlEncoded: (_N = !(0, import_core8.isBoolean)((_K = outputOptions.override) == null ? void 0 : _K.formUrlEncoded) ? normalizeMutator(
3757
+ formUrlEncoded: (_V = !(0, import_core8.isBoolean)((_S = outputOptions.override) == null ? void 0 : _S.formUrlEncoded) ? normalizeMutator(
3755
3758
  outputWorkspace,
3756
- (_L = outputOptions.override) == null ? void 0 : _L.formUrlEncoded
3757
- ) : (_M = outputOptions.override) == null ? void 0 : _M.formUrlEncoded) != null ? _N : true,
3759
+ (_T = outputOptions.override) == null ? void 0 : _T.formUrlEncoded
3760
+ ) : (_U = outputOptions.override) == null ? void 0 : _U.formUrlEncoded) != null ? _V : true,
3758
3761
  paramsSerializer: normalizeMutator(
3759
3762
  outputWorkspace,
3760
- (_O = outputOptions.override) == null ? void 0 : _O.paramsSerializer
3763
+ (_W = outputOptions.override) == null ? void 0 : _W.paramsSerializer
3761
3764
  ),
3762
- header: ((_P = outputOptions.override) == null ? void 0 : _P.header) === false ? false : (0, import_core8.isFunction)((_Q = outputOptions.override) == null ? void 0 : _Q.header) ? (_R = outputOptions.override) == null ? void 0 : _R.header : getDefaultFilesHeader,
3763
- requestOptions: (_T = (_S = outputOptions.override) == null ? void 0 : _S.requestOptions) != null ? _T : true,
3765
+ header: ((_X = outputOptions.override) == null ? void 0 : _X.header) === false ? false : (0, import_core8.isFunction)((_Y = outputOptions.override) == null ? void 0 : _Y.header) ? (_Z = outputOptions.override) == null ? void 0 : _Z.header : getDefaultFilesHeader,
3766
+ requestOptions: (_$ = (__ = outputOptions.override) == null ? void 0 : __.requestOptions) != null ? _$ : true,
3764
3767
  components: {
3765
3768
  schemas: {
3766
3769
  suffix: import_core8.RefComponentSuffix.schemas,
3767
- itemSuffix: (_X = (_W = (_V = (_U = outputOptions.override) == null ? void 0 : _U.components) == null ? void 0 : _V.schemas) == null ? void 0 : _W.itemSuffix) != null ? _X : "Item",
3768
- ...(__ = (_Z = (_Y = outputOptions.override) == null ? void 0 : _Y.components) == null ? void 0 : _Z.schemas) != null ? __ : {}
3770
+ itemSuffix: (_da = (_ca = (_ba = (_aa = outputOptions.override) == null ? void 0 : _aa.components) == null ? void 0 : _ba.schemas) == null ? void 0 : _ca.itemSuffix) != null ? _da : "Item",
3771
+ ...(_ga = (_fa = (_ea = outputOptions.override) == null ? void 0 : _ea.components) == null ? void 0 : _fa.schemas) != null ? _ga : {}
3769
3772
  },
3770
3773
  responses: {
3771
3774
  suffix: import_core8.RefComponentSuffix.responses,
3772
- ...(_ba = (_aa = (_$ = outputOptions.override) == null ? void 0 : _$.components) == null ? void 0 : _aa.responses) != null ? _ba : {}
3775
+ ...(_ja = (_ia = (_ha = outputOptions.override) == null ? void 0 : _ha.components) == null ? void 0 : _ia.responses) != null ? _ja : {}
3773
3776
  },
3774
3777
  parameters: {
3775
3778
  suffix: import_core8.RefComponentSuffix.parameters,
3776
- ...(_ea = (_da = (_ca = outputOptions.override) == null ? void 0 : _ca.components) == null ? void 0 : _da.parameters) != null ? _ea : {}
3779
+ ...(_ma = (_la = (_ka = outputOptions.override) == null ? void 0 : _ka.components) == null ? void 0 : _la.parameters) != null ? _ma : {}
3777
3780
  },
3778
3781
  requestBodies: {
3779
3782
  suffix: import_core8.RefComponentSuffix.requestBodies,
3780
- ...(_ha = (_ga = (_fa = outputOptions.override) == null ? void 0 : _fa.components) == null ? void 0 : _ga.requestBodies) != null ? _ha : {}
3783
+ ...(_pa = (_oa = (_na = outputOptions.override) == null ? void 0 : _na.components) == null ? void 0 : _oa.requestBodies) != null ? _pa : {}
3781
3784
  }
3782
3785
  },
3783
- hono: normalizeHonoOptions((_ia = outputOptions.override) == null ? void 0 : _ia.hono, workspace),
3786
+ hono: normalizeHonoOptions((_qa = outputOptions.override) == null ? void 0 : _qa.hono, workspace),
3787
+ jsDoc: normalizeJSDocOptions((_ra = outputOptions.override) == null ? void 0 : _ra.jsDoc),
3784
3788
  query: globalQueryOptions,
3785
3789
  zod: {
3786
3790
  strict: {
3787
- param: (_ma = (_la = (_ka = (_ja = outputOptions.override) == null ? void 0 : _ja.zod) == null ? void 0 : _ka.strict) == null ? void 0 : _la.param) != null ? _ma : false,
3788
- query: (_qa = (_pa = (_oa = (_na = outputOptions.override) == null ? void 0 : _na.zod) == null ? void 0 : _oa.strict) == null ? void 0 : _pa.query) != null ? _qa : false,
3789
- header: (_ua = (_ta = (_sa = (_ra = outputOptions.override) == null ? void 0 : _ra.zod) == null ? void 0 : _sa.strict) == null ? void 0 : _ta.header) != null ? _ua : false,
3790
- body: (_ya = (_xa = (_wa = (_va = outputOptions.override) == null ? void 0 : _va.zod) == null ? void 0 : _wa.strict) == null ? void 0 : _xa.body) != null ? _ya : false,
3791
- response: (_Ca = (_Ba = (_Aa = (_za = outputOptions.override) == null ? void 0 : _za.zod) == null ? void 0 : _Aa.strict) == null ? void 0 : _Ba.response) != null ? _Ca : false
3791
+ param: (_va = (_ua = (_ta = (_sa = outputOptions.override) == null ? void 0 : _sa.zod) == null ? void 0 : _ta.strict) == null ? void 0 : _ua.param) != null ? _va : false,
3792
+ query: (_za = (_ya = (_xa = (_wa = outputOptions.override) == null ? void 0 : _wa.zod) == null ? void 0 : _xa.strict) == null ? void 0 : _ya.query) != null ? _za : false,
3793
+ header: (_Da = (_Ca = (_Ba = (_Aa = outputOptions.override) == null ? void 0 : _Aa.zod) == null ? void 0 : _Ba.strict) == null ? void 0 : _Ca.header) != null ? _Da : false,
3794
+ body: (_Ha = (_Ga = (_Fa = (_Ea = outputOptions.override) == null ? void 0 : _Ea.zod) == null ? void 0 : _Fa.strict) == null ? void 0 : _Ga.body) != null ? _Ha : false,
3795
+ response: (_La = (_Ka = (_Ja = (_Ia = outputOptions.override) == null ? void 0 : _Ia.zod) == null ? void 0 : _Ja.strict) == null ? void 0 : _Ka.response) != null ? _La : false
3792
3796
  },
3793
3797
  generate: {
3794
- param: (_Ga = (_Fa = (_Ea = (_Da = outputOptions.override) == null ? void 0 : _Da.zod) == null ? void 0 : _Ea.generate) == null ? void 0 : _Fa.param) != null ? _Ga : true,
3795
- query: (_Ka = (_Ja = (_Ia = (_Ha = outputOptions.override) == null ? void 0 : _Ha.zod) == null ? void 0 : _Ia.generate) == null ? void 0 : _Ja.query) != null ? _Ka : true,
3796
- header: (_Oa = (_Na = (_Ma = (_La = outputOptions.override) == null ? void 0 : _La.zod) == null ? void 0 : _Ma.generate) == null ? void 0 : _Na.header) != null ? _Oa : true,
3797
- body: (_Sa = (_Ra = (_Qa = (_Pa = outputOptions.override) == null ? void 0 : _Pa.zod) == null ? void 0 : _Qa.generate) == null ? void 0 : _Ra.body) != null ? _Sa : true,
3798
- response: (_Wa = (_Va = (_Ua = (_Ta = outputOptions.override) == null ? void 0 : _Ta.zod) == null ? void 0 : _Ua.generate) == null ? void 0 : _Va.response) != null ? _Wa : true
3798
+ param: (_Pa = (_Oa = (_Na = (_Ma = outputOptions.override) == null ? void 0 : _Ma.zod) == null ? void 0 : _Na.generate) == null ? void 0 : _Oa.param) != null ? _Pa : true,
3799
+ query: (_Ta = (_Sa = (_Ra = (_Qa = outputOptions.override) == null ? void 0 : _Qa.zod) == null ? void 0 : _Ra.generate) == null ? void 0 : _Sa.query) != null ? _Ta : true,
3800
+ header: (_Xa = (_Wa = (_Va = (_Ua = outputOptions.override) == null ? void 0 : _Ua.zod) == null ? void 0 : _Va.generate) == null ? void 0 : _Wa.header) != null ? _Xa : true,
3801
+ body: (_$a = (__a = (_Za = (_Ya = outputOptions.override) == null ? void 0 : _Ya.zod) == null ? void 0 : _Za.generate) == null ? void 0 : __a.body) != null ? _$a : true,
3802
+ response: (_db = (_cb = (_bb = (_ab = outputOptions.override) == null ? void 0 : _ab.zod) == null ? void 0 : _bb.generate) == null ? void 0 : _cb.response) != null ? _db : true
3799
3803
  },
3800
3804
  coerce: {
3801
- param: (__a = (_Za = (_Ya = (_Xa = outputOptions.override) == null ? void 0 : _Xa.zod) == null ? void 0 : _Ya.coerce) == null ? void 0 : _Za.param) != null ? __a : false,
3802
- query: (_cb = (_bb = (_ab = (_$a = outputOptions.override) == null ? void 0 : _$a.zod) == null ? void 0 : _ab.coerce) == null ? void 0 : _bb.query) != null ? _cb : false,
3803
- header: (_gb = (_fb = (_eb = (_db = outputOptions.override) == null ? void 0 : _db.zod) == null ? void 0 : _eb.coerce) == null ? void 0 : _fb.header) != null ? _gb : false,
3804
- body: (_kb = (_jb = (_ib = (_hb = outputOptions.override) == null ? void 0 : _hb.zod) == null ? void 0 : _ib.coerce) == null ? void 0 : _jb.body) != null ? _kb : false,
3805
- response: (_ob = (_nb = (_mb = (_lb = outputOptions.override) == null ? void 0 : _lb.zod) == null ? void 0 : _mb.coerce) == null ? void 0 : _nb.response) != null ? _ob : false
3805
+ param: (_hb = (_gb = (_fb = (_eb = outputOptions.override) == null ? void 0 : _eb.zod) == null ? void 0 : _fb.coerce) == null ? void 0 : _gb.param) != null ? _hb : false,
3806
+ query: (_lb = (_kb = (_jb = (_ib = outputOptions.override) == null ? void 0 : _ib.zod) == null ? void 0 : _jb.coerce) == null ? void 0 : _kb.query) != null ? _lb : false,
3807
+ header: (_pb = (_ob = (_nb = (_mb = outputOptions.override) == null ? void 0 : _mb.zod) == null ? void 0 : _nb.coerce) == null ? void 0 : _ob.header) != null ? _pb : false,
3808
+ body: (_tb = (_sb = (_rb = (_qb = outputOptions.override) == null ? void 0 : _qb.zod) == null ? void 0 : _rb.coerce) == null ? void 0 : _sb.body) != null ? _tb : false,
3809
+ response: (_xb = (_wb = (_vb = (_ub = outputOptions.override) == null ? void 0 : _ub.zod) == null ? void 0 : _vb.coerce) == null ? void 0 : _wb.response) != null ? _xb : false
3806
3810
  },
3807
3811
  preprocess: {
3808
- ...((_rb = (_qb = (_pb = outputOptions.override) == null ? void 0 : _pb.zod) == null ? void 0 : _qb.preprocess) == null ? void 0 : _rb.param) ? {
3812
+ ...((_Ab = (_zb = (_yb = outputOptions.override) == null ? void 0 : _yb.zod) == null ? void 0 : _zb.preprocess) == null ? void 0 : _Ab.param) ? {
3809
3813
  param: normalizeMutator(
3810
3814
  workspace,
3811
3815
  outputOptions.override.zod.preprocess.param
3812
3816
  )
3813
3817
  } : {},
3814
- ...((_ub = (_tb = (_sb = outputOptions.override) == null ? void 0 : _sb.zod) == null ? void 0 : _tb.preprocess) == null ? void 0 : _ub.query) ? {
3818
+ ...((_Db = (_Cb = (_Bb = outputOptions.override) == null ? void 0 : _Bb.zod) == null ? void 0 : _Cb.preprocess) == null ? void 0 : _Db.query) ? {
3815
3819
  query: normalizeMutator(
3816
3820
  workspace,
3817
3821
  outputOptions.override.zod.preprocess.query
3818
3822
  )
3819
3823
  } : {},
3820
- ...((_xb = (_wb = (_vb = outputOptions.override) == null ? void 0 : _vb.zod) == null ? void 0 : _wb.preprocess) == null ? void 0 : _xb.header) ? {
3824
+ ...((_Gb = (_Fb = (_Eb = outputOptions.override) == null ? void 0 : _Eb.zod) == null ? void 0 : _Fb.preprocess) == null ? void 0 : _Gb.header) ? {
3821
3825
  header: normalizeMutator(
3822
3826
  workspace,
3823
3827
  outputOptions.override.zod.preprocess.header
3824
3828
  )
3825
3829
  } : {},
3826
- ...((_Ab = (_zb = (_yb = outputOptions.override) == null ? void 0 : _yb.zod) == null ? void 0 : _zb.preprocess) == null ? void 0 : _Ab.body) ? {
3830
+ ...((_Jb = (_Ib = (_Hb = outputOptions.override) == null ? void 0 : _Hb.zod) == null ? void 0 : _Ib.preprocess) == null ? void 0 : _Jb.body) ? {
3827
3831
  body: normalizeMutator(
3828
3832
  workspace,
3829
3833
  outputOptions.override.zod.preprocess.body
3830
3834
  )
3831
3835
  } : {},
3832
- ...((_Db = (_Cb = (_Bb = outputOptions.override) == null ? void 0 : _Bb.zod) == null ? void 0 : _Cb.preprocess) == null ? void 0 : _Db.response) ? {
3836
+ ...((_Mb = (_Lb = (_Kb = outputOptions.override) == null ? void 0 : _Kb.zod) == null ? void 0 : _Lb.preprocess) == null ? void 0 : _Mb.response) ? {
3833
3837
  response: normalizeMutator(
3834
3838
  workspace,
3835
3839
  outputOptions.override.zod.preprocess.response
3836
3840
  )
3837
3841
  } : {}
3838
3842
  },
3839
- generateEachHttpStatus: (_Gb = (_Fb = (_Eb = outputOptions.override) == null ? void 0 : _Eb.zod) == null ? void 0 : _Fb.generateEachHttpStatus) != null ? _Gb : false,
3840
- dateTimeOptions: (_Jb = (_Ib = (_Hb = outputOptions.override) == null ? void 0 : _Hb.zod) == null ? void 0 : _Ib.dateTimeOptions) != null ? _Jb : {}
3843
+ generateEachHttpStatus: (_Pb = (_Ob = (_Nb = outputOptions.override) == null ? void 0 : _Nb.zod) == null ? void 0 : _Ob.generateEachHttpStatus) != null ? _Pb : false,
3844
+ dateTimeOptions: (_Sb = (_Rb = (_Qb = outputOptions.override) == null ? void 0 : _Qb.zod) == null ? void 0 : _Rb.dateTimeOptions) != null ? _Sb : {}
3841
3845
  },
3842
3846
  swr: {
3843
- ...(_Lb = (_Kb = outputOptions.override) == null ? void 0 : _Kb.swr) != null ? _Lb : {}
3847
+ ...(_Ub = (_Tb = outputOptions.override) == null ? void 0 : _Tb.swr) != null ? _Ub : {}
3844
3848
  },
3845
3849
  angular: {
3846
- provideIn: (_Ob = (_Nb = (_Mb = outputOptions.override) == null ? void 0 : _Mb.angular) == null ? void 0 : _Nb.provideIn) != null ? _Ob : "root"
3850
+ provideIn: (_Xb = (_Wb = (_Vb = outputOptions.override) == null ? void 0 : _Vb.angular) == null ? void 0 : _Wb.provideIn) != null ? _Xb : "root"
3847
3851
  },
3848
3852
  fetch: {
3849
- includeHttpResponseReturnType: (_Rb = (_Qb = (_Pb = outputOptions.override) == null ? void 0 : _Pb.fetch) == null ? void 0 : _Qb.includeHttpResponseReturnType) != null ? _Rb : true,
3850
- ...(_Tb = (_Sb = outputOptions.override) == null ? void 0 : _Sb.fetch) != null ? _Tb : {}
3853
+ includeHttpResponseReturnType: (__b = (_Zb = (_Yb = outputOptions.override) == null ? void 0 : _Yb.fetch) == null ? void 0 : _Zb.includeHttpResponseReturnType) != null ? __b : true,
3854
+ ...(_ac = (_$b = outputOptions.override) == null ? void 0 : _$b.fetch) != null ? _ac : {}
3851
3855
  },
3852
- useDates: ((_Ub = outputOptions.override) == null ? void 0 : _Ub.useDates) || false,
3853
- useDeprecatedOperations: (_Wb = (_Vb = outputOptions.override) == null ? void 0 : _Vb.useDeprecatedOperations) != null ? _Wb : true,
3854
- enumGenerationType: ((_Yb = (_Xb = outputOptions.override) == null ? void 0 : _Xb.useNativeEnums) != null ? _Yb : false) ? "enum" : (__b = (_Zb = outputOptions.override) == null ? void 0 : _Zb.enumGenerationType) != null ? __b : "const",
3855
- suppressReadonlyModifier: ((_$b = outputOptions.override) == null ? void 0 : _$b.suppressReadonlyModifier) || false
3856
+ useDates: ((_bc = outputOptions.override) == null ? void 0 : _bc.useDates) || false,
3857
+ useDeprecatedOperations: (_dc = (_cc = outputOptions.override) == null ? void 0 : _cc.useDeprecatedOperations) != null ? _dc : true,
3858
+ enumGenerationType: ((_fc = (_ec = outputOptions.override) == null ? void 0 : _ec.useNativeEnums) != null ? _fc : false) ? "enum" : (_hc = (_gc = outputOptions.override) == null ? void 0 : _gc.enumGenerationType) != null ? _hc : "const",
3859
+ suppressReadonlyModifier: ((_ic = outputOptions.override) == null ? void 0 : _ic.suppressReadonlyModifier) || false
3856
3860
  },
3857
- allParamsOptional: (_ac = outputOptions.allParamsOptional) != null ? _ac : false,
3858
- urlEncodeParameters: (_bc = outputOptions.urlEncodeParameters) != null ? _bc : false,
3859
- optionsParamRequired: (_cc = outputOptions.optionsParamRequired) != null ? _cc : false,
3860
- propertySortOrder: (_dc = outputOptions.propertySortOrder) != null ? _dc : import_core8.PropertySortOrder.SPECIFICATION
3861
+ allParamsOptional: (_jc = outputOptions.allParamsOptional) != null ? _jc : false,
3862
+ urlEncodeParameters: (_kc = outputOptions.urlEncodeParameters) != null ? _kc : false,
3863
+ optionsParamRequired: (_lc = outputOptions.optionsParamRequired) != null ? _lc : false,
3864
+ propertySortOrder: (_mc = outputOptions.propertySortOrder) != null ? _mc : import_core8.PropertySortOrder.SPECIFICATION
3861
3865
  },
3862
3866
  hooks: options.hooks ? normalizeHooks(options.hooks) : {}
3863
3867
  };
@@ -4057,6 +4061,11 @@ var normalizeHonoOptions = (hono2 = {}, workspace) => {
4057
4061
  validatorOutputPath: hono2.validatorOutputPath ? import_core8.upath.resolve(workspace, hono2.validatorOutputPath) : ""
4058
4062
  };
4059
4063
  };
4064
+ var normalizeJSDocOptions = (jsdoc = {}) => {
4065
+ return {
4066
+ ...jsdoc
4067
+ };
4068
+ };
4060
4069
  var normalizeQueryOptions = (queryOptions = {}, outputWorkspace, globalOptions = {}) => {
4061
4070
  if (queryOptions.options) {
4062
4071
  console.warn(
@@ -4479,7 +4488,7 @@ var generateConfig = async (configFile, options) => {
4479
4488
  };
4480
4489
 
4481
4490
  // src/index.ts
4482
- __reExport(src_exports, require("@orval/core"), module.exports);
4491
+ __reExport(index_exports, require("@orval/core"), module.exports);
4483
4492
  var generate = async (optionsExport, workspace = process.cwd(), options) => {
4484
4493
  if (!optionsExport || (0, import_core13.isString)(optionsExport)) {
4485
4494
  return generateConfig(optionsExport, options);
@@ -4509,7 +4518,7 @@ var generate = async (optionsExport, workspace = process.cwd(), options) => {
4509
4518
  }
4510
4519
  }
4511
4520
  };
4512
- var src_default = generate;
4521
+ var index_default = generate;
4513
4522
  // Annotate the CommonJS export names for ESM import in node:
4514
4523
  0 && (module.exports = {
4515
4524
  Options,