orval 7.9.0 → 7.11.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/bin/orval.js CHANGED
@@ -2721,7 +2721,8 @@ var generateClientImports = ({
2721
2721
  hasParamsSerializerOptions,
2722
2722
  packageJson,
2723
2723
  output.httpClient,
2724
- hasTagsMutator
2724
+ hasTagsMutator,
2725
+ output.override
2725
2726
  ),
2726
2727
  ...imports
2727
2728
  ] : imports,
@@ -2877,7 +2878,8 @@ var generateOperations = (outputClient = DEFAULT_CLIENT, verbsOptions, options,
2877
2878
  formData: verbOption.formData,
2878
2879
  formUrlEncoded: verbOption.formUrlEncoded,
2879
2880
  paramsSerializer: verbOption.paramsSerializer,
2880
- operationName: verbOption.operationName
2881
+ operationName: verbOption.operationName,
2882
+ fetchReviver: verbOption.fetchReviver
2881
2883
  };
2882
2884
  return acc;
2883
2885
  },
@@ -3238,7 +3240,7 @@ var import_chalk3 = __toESM(require("chalk"));
3238
3240
  var package_default = {
3239
3241
  name: "orval",
3240
3242
  description: "A swagger client generator for typescript",
3241
- version: "7.9.0",
3243
+ version: "7.11.0",
3242
3244
  license: "MIT",
3243
3245
  files: [
3244
3246
  "dist"
@@ -3293,16 +3295,16 @@ var package_default = {
3293
3295
  },
3294
3296
  dependencies: {
3295
3297
  "@apidevtools/swagger-parser": "^10.1.1",
3296
- "@orval/angular": "7.9.0",
3297
- "@orval/axios": "7.9.0",
3298
- "@orval/core": "7.9.0",
3299
- "@orval/fetch": "7.9.0",
3300
- "@orval/hono": "7.9.0",
3301
- "@orval/mcp": "7.9.0",
3302
- "@orval/mock": "7.9.0",
3303
- "@orval/query": "7.9.0",
3304
- "@orval/swr": "7.9.0",
3305
- "@orval/zod": "7.9.0",
3298
+ "@orval/angular": "7.11.0",
3299
+ "@orval/axios": "7.11.0",
3300
+ "@orval/core": "7.11.0",
3301
+ "@orval/fetch": "7.11.0",
3302
+ "@orval/hono": "7.11.0",
3303
+ "@orval/mcp": "7.11.0",
3304
+ "@orval/mock": "7.11.0",
3305
+ "@orval/query": "7.11.0",
3306
+ "@orval/swr": "7.11.0",
3307
+ "@orval/zod": "7.11.0",
3306
3308
  ajv: "^8.17.1",
3307
3309
  cac: "^6.7.14",
3308
3310
  chalk: "^4.1.2",
@@ -3310,12 +3312,12 @@ var package_default = {
3310
3312
  enquirer: "^2.4.1",
3311
3313
  execa: "^5.1.1",
3312
3314
  "find-up": "5.0.0",
3313
- "fs-extra": "^11.2.0",
3315
+ "fs-extra": "^11.3.0",
3314
3316
  "lodash.uniq": "^4.5.0",
3315
3317
  "openapi3-ts": "4.2.2",
3316
3318
  "string-argv": "^0.3.2",
3317
3319
  tsconfck: "^2.0.1",
3318
- typedoc: "^0.28.0",
3320
+ typedoc: "^0.28.7",
3319
3321
  "typedoc-plugin-markdown": "^4.4.2",
3320
3322
  typescript: "^5.6.3"
3321
3323
  }
@@ -3501,7 +3503,7 @@ var maybeReplaceCatalog = async (pkg, workspace) => {
3501
3503
  ...Object.entries((_a = pkg.dependencies) != null ? _a : {}),
3502
3504
  ...Object.entries((_b = pkg.devDependencies) != null ? _b : {}),
3503
3505
  ...Object.entries((_c = pkg.peerDependencies) != null ? _c : {})
3504
- ].some(([key]) => key.startsWith("catalog:"))) {
3506
+ ].some(([, value]) => (0, import_core6.isString)(value) && value.startsWith("catalog:"))) {
3505
3507
  return pkg;
3506
3508
  }
3507
3509
  const filePath = await (0, import_find_up.default)("pnpm-workspace.yaml", { cwd: workspace });
@@ -3619,7 +3621,7 @@ var createFormData = (workspace, formData) => {
3619
3621
  };
3620
3622
  };
3621
3623
  var normalizeOptions = async (optionsExport, workspace = process.cwd(), globalOptions = {}) => {
3622
- 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;
3624
+ 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, _nc, _oc, _pc, _qc, _rc, _sc, _tc, _uc;
3623
3625
  const options = await ((0, import_core8.isFunction)(optionsExport) ? optionsExport() : optionsExport);
3624
3626
  if (!options.input) {
3625
3627
  (0, import_core8.createLogger)().error(import_chalk3.default.red(`Config require an input`));
@@ -3712,17 +3714,20 @@ var normalizeOptions = async (optionsExport, workspace = process.cwd(), globalOp
3712
3714
  mock: {
3713
3715
  arrayMin: (_y = (_x = (_w = outputOptions.override) == null ? void 0 : _w.mock) == null ? void 0 : _x.arrayMin) != null ? _y : 1,
3714
3716
  arrayMax: (_B = (_A = (_z = outputOptions.override) == null ? void 0 : _z.mock) == null ? void 0 : _A.arrayMax) != null ? _B : 10,
3715
- ...(_D = (_C = outputOptions.override) == null ? void 0 : _C.mock) != null ? _D : {}
3717
+ stringMin: (_E = (_D = (_C = outputOptions.override) == null ? void 0 : _C.mock) == null ? void 0 : _D.stringMin) != null ? _E : 10,
3718
+ stringMax: (_H = (_G = (_F = outputOptions.override) == null ? void 0 : _F.mock) == null ? void 0 : _G.stringMax) != null ? _H : 20,
3719
+ fractionDigits: (_K = (_J = (_I = outputOptions.override) == null ? void 0 : _I.mock) == null ? void 0 : _J.fractionDigits) != null ? _K : 2,
3720
+ ...(_L = outputOptions.override) == null ? void 0 : _L.mock
3716
3721
  },
3717
3722
  operations: normalizeOperationsAndTags(
3718
- (_F = (_E = outputOptions.override) == null ? void 0 : _E.operations) != null ? _F : {},
3723
+ (_N = (_M = outputOptions.override) == null ? void 0 : _M.operations) != null ? _N : {},
3719
3724
  outputWorkspace,
3720
3725
  {
3721
3726
  query: globalQueryOptions
3722
3727
  }
3723
3728
  ),
3724
3729
  tags: normalizeOperationsAndTags(
3725
- (_H = (_G = outputOptions.override) == null ? void 0 : _G.tags) != null ? _H : {},
3730
+ (_P = (_O = outputOptions.override) == null ? void 0 : _O.tags) != null ? _P : {},
3726
3731
  outputWorkspace,
3727
3732
  {
3728
3733
  query: globalQueryOptions
@@ -3730,119 +3735,123 @@ var normalizeOptions = async (optionsExport, workspace = process.cwd(), globalOp
3730
3735
  ),
3731
3736
  mutator: normalizeMutator(
3732
3737
  outputWorkspace,
3733
- (_I = outputOptions.override) == null ? void 0 : _I.mutator
3738
+ (_Q = outputOptions.override) == null ? void 0 : _Q.mutator
3734
3739
  ),
3735
3740
  formData: createFormData(
3736
3741
  outputWorkspace,
3737
- (_J = outputOptions.override) == null ? void 0 : _J.formData
3742
+ (_R = outputOptions.override) == null ? void 0 : _R.formData
3738
3743
  ),
3739
- formUrlEncoded: (_N = !(0, import_core8.isBoolean)((_K = outputOptions.override) == null ? void 0 : _K.formUrlEncoded) ? normalizeMutator(
3744
+ formUrlEncoded: (_V = !(0, import_core8.isBoolean)((_S = outputOptions.override) == null ? void 0 : _S.formUrlEncoded) ? normalizeMutator(
3740
3745
  outputWorkspace,
3741
- (_L = outputOptions.override) == null ? void 0 : _L.formUrlEncoded
3742
- ) : (_M = outputOptions.override) == null ? void 0 : _M.formUrlEncoded) != null ? _N : true,
3746
+ (_T = outputOptions.override) == null ? void 0 : _T.formUrlEncoded
3747
+ ) : (_U = outputOptions.override) == null ? void 0 : _U.formUrlEncoded) != null ? _V : true,
3743
3748
  paramsSerializer: normalizeMutator(
3744
3749
  outputWorkspace,
3745
- (_O = outputOptions.override) == null ? void 0 : _O.paramsSerializer
3750
+ (_W = outputOptions.override) == null ? void 0 : _W.paramsSerializer
3746
3751
  ),
3747
- 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,
3748
- requestOptions: (_T = (_S = outputOptions.override) == null ? void 0 : _S.requestOptions) != null ? _T : true,
3752
+ 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,
3753
+ requestOptions: (_$ = (__ = outputOptions.override) == null ? void 0 : __.requestOptions) != null ? _$ : true,
3754
+ namingConvention: (_ba = (_aa = outputOptions.override) == null ? void 0 : _aa.namingConvention) != null ? _ba : {},
3749
3755
  components: {
3750
3756
  schemas: {
3751
3757
  suffix: import_core8.RefComponentSuffix.schemas,
3752
- 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",
3753
- ...(__ = (_Z = (_Y = outputOptions.override) == null ? void 0 : _Y.components) == null ? void 0 : _Z.schemas) != null ? __ : {}
3758
+ itemSuffix: (_fa = (_ea = (_da = (_ca = outputOptions.override) == null ? void 0 : _ca.components) == null ? void 0 : _da.schemas) == null ? void 0 : _ea.itemSuffix) != null ? _fa : "Item",
3759
+ ...(_ia = (_ha = (_ga = outputOptions.override) == null ? void 0 : _ga.components) == null ? void 0 : _ha.schemas) != null ? _ia : {}
3754
3760
  },
3755
3761
  responses: {
3756
3762
  suffix: import_core8.RefComponentSuffix.responses,
3757
- ...(_ba = (_aa = (_$ = outputOptions.override) == null ? void 0 : _$.components) == null ? void 0 : _aa.responses) != null ? _ba : {}
3763
+ ...(_la = (_ka = (_ja = outputOptions.override) == null ? void 0 : _ja.components) == null ? void 0 : _ka.responses) != null ? _la : {}
3758
3764
  },
3759
3765
  parameters: {
3760
3766
  suffix: import_core8.RefComponentSuffix.parameters,
3761
- ...(_ea = (_da = (_ca = outputOptions.override) == null ? void 0 : _ca.components) == null ? void 0 : _da.parameters) != null ? _ea : {}
3767
+ ...(_oa = (_na = (_ma = outputOptions.override) == null ? void 0 : _ma.components) == null ? void 0 : _na.parameters) != null ? _oa : {}
3762
3768
  },
3763
3769
  requestBodies: {
3764
3770
  suffix: import_core8.RefComponentSuffix.requestBodies,
3765
- ...(_ha = (_ga = (_fa = outputOptions.override) == null ? void 0 : _fa.components) == null ? void 0 : _ga.requestBodies) != null ? _ha : {}
3771
+ ...(_ra = (_qa = (_pa = outputOptions.override) == null ? void 0 : _pa.components) == null ? void 0 : _qa.requestBodies) != null ? _ra : {}
3766
3772
  }
3767
3773
  },
3768
- hono: normalizeHonoOptions((_ia = outputOptions.override) == null ? void 0 : _ia.hono, workspace),
3774
+ hono: normalizeHonoOptions((_sa = outputOptions.override) == null ? void 0 : _sa.hono, workspace),
3775
+ jsDoc: normalizeJSDocOptions((_ta = outputOptions.override) == null ? void 0 : _ta.jsDoc),
3769
3776
  query: globalQueryOptions,
3770
3777
  zod: {
3771
3778
  strict: {
3772
- 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,
3773
- 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,
3774
- 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,
3775
- 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,
3776
- 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
3779
+ param: (_xa = (_wa = (_va = (_ua = outputOptions.override) == null ? void 0 : _ua.zod) == null ? void 0 : _va.strict) == null ? void 0 : _wa.param) != null ? _xa : false,
3780
+ query: (_Ba = (_Aa = (_za = (_ya = outputOptions.override) == null ? void 0 : _ya.zod) == null ? void 0 : _za.strict) == null ? void 0 : _Aa.query) != null ? _Ba : false,
3781
+ header: (_Fa = (_Ea = (_Da = (_Ca = outputOptions.override) == null ? void 0 : _Ca.zod) == null ? void 0 : _Da.strict) == null ? void 0 : _Ea.header) != null ? _Fa : false,
3782
+ body: (_Ja = (_Ia = (_Ha = (_Ga = outputOptions.override) == null ? void 0 : _Ga.zod) == null ? void 0 : _Ha.strict) == null ? void 0 : _Ia.body) != null ? _Ja : false,
3783
+ response: (_Na = (_Ma = (_La = (_Ka = outputOptions.override) == null ? void 0 : _Ka.zod) == null ? void 0 : _La.strict) == null ? void 0 : _Ma.response) != null ? _Na : false
3777
3784
  },
3778
3785
  generate: {
3779
- 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,
3780
- 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,
3781
- 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,
3782
- 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,
3783
- 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
3786
+ param: (_Ra = (_Qa = (_Pa = (_Oa = outputOptions.override) == null ? void 0 : _Oa.zod) == null ? void 0 : _Pa.generate) == null ? void 0 : _Qa.param) != null ? _Ra : true,
3787
+ query: (_Va = (_Ua = (_Ta = (_Sa = outputOptions.override) == null ? void 0 : _Sa.zod) == null ? void 0 : _Ta.generate) == null ? void 0 : _Ua.query) != null ? _Va : true,
3788
+ header: (_Za = (_Ya = (_Xa = (_Wa = outputOptions.override) == null ? void 0 : _Wa.zod) == null ? void 0 : _Xa.generate) == null ? void 0 : _Ya.header) != null ? _Za : true,
3789
+ body: (_bb = (_ab = (_$a = (__a = outputOptions.override) == null ? void 0 : __a.zod) == null ? void 0 : _$a.generate) == null ? void 0 : _ab.body) != null ? _bb : true,
3790
+ response: (_fb = (_eb = (_db = (_cb = outputOptions.override) == null ? void 0 : _cb.zod) == null ? void 0 : _db.generate) == null ? void 0 : _eb.response) != null ? _fb : true
3784
3791
  },
3785
3792
  coerce: {
3786
- 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,
3787
- 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,
3788
- 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,
3789
- 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,
3790
- 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
3793
+ param: (_jb = (_ib = (_hb = (_gb = outputOptions.override) == null ? void 0 : _gb.zod) == null ? void 0 : _hb.coerce) == null ? void 0 : _ib.param) != null ? _jb : false,
3794
+ query: (_nb = (_mb = (_lb = (_kb = outputOptions.override) == null ? void 0 : _kb.zod) == null ? void 0 : _lb.coerce) == null ? void 0 : _mb.query) != null ? _nb : false,
3795
+ header: (_rb = (_qb = (_pb = (_ob = outputOptions.override) == null ? void 0 : _ob.zod) == null ? void 0 : _pb.coerce) == null ? void 0 : _qb.header) != null ? _rb : false,
3796
+ body: (_vb = (_ub = (_tb = (_sb = outputOptions.override) == null ? void 0 : _sb.zod) == null ? void 0 : _tb.coerce) == null ? void 0 : _ub.body) != null ? _vb : false,
3797
+ response: (_zb = (_yb = (_xb = (_wb = outputOptions.override) == null ? void 0 : _wb.zod) == null ? void 0 : _xb.coerce) == null ? void 0 : _yb.response) != null ? _zb : false
3791
3798
  },
3792
3799
  preprocess: {
3793
- ...((_rb = (_qb = (_pb = outputOptions.override) == null ? void 0 : _pb.zod) == null ? void 0 : _qb.preprocess) == null ? void 0 : _rb.param) ? {
3800
+ ...((_Cb = (_Bb = (_Ab = outputOptions.override) == null ? void 0 : _Ab.zod) == null ? void 0 : _Bb.preprocess) == null ? void 0 : _Cb.param) ? {
3794
3801
  param: normalizeMutator(
3795
3802
  workspace,
3796
3803
  outputOptions.override.zod.preprocess.param
3797
3804
  )
3798
3805
  } : {},
3799
- ...((_ub = (_tb = (_sb = outputOptions.override) == null ? void 0 : _sb.zod) == null ? void 0 : _tb.preprocess) == null ? void 0 : _ub.query) ? {
3806
+ ...((_Fb = (_Eb = (_Db = outputOptions.override) == null ? void 0 : _Db.zod) == null ? void 0 : _Eb.preprocess) == null ? void 0 : _Fb.query) ? {
3800
3807
  query: normalizeMutator(
3801
3808
  workspace,
3802
3809
  outputOptions.override.zod.preprocess.query
3803
3810
  )
3804
3811
  } : {},
3805
- ...((_xb = (_wb = (_vb = outputOptions.override) == null ? void 0 : _vb.zod) == null ? void 0 : _wb.preprocess) == null ? void 0 : _xb.header) ? {
3812
+ ...((_Ib = (_Hb = (_Gb = outputOptions.override) == null ? void 0 : _Gb.zod) == null ? void 0 : _Hb.preprocess) == null ? void 0 : _Ib.header) ? {
3806
3813
  header: normalizeMutator(
3807
3814
  workspace,
3808
3815
  outputOptions.override.zod.preprocess.header
3809
3816
  )
3810
3817
  } : {},
3811
- ...((_Ab = (_zb = (_yb = outputOptions.override) == null ? void 0 : _yb.zod) == null ? void 0 : _zb.preprocess) == null ? void 0 : _Ab.body) ? {
3818
+ ...((_Lb = (_Kb = (_Jb = outputOptions.override) == null ? void 0 : _Jb.zod) == null ? void 0 : _Kb.preprocess) == null ? void 0 : _Lb.body) ? {
3812
3819
  body: normalizeMutator(
3813
3820
  workspace,
3814
3821
  outputOptions.override.zod.preprocess.body
3815
3822
  )
3816
3823
  } : {},
3817
- ...((_Db = (_Cb = (_Bb = outputOptions.override) == null ? void 0 : _Bb.zod) == null ? void 0 : _Cb.preprocess) == null ? void 0 : _Db.response) ? {
3824
+ ...((_Ob = (_Nb = (_Mb = outputOptions.override) == null ? void 0 : _Mb.zod) == null ? void 0 : _Nb.preprocess) == null ? void 0 : _Ob.response) ? {
3818
3825
  response: normalizeMutator(
3819
3826
  workspace,
3820
3827
  outputOptions.override.zod.preprocess.response
3821
3828
  )
3822
3829
  } : {}
3823
3830
  },
3824
- generateEachHttpStatus: (_Gb = (_Fb = (_Eb = outputOptions.override) == null ? void 0 : _Eb.zod) == null ? void 0 : _Fb.generateEachHttpStatus) != null ? _Gb : false,
3825
- dateTimeOptions: (_Jb = (_Ib = (_Hb = outputOptions.override) == null ? void 0 : _Hb.zod) == null ? void 0 : _Ib.dateTimeOptions) != null ? _Jb : {}
3831
+ generateEachHttpStatus: (_Rb = (_Qb = (_Pb = outputOptions.override) == null ? void 0 : _Pb.zod) == null ? void 0 : _Qb.generateEachHttpStatus) != null ? _Rb : false,
3832
+ dateTimeOptions: (_Ub = (_Tb = (_Sb = outputOptions.override) == null ? void 0 : _Sb.zod) == null ? void 0 : _Tb.dateTimeOptions) != null ? _Ub : {},
3833
+ timeOptions: (_Xb = (_Wb = (_Vb = outputOptions.override) == null ? void 0 : _Vb.zod) == null ? void 0 : _Wb.timeOptions) != null ? _Xb : {}
3826
3834
  },
3827
3835
  swr: {
3828
- ...(_Lb = (_Kb = outputOptions.override) == null ? void 0 : _Kb.swr) != null ? _Lb : {}
3836
+ ...(_Zb = (_Yb = outputOptions.override) == null ? void 0 : _Yb.swr) != null ? _Zb : {}
3829
3837
  },
3830
3838
  angular: {
3831
- provideIn: (_Ob = (_Nb = (_Mb = outputOptions.override) == null ? void 0 : _Mb.angular) == null ? void 0 : _Nb.provideIn) != null ? _Ob : "root"
3839
+ provideIn: (_ac = (_$b = (__b = outputOptions.override) == null ? void 0 : __b.angular) == null ? void 0 : _$b.provideIn) != null ? _ac : "root"
3832
3840
  },
3833
3841
  fetch: {
3834
- includeHttpResponseReturnType: (_Rb = (_Qb = (_Pb = outputOptions.override) == null ? void 0 : _Pb.fetch) == null ? void 0 : _Qb.includeHttpResponseReturnType) != null ? _Rb : true,
3835
- ...(_Tb = (_Sb = outputOptions.override) == null ? void 0 : _Sb.fetch) != null ? _Tb : {}
3842
+ includeHttpResponseReturnType: (_dc = (_cc = (_bc = outputOptions.override) == null ? void 0 : _bc.fetch) == null ? void 0 : _cc.includeHttpResponseReturnType) != null ? _dc : true,
3843
+ explode: (_gc = (_fc = (_ec = outputOptions.override) == null ? void 0 : _ec.fetch) == null ? void 0 : _fc.explode) != null ? _gc : false,
3844
+ ...(_ic = (_hc = outputOptions.override) == null ? void 0 : _hc.fetch) != null ? _ic : {}
3836
3845
  },
3837
- useDates: ((_Ub = outputOptions.override) == null ? void 0 : _Ub.useDates) || false,
3838
- useDeprecatedOperations: (_Wb = (_Vb = outputOptions.override) == null ? void 0 : _Vb.useDeprecatedOperations) != null ? _Wb : true,
3839
- 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",
3840
- suppressReadonlyModifier: ((_$b = outputOptions.override) == null ? void 0 : _$b.suppressReadonlyModifier) || false
3846
+ useDates: ((_jc = outputOptions.override) == null ? void 0 : _jc.useDates) || false,
3847
+ useDeprecatedOperations: (_lc = (_kc = outputOptions.override) == null ? void 0 : _kc.useDeprecatedOperations) != null ? _lc : true,
3848
+ enumGenerationType: ((_nc = (_mc = outputOptions.override) == null ? void 0 : _mc.useNativeEnums) != null ? _nc : false) ? "enum" : (_pc = (_oc = outputOptions.override) == null ? void 0 : _oc.enumGenerationType) != null ? _pc : "const",
3849
+ suppressReadonlyModifier: ((_qc = outputOptions.override) == null ? void 0 : _qc.suppressReadonlyModifier) || false
3841
3850
  },
3842
- allParamsOptional: (_ac = outputOptions.allParamsOptional) != null ? _ac : false,
3843
- urlEncodeParameters: (_bc = outputOptions.urlEncodeParameters) != null ? _bc : false,
3844
- optionsParamRequired: (_cc = outputOptions.optionsParamRequired) != null ? _cc : false,
3845
- propertySortOrder: (_dc = outputOptions.propertySortOrder) != null ? _dc : import_core8.PropertySortOrder.SPECIFICATION
3851
+ allParamsOptional: (_rc = outputOptions.allParamsOptional) != null ? _rc : false,
3852
+ urlEncodeParameters: (_sc = outputOptions.urlEncodeParameters) != null ? _sc : false,
3853
+ optionsParamRequired: (_tc = outputOptions.optionsParamRequired) != null ? _tc : false,
3854
+ propertySortOrder: (_uc = outputOptions.propertySortOrder) != null ? _uc : import_core8.PropertySortOrder.SPECIFICATION
3846
3855
  },
3847
3856
  hooks: options.hooks ? normalizeHooks(options.hooks) : {}
3848
3857
  };
@@ -3911,7 +3920,7 @@ var normalizeOperationsAndTags = (operationsOrTags, workspace, global) => {
3911
3920
  ...rest
3912
3921
  }
3913
3922
  ]) => {
3914
- 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;
3923
+ 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;
3915
3924
  return [
3916
3925
  key,
3917
3926
  {
@@ -3975,7 +3984,8 @@ var normalizeOperationsAndTags = (operationsOrTags, workspace, global) => {
3975
3984
  } : {}
3976
3985
  },
3977
3986
  generateEachHttpStatus: (_J = zod2 == null ? void 0 : zod2.generateEachHttpStatus) != null ? _J : false,
3978
- dateTimeOptions: (_K = zod2 == null ? void 0 : zod2.dateTimeOptions) != null ? _K : {}
3987
+ dateTimeOptions: (_K = zod2 == null ? void 0 : zod2.dateTimeOptions) != null ? _K : {},
3988
+ timeOptions: (_L = zod2 == null ? void 0 : zod2.timeOptions) != null ? _L : {}
3979
3989
  }
3980
3990
  } : {},
3981
3991
  ...transformer ? { transformer: normalizePath(transformer, workspace) } : {},
@@ -4042,6 +4052,11 @@ var normalizeHonoOptions = (hono2 = {}, workspace) => {
4042
4052
  validatorOutputPath: hono2.validatorOutputPath ? import_core8.upath.resolve(workspace, hono2.validatorOutputPath) : ""
4043
4053
  };
4044
4054
  };
4055
+ var normalizeJSDocOptions = (jsdoc = {}) => {
4056
+ return {
4057
+ ...jsdoc
4058
+ };
4059
+ };
4045
4060
  var normalizeQueryOptions = (queryOptions = {}, outputWorkspace, globalOptions = {}) => {
4046
4061
  if (queryOptions.options) {
4047
4062
  console.warn(