@genapi/presets 3.6.0 → 3.6.3
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/axios/index.d.mts +7 -7
- package/dist/axios/index.mjs +7 -7
- package/dist/axios/js/config/index.d.mts +1 -1
- package/dist/axios/js/config/index.mjs +1 -1
- package/dist/axios/js/index.d.mts +3 -3
- package/dist/axios/js/index.mjs +3 -3
- package/dist/axios/js/parser/index.d.mts +1 -1
- package/dist/axios/js/parser/index.mjs +1 -1
- package/dist/axios/ts/config/index.d.mts +1 -1
- package/dist/axios/ts/config/index.mjs +1 -1
- package/dist/axios/ts/index.d.mts +3 -3
- package/dist/axios/ts/index.mjs +3 -3
- package/dist/axios/ts/parser/index.d.mts +1 -1
- package/dist/axios/ts/parser/index.mjs +1 -1
- package/dist/{axios-CG6HLmR9.mjs → axios-K39RAkb3.mjs} +2 -2
- package/dist/{config-C94x0Nge.mjs → config-B16vmOTT.mjs} +1 -1
- package/dist/{config-B6UDPRkS.mjs → config-BHBub1xl.mjs} +1 -1
- package/dist/{config-DuQgIn7U.mjs → config-BJZnXcL3.mjs} +1 -1
- package/dist/{config-CwmGeydd.mjs → config-BxJx9kNJ.mjs} +1 -1
- package/dist/{config-Dn-mxTew.mjs → config-Cc3VHRal.mjs} +1 -1
- package/dist/{config-Dm0OCPw8.mjs → config-DDE1yFR1.mjs} +1 -1
- package/dist/{config-B89EoGE7.mjs → config-DYF2fE7D.mjs} +1 -1
- package/dist/{config-DAHoeaDU.mjs → config-DgC2f2AO.mjs} +1 -1
- package/dist/fetch/index.d.mts +7 -7
- package/dist/fetch/index.mjs +7 -7
- package/dist/fetch/js/config/index.d.mts +1 -1
- package/dist/fetch/js/config/index.mjs +1 -1
- package/dist/fetch/js/index.d.mts +3 -3
- package/dist/fetch/js/index.mjs +3 -3
- package/dist/fetch/js/parser/index.d.mts +1 -1
- package/dist/fetch/js/parser/index.mjs +1 -1
- package/dist/fetch/ts/config/index.d.mts +1 -1
- package/dist/fetch/ts/config/index.mjs +1 -1
- package/dist/fetch/ts/index.d.mts +3 -3
- package/dist/fetch/ts/index.mjs +3 -3
- package/dist/fetch/ts/parser/index.d.mts +1 -1
- package/dist/fetch/ts/parser/index.mjs +1 -1
- package/dist/{fetch-BtwC6Lll.mjs → fetch-DLL06Jn7.mjs} +2 -2
- package/dist/got/index.d.mts +5 -5
- package/dist/got/index.mjs +6 -6
- package/dist/got/js/config/index.d.mts +1 -1
- package/dist/got/js/config/index.mjs +1 -1
- package/dist/got/js/index.d.mts +2 -2
- package/dist/got/js/index.mjs +3 -3
- package/dist/got/js/parser/index.mjs +1 -1
- package/dist/got/ts/index.d.mts +2 -2
- package/dist/got/ts/index.mjs +2 -2
- package/dist/got/ts/parser/index.d.mts +1 -1
- package/dist/got/ts/parser/index.mjs +1 -1
- package/dist/{got-xeCavgZc.mjs → got-Bk_ycTUL.mjs} +2 -2
- package/dist/{index.d-CdRfZiCo.d.mts → index.d--WABcH1n.d.mts} +3 -3
- package/dist/{index.d-BDMFuIpi.d.mts → index.d-2GTFGLgW.d.mts} +4 -4
- package/dist/{index.d-BSQRPGuK.d.mts → index.d-4P2o05A7.d.mts} +3 -3
- package/dist/{index.d-KQGa1SFg.d.mts → index.d-5Cya98Un.d.mts} +1 -1
- package/dist/{index.d-DrCRTA_-.d.mts → index.d-72ood6s3.d.mts} +1 -1
- package/dist/{index.d-BDy4V2O7.d.mts → index.d-7KTSOlPK.d.mts} +3 -3
- package/dist/{index.d-lzQFIw8d.d.mts → index.d-7QO8j22F.d.mts} +1 -1
- package/dist/{index.d-BgvbkDJL.d.mts → index.d-B5eVx0_g.d.mts} +3 -3
- package/dist/{index.d-BguloXfs.d.mts → index.d-BP81r32_.d.mts} +1 -1
- package/dist/{index.d-CN37Zl7u.d.mts → index.d-BQui2LFN.d.mts} +1 -1
- package/dist/{index.d-BB-bpoWw.d.mts → index.d-BSefl7jk.d.mts} +1 -1
- package/dist/{index.d-DgggRtXp.d.mts → index.d-B_46bdja.d.mts} +1 -1
- package/dist/{index.d-CljgOS4p.d.mts → index.d-BdSGOMjw.d.mts} +3 -3
- package/dist/index.d-Bej_gqMV.d.mts +12 -0
- package/dist/index.d-Bj-04whm.d.mts +12 -0
- package/dist/{index.d-Ckbfjm0G.d.mts → index.d-ByYZFiiy.d.mts} +1 -1
- package/dist/{index.d-BulZ76hJ.d.mts → index.d-C8eBwHjA.d.mts} +3 -3
- package/dist/{index.d-CVL676ax.d.mts → index.d-CDCnQA_5.d.mts} +3 -3
- package/dist/{index.d-DpLq-R_p.d.mts → index.d-CIRMd-aJ.d.mts} +4 -4
- package/dist/{index.d-Bknp-d4G.d.mts → index.d-CK3UACyf.d.mts} +1 -1
- package/dist/{index.d-BYOoHBar.d.mts → index.d-CKxkHuJc.d.mts} +1 -1
- package/dist/{index.d-CfS61_iH.d.mts → index.d-CSsFeICa.d.mts} +1 -1
- package/dist/{index.d-BupSEh4R.d.mts → index.d-CYhAScL7.d.mts} +3 -3
- package/dist/index.d-CmBVTGjP.d.mts +12 -0
- package/dist/{index.d-B9C3SJsw.d.mts → index.d-CnSG-Noj.d.mts} +1 -1
- package/dist/{index.d-BXgDnKDv.d.mts → index.d-D--0zOjh.d.mts} +1 -1
- package/dist/{index.d-O3Nkol5h.d.mts → index.d-D27k0qFu.d.mts} +1 -1
- package/dist/{index.d-BbxRLLMX.d.mts → index.d-DGXjqfWF.d.mts} +4 -4
- package/dist/{index.d-D33XWXy5.d.mts → index.d-DMW8-9Zk.d.mts} +1 -1
- package/dist/{index.d-BahMmqz0.d.mts → index.d-DMhDgHcL.d.mts} +3 -3
- package/dist/{index.d-DCtFuYUN.d.mts → index.d-DRRz9JJu.d.mts} +3 -3
- package/dist/{index.d-BS6Sm47l.d.mts → index.d-DZSKZpdV.d.mts} +3 -3
- package/dist/{index.d-DW8ts-IU.d.mts → index.d-Dah_fwpb.d.mts} +1 -1
- package/dist/{index.d-DQZa03Va.d.mts → index.d-DbXQBIkp.d.mts} +1 -1
- package/dist/{index.d-CAirdOCT.d.mts → index.d-Dzu4Ung6.d.mts} +1 -1
- package/dist/{index.d-4OvQY24D.d.mts → index.d-HSjFGShK.d.mts} +1 -1
- package/dist/{index.d-D1pp_HCy.d.mts → index.d-TzRb4Dr6.d.mts} +1 -1
- package/dist/{index.d-DuVpMG8_.d.mts → index.d-WOo6Avct.d.mts} +3 -3
- package/dist/{index.d-D_aZcN-0.d.mts → index.d-gsBG0fv5.d.mts} +1 -1
- package/dist/index.d.mts +39 -39
- package/dist/index.mjs +38 -38
- package/dist/{js-nNB2l-OU.mjs → js-BTAkYiRg.mjs} +1 -1
- package/dist/{js-uo8fh9bT.mjs → js-BrYBwIUe.mjs} +3 -3
- package/dist/js-D-lPI2Zn.mjs +19 -0
- package/dist/{js-DxwOJyF7.mjs → js-DV7q1vbm.mjs} +3 -3
- package/dist/{js-CfKFwY21.mjs → js-izGE6V5X.mjs} +3 -3
- package/dist/{js-DGjfw_hH.mjs → js-nPYw8nGm.mjs} +3 -3
- package/dist/ky/index.d.mts +7 -7
- package/dist/ky/index.mjs +5 -5
- package/dist/ky/js/config/index.d.mts +1 -1
- package/dist/ky/js/index.d.mts +3 -3
- package/dist/ky/js/index.mjs +2 -2
- package/dist/ky/js/parser/index.d.mts +1 -1
- package/dist/ky/js/parser/index.mjs +1 -1
- package/dist/ky/ts/config/index.d.mts +1 -1
- package/dist/ky/ts/index.d.mts +3 -3
- package/dist/ky/ts/index.mjs +2 -2
- package/dist/ky/ts/parser/index.d.mts +1 -1
- package/dist/ky/ts/parser/index.mjs +1 -1
- package/dist/{ky-B7lRjugo.mjs → ky-BWZPNhn0.mjs} +2 -2
- package/dist/ofetch/index.d.mts +6 -6
- package/dist/ofetch/index.mjs +7 -7
- package/dist/ofetch/js/config/index.d.mts +1 -1
- package/dist/ofetch/js/config/index.mjs +1 -1
- package/dist/ofetch/js/index.d.mts +3 -3
- package/dist/ofetch/js/index.mjs +3 -3
- package/dist/ofetch/js/parser/index.d.mts +1 -1
- package/dist/ofetch/js/parser/index.mjs +1 -1
- package/dist/ofetch/ts/config/index.d.mts +1 -1
- package/dist/ofetch/ts/config/index.mjs +1 -1
- package/dist/ofetch/ts/index.d.mts +2 -2
- package/dist/ofetch/ts/index.mjs +3 -3
- package/dist/ofetch/ts/parser/index.mjs +1 -1
- package/dist/{ofetch-2rci5G0X.mjs → ofetch-CAG9WRDq.mjs} +2 -2
- package/dist/{parser-C_kpdHgT.mjs → parser-Bca6rvOA.mjs} +1 -1
- package/dist/{parser-CFOZ5-GF.mjs → parser-ByIlYPZJ.mjs} +1 -1
- package/dist/{parser-GwoAS3rw.mjs → parser-C7x_CYBU.mjs} +2 -2
- package/dist/{parser-CaRC8JQj.mjs → parser-CH2ZG8Bw.mjs} +2 -2
- package/dist/{parser-8NB1Nfwt.mjs → parser-CKxD1WcD.mjs} +2 -2
- package/dist/{parser-CE48730h.mjs → parser-Cmtirdyk.mjs} +2 -2
- package/dist/{parser-CSJYNO0a.mjs → parser-DWEwuz0M.mjs} +1 -1
- package/dist/{parser-DY9NSCKJ.mjs → parser-EdhJ3Qd1.mjs} +1 -1
- package/dist/{parser-BJWwcP0S.mjs → parser-OMrPnoEH.mjs} +1 -1
- package/dist/{parser-CCXpH6OE.mjs → parser-XfpBe6J7.mjs} +2 -2
- package/dist/{parser-DCA-N9mk.mjs → parser-eI6eqR9i.mjs} +2 -2
- package/dist/{parser-Dnqps2TD.mjs → parser-gnwFYowJ.mjs} +1 -1
- package/dist/{ts-BwAPOUdE.mjs → ts-BBkwQBu9.mjs} +1 -1
- package/dist/{ts-4mi0Q-kd.mjs → ts-BjUGMswQ.mjs} +3 -3
- package/dist/{ts-CMn2aSnV.mjs → ts-C63VeyhJ.mjs} +3 -3
- package/dist/{ts-BaRFvnl0.mjs → ts-D_YpWQhG.mjs} +2 -2
- package/dist/{ts-D-cZHoFQ.mjs → ts-DwaBBk0b.mjs} +1 -1
- package/dist/{ts-C9t_rVQx.mjs → ts-wjKQK01I.mjs} +1 -1
- package/dist/uni/index.d.mts +7 -7
- package/dist/uni/index.mjs +6 -6
- package/dist/uni/js/config/index.d.mts +1 -1
- package/dist/uni/js/config/index.mjs +1 -1
- package/dist/uni/js/index.d.mts +3 -3
- package/dist/uni/js/index.mjs +3 -3
- package/dist/uni/js/parser/index.d.mts +1 -1
- package/dist/uni/js/parser/index.mjs +1 -1
- package/dist/uni/ts/config/index.d.mts +1 -1
- package/dist/uni/ts/index.d.mts +3 -3
- package/dist/uni/ts/index.mjs +2 -2
- package/dist/uni/ts/parser/index.d.mts +1 -1
- package/dist/uni/ts/parser/index.mjs +1 -1
- package/dist/{uni-DZmF7VCX.mjs → uni-qXbKIE98.mjs} +2 -2
- package/package.json +4 -4
- package/dist/index.d-B0n5Pe6-.d.mts +0 -12
- package/dist/index.d-BFJinzUY.d.mts +0 -12
- package/dist/index.d-CDf5ausb.d.mts +0 -12
- package/dist/js-DwgoBEjQ.mjs +0 -19
package/dist/ky/js/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { parser$
|
|
2
|
-
import { config$
|
|
3
|
-
import { compiler$
|
|
1
|
+
import { parser$16 as parser } from "../../index.d-HSjFGShK.mjs";
|
|
2
|
+
import { config$15 as config } from "../../index.d-CSsFeICa.mjs";
|
|
3
|
+
import { compiler$21 as compiler, dest$21 as dest, generate$21 as generate, openapiPipeline$9 as openapiPipeline, original$21 as original } from "../../index.d-BdSGOMjw.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, openapiPipeline as default, dest, generate, original, parser };
|
package/dist/ky/js/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { config$6 as config } from "../../config-DdUVYIe0.mjs";
|
|
2
|
-
import { parser$6 as parser } from "../../parser-
|
|
3
|
-
import { compiler$6 as compiler, dest$6 as dest, generate$6 as generate, js_default$3 as js_default, original$6 as original } from "../../js-
|
|
2
|
+
import { parser$6 as parser } from "../../parser-DWEwuz0M.mjs";
|
|
3
|
+
import { compiler$6 as compiler, dest$6 as dest, generate$6 as generate, js_default$3 as js_default, original$6 as original } from "../../js-BTAkYiRg.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, js_default as default, dest, generate, original, parser };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PathsTransformOptions$
|
|
1
|
+
import { PathsTransformOptions$4 as PathsTransformOptions, parser$16 as parser, transformPaths$16 as transformPaths } from "../../../index.d-HSjFGShK.mjs";
|
|
2
2
|
|
|
3
3
|
export { PathsTransformOptions, parser, transformPaths };
|
package/dist/ky/ts/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { parser$
|
|
2
|
-
import { config$
|
|
3
|
-
import { compiler$
|
|
1
|
+
import { parser$14 as parser } from "../../index.d-CK3UACyf.mjs";
|
|
2
|
+
import { config$13 as config } from "../../index.d-gsBG0fv5.mjs";
|
|
3
|
+
import { compiler$23 as compiler, dest$23 as dest, generate$23 as generate, openapiPipeline$11 as openapiPipeline, original$23 as original } from "../../index.d-DMhDgHcL.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, openapiPipeline as default, dest, generate, original, parser };
|
package/dist/ky/ts/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { config$7 as config } from "../../config-BGwXcXx1.mjs";
|
|
2
|
-
import { parser$7 as parser } from "../../parser-
|
|
3
|
-
import { compiler$7 as compiler, dest$7 as dest, generate$7 as generate, original$7 as original, ts_default$3 as ts_default } from "../../ts-
|
|
2
|
+
import { parser$7 as parser } from "../../parser-Bca6rvOA.mjs";
|
|
3
|
+
import { compiler$7 as compiler, dest$7 as dest, generate$7 as generate, original$7 as original, ts_default$3 as ts_default } from "../../ts-DwaBBk0b.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, ts_default as default, dest, generate, original, parser };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PathsTransformOptions$
|
|
1
|
+
import { PathsTransformOptions$2 as PathsTransformOptions, parser$14 as parser, transformPaths$14 as transformPaths } from "../../../index.d-CK3UACyf.mjs";
|
|
2
2
|
|
|
3
3
|
export { PathsTransformOptions, parser, transformPaths };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
-
import { js_default$3 as js_default } from "./js-
|
|
3
|
-
import { ts_default$3 as ts_default } from "./ts-
|
|
2
|
+
import { js_default$3 as js_default } from "./js-BTAkYiRg.mjs";
|
|
3
|
+
import { ts_default$3 as ts_default } from "./ts-DwaBBk0b.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/ky/index.ts
|
|
6
6
|
var ky_exports = {};
|
package/dist/ofetch/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../index.d-
|
|
2
|
-
import "../index.d-
|
|
3
|
-
import { openapiPipeline$
|
|
1
|
+
import "../index.d-DMW8-9Zk.mjs";
|
|
2
|
+
import "../index.d-7QO8j22F.mjs";
|
|
3
|
+
import { openapiPipeline$7 as openapiPipeline } from "../index.d-B5eVx0_g.mjs";
|
|
4
4
|
import "../index.d-B1KgwGJV.mjs";
|
|
5
|
-
import "../index.d-
|
|
6
|
-
import { openapiPipeline$
|
|
7
|
-
import "../index.d-
|
|
5
|
+
import "../index.d-ByYZFiiy.mjs";
|
|
6
|
+
import { openapiPipeline$10 as openapiPipeline$1 } from "../index.d-C8eBwHjA.mjs";
|
|
7
|
+
import "../index.d-2GTFGLgW.mjs";
|
|
8
8
|
|
|
9
9
|
export { openapiPipeline as js, openapiPipeline$1 as ts };
|
package/dist/ofetch/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../config-
|
|
2
|
-
import "../parser-
|
|
3
|
-
import { js_default$
|
|
4
|
-
import "../config-
|
|
5
|
-
import "../parser-
|
|
6
|
-
import { ts_default$4 as ts_default } from "../ts-
|
|
7
|
-
import "../ofetch-
|
|
1
|
+
import "../config-DDE1yFR1.mjs";
|
|
2
|
+
import "../parser-CH2ZG8Bw.mjs";
|
|
3
|
+
import { js_default$5 as js_default } from "../js-BrYBwIUe.mjs";
|
|
4
|
+
import "../config-B16vmOTT.mjs";
|
|
5
|
+
import "../parser-gnwFYowJ.mjs";
|
|
6
|
+
import { ts_default$4 as ts_default } from "../ts-D_YpWQhG.mjs";
|
|
7
|
+
import "../ofetch-CAG9WRDq.mjs";
|
|
8
8
|
|
|
9
9
|
export { js_default as js, ts_default as ts };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { parser$
|
|
2
|
-
import { config$
|
|
3
|
-
import { compiler$
|
|
1
|
+
import { parser$15 as parser } from "../../index.d-DMW8-9Zk.mjs";
|
|
2
|
+
import { config$19 as config } from "../../index.d-7QO8j22F.mjs";
|
|
3
|
+
import { compiler$19 as compiler, dest$19 as dest, generate$19 as generate, openapiPipeline$7 as openapiPipeline, original$19 as original } from "../../index.d-B5eVx0_g.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, openapiPipeline as default, dest, generate, original, parser };
|
package/dist/ofetch/js/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { config$
|
|
2
|
-
import { parser$
|
|
3
|
-
import { compiler$
|
|
1
|
+
import { config$9 as config } from "../../config-DDE1yFR1.mjs";
|
|
2
|
+
import { parser$9 as parser } from "../../parser-CH2ZG8Bw.mjs";
|
|
3
|
+
import { compiler$9 as compiler, dest$9 as dest, generate$9 as generate, js_default$5 as js_default, original$9 as original } from "../../js-BrYBwIUe.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, js_default as default, dest, generate, original, parser };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PathsTransformOptions$
|
|
1
|
+
import { PathsTransformOptions$3 as PathsTransformOptions, parser$15 as parser, transformPaths$15 as transformPaths } from "../../../index.d-DMW8-9Zk.mjs";
|
|
2
2
|
|
|
3
3
|
export { PathsTransformOptions, parser, transformPaths };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { parser$22 as parser } from "../../index.d-B1KgwGJV.mjs";
|
|
2
|
-
import { config$
|
|
3
|
-
import { compiler$
|
|
2
|
+
import { config$16 as config } from "../../index.d-ByYZFiiy.mjs";
|
|
3
|
+
import { compiler$22 as compiler, dest$22 as dest, generate$22 as generate, openapiPipeline$10 as openapiPipeline, original$22 as original } from "../../index.d-C8eBwHjA.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, openapiPipeline as default, dest, generate, original, parser };
|
package/dist/ofetch/ts/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { config$
|
|
2
|
-
import { parser$10 as parser } from "../../parser-
|
|
3
|
-
import { compiler$10 as compiler, dest$10 as dest, generate$10 as generate, original$10 as original, ts_default$4 as ts_default } from "../../ts-
|
|
1
|
+
import { config$10 as config } from "../../config-B16vmOTT.mjs";
|
|
2
|
+
import { parser$10 as parser } from "../../parser-gnwFYowJ.mjs";
|
|
3
|
+
import { compiler$10 as compiler, dest$10 as dest, generate$10 as generate, original$10 as original, ts_default$4 as ts_default } from "../../ts-D_YpWQhG.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, ts_default as default, dest, generate, original, parser };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
-
import { js_default$
|
|
3
|
-
import { ts_default$4 as ts_default } from "./ts-
|
|
2
|
+
import { js_default$5 as js_default } from "./js-BrYBwIUe.mjs";
|
|
3
|
+
import { ts_default$4 as ts_default } from "./ts-D_YpWQhG.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/ofetch/index.ts
|
|
6
6
|
var ofetch_exports = {};
|
|
@@ -26,7 +26,7 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
26
26
|
|
|
27
27
|
*/
|
|
28
28
|
const { parameters, interfaces: attachInters, options } = parseMethodParameters(config);
|
|
29
|
-
let { name, description, url, responseType } = parseMethodMetadata(config);
|
|
29
|
+
let { name, description, url, responseType } = parseMethodMetadata(config, interfaces);
|
|
30
30
|
interfaces.push(...attachInters);
|
|
31
31
|
parameters.push({
|
|
32
32
|
name: "config",
|
|
@@ -29,7 +29,7 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
29
29
|
body: "data",
|
|
30
30
|
query: "params"
|
|
31
31
|
});
|
|
32
|
-
let { name, description, url, responseType } = parseMethodMetadata(config);
|
|
32
|
+
let { name, description, url, responseType } = parseMethodMetadata(config, interfaces);
|
|
33
33
|
options.push(["...", "config"]);
|
|
34
34
|
interfaces.push(...attachInters);
|
|
35
35
|
parameters.push({
|
|
@@ -29,7 +29,7 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
29
29
|
body: "data",
|
|
30
30
|
query: "params"
|
|
31
31
|
});
|
|
32
|
-
let { name, description, url, responseType } = parseMethodMetadata(config);
|
|
32
|
+
let { name, description, url, responseType } = parseMethodMetadata(config, interfaces);
|
|
33
33
|
options.push(["...", "config"]);
|
|
34
34
|
interfaces.push(...attachInters);
|
|
35
35
|
parameters.push({
|
|
@@ -59,4 +59,4 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
//#endregion
|
|
62
|
-
export { parser
|
|
62
|
+
export { parser, transformPaths };
|
|
@@ -29,7 +29,7 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
29
29
|
formData: "body",
|
|
30
30
|
query: "params"
|
|
31
31
|
});
|
|
32
|
-
let { name, description, url, responseType, body } = parseMethodMetadata(config);
|
|
32
|
+
let { name, description, url, responseType, body } = parseMethodMetadata(config, interfaces);
|
|
33
33
|
interfaces.push(...attachInters);
|
|
34
34
|
parameters.push({
|
|
35
35
|
name: "options",
|
|
@@ -64,4 +64,4 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
//#endregion
|
|
67
|
-
export { parser as parser$
|
|
67
|
+
export { parser as parser$9, transformPaths as transformPaths$9 };
|
|
@@ -29,7 +29,7 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
29
29
|
body: "data",
|
|
30
30
|
query: "params"
|
|
31
31
|
});
|
|
32
|
-
let { name, description, url, responseType } = parseMethodMetadata(config);
|
|
32
|
+
let { name, description, url, responseType } = parseMethodMetadata(config, interfaces);
|
|
33
33
|
options.push(["...", "config"]);
|
|
34
34
|
interfaces.push(...attachInters);
|
|
35
35
|
parameters.push({
|
|
@@ -60,4 +60,4 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
//#endregion
|
|
63
|
-
export { parser, transformPaths };
|
|
63
|
+
export { parser as parser$1, transformPaths as transformPaths$1 };
|
|
@@ -26,7 +26,7 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
26
26
|
|
|
27
27
|
*/
|
|
28
28
|
const { parameters, interfaces: attachInters, options } = parseMethodParameters(config);
|
|
29
|
-
let { name, description, url, responseType } = parseMethodMetadata(config);
|
|
29
|
+
let { name, description, url, responseType } = parseMethodMetadata(config, interfaces);
|
|
30
30
|
interfaces.push(...attachInters);
|
|
31
31
|
parameters.push({
|
|
32
32
|
name: "config",
|
|
@@ -66,4 +66,4 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
//#endregion
|
|
69
|
-
export { parser as parser$
|
|
69
|
+
export { parser as parser$4, transformPaths as transformPaths$4 };
|
|
@@ -26,7 +26,7 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
26
26
|
|
|
27
27
|
*/
|
|
28
28
|
const { parameters, interfaces: attachInters, options } = parseMethodParameters(config);
|
|
29
|
-
let { name, description, url, responseType } = parseMethodMetadata(config);
|
|
29
|
+
let { name, description, url, responseType } = parseMethodMetadata(config, interfaces);
|
|
30
30
|
interfaces.push(...attachInters);
|
|
31
31
|
parameters.push({
|
|
32
32
|
name: "config",
|
|
@@ -26,7 +26,7 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
26
26
|
|
|
27
27
|
*/
|
|
28
28
|
const { parameters, interfaces: attachInters, options } = parseMethodParameters(config);
|
|
29
|
-
let { name, description, url, responseType, body } = parseMethodMetadata(config);
|
|
29
|
+
let { name, description, url, responseType, body } = parseMethodMetadata(config, interfaces);
|
|
30
30
|
interfaces.push(...attachInters);
|
|
31
31
|
parameters.push({
|
|
32
32
|
name: "config",
|
|
@@ -26,7 +26,7 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
26
26
|
|
|
27
27
|
*/
|
|
28
28
|
const { parameters, interfaces: attachInters, options } = parseMethodParameters(config);
|
|
29
|
-
let { name, description, url, responseType } = parseMethodMetadata(config);
|
|
29
|
+
let { name, description, url, responseType } = parseMethodMetadata(config, interfaces);
|
|
30
30
|
interfaces.push(...attachInters);
|
|
31
31
|
parameters.push({
|
|
32
32
|
name: "config",
|
|
@@ -29,7 +29,7 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
29
29
|
body: "data",
|
|
30
30
|
query: "params"
|
|
31
31
|
});
|
|
32
|
-
let { name, description, url, responseType } = parseMethodMetadata(config);
|
|
32
|
+
let { name, description, url, responseType } = parseMethodMetadata(config, interfaces);
|
|
33
33
|
options.push(["...", "config"]);
|
|
34
34
|
interfaces.push(...attachInters);
|
|
35
35
|
parameters.push({
|
|
@@ -60,4 +60,4 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
//#endregion
|
|
63
|
-
export { parser as parser$
|
|
63
|
+
export { parser as parser$8, transformPaths as transformPaths$8 };
|
|
@@ -26,7 +26,7 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
26
26
|
|
|
27
27
|
*/
|
|
28
28
|
const { parameters, interfaces: attachInters, options } = parseMethodParameters(config, { formData: "body" });
|
|
29
|
-
let { name, description, url, responseType, body } = parseMethodMetadata(config);
|
|
29
|
+
let { name, description, url, responseType, body } = parseMethodMetadata(config, interfaces);
|
|
30
30
|
interfaces.push(...attachInters);
|
|
31
31
|
parameters.push({
|
|
32
32
|
name: "config",
|
|
@@ -74,4 +74,4 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
//#endregion
|
|
77
|
-
export { parser as parser$
|
|
77
|
+
export { parser as parser$2, transformPaths as transformPaths$2 };
|
|
@@ -29,7 +29,7 @@ function transformPaths(paths, { configRead, functions, interfaces }) {
|
|
|
29
29
|
formData: "body",
|
|
30
30
|
query: "params"
|
|
31
31
|
});
|
|
32
|
-
let { name, description, url, responseType, body } = parseMethodMetadata(config);
|
|
32
|
+
let { name, description, url, responseType, body } = parseMethodMetadata(config, interfaces);
|
|
33
33
|
interfaces.push(...attachInters);
|
|
34
34
|
parameters.push({
|
|
35
35
|
name: "options",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { config$11 as config } from "./config-CEngTpXa.mjs";
|
|
2
|
-
import { parser$11 as parser } from "./parser-
|
|
2
|
+
import { parser$11 as parser } from "./parser-ByIlYPZJ.mjs";
|
|
3
3
|
import pipeline, { compiler as compiler$1, dest as dest$1, generate as generate$1, original as original$1 } from "@genapi/pipeline";
|
|
4
4
|
|
|
5
5
|
//#region src/uni/ts/index.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { config
|
|
2
|
-
import { parser
|
|
1
|
+
import { config } from "./config-DYF2fE7D.mjs";
|
|
2
|
+
import { parser } from "./parser-C7x_CYBU.mjs";
|
|
3
3
|
import pipeline, { compiler as compiler$1, dest as dest$1, generate as generate$1, original as original$1 } from "@genapi/pipeline";
|
|
4
4
|
|
|
5
5
|
//#region src/axios/ts/index.ts
|
|
@@ -16,4 +16,4 @@ openapiPipeline.dest = dest$1;
|
|
|
16
16
|
var ts_default = openapiPipeline;
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
19
|
-
export { compiler$1, dest$1, generate$1, original$1, ts_default };
|
|
19
|
+
export { compiler$1 as compiler, dest$1 as dest, generate$1 as generate, original$1 as original, ts_default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { config$
|
|
2
|
-
import { parser$3 as parser } from "./parser-
|
|
1
|
+
import { config$3 as config } from "./config-BHBub1xl.mjs";
|
|
2
|
+
import { parser$3 as parser } from "./parser-EdhJ3Qd1.mjs";
|
|
3
3
|
import pipeline, { compiler as compiler$1, dest as dest$1, generate as generate$1, original as original$1 } from "@genapi/pipeline";
|
|
4
4
|
|
|
5
5
|
//#region src/fetch/ts/index.ts
|
|
@@ -16,4 +16,4 @@ openapiPipeline.dest = dest$1;
|
|
|
16
16
|
var ts_default = openapiPipeline;
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
19
|
-
export { compiler$1 as compiler$
|
|
19
|
+
export { compiler$1 as compiler$3, dest$1 as dest$3, generate$1 as generate$3, original$1 as original$3, ts_default as ts_default$1 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { config$
|
|
2
|
-
import { parser$10 as parser } from "./parser-
|
|
1
|
+
import { config$10 as config } from "./config-B16vmOTT.mjs";
|
|
2
|
+
import { parser$10 as parser } from "./parser-gnwFYowJ.mjs";
|
|
3
3
|
import pipeline, { compiler as compiler$1, dest as dest$1, generate as generate$1, original as original$1 } from "@genapi/pipeline";
|
|
4
4
|
|
|
5
5
|
//#region src/ofetch/ts/index.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { config$7 as config } from "./config-BGwXcXx1.mjs";
|
|
2
|
-
import { parser$7 as parser } from "./parser-
|
|
2
|
+
import { parser$7 as parser } from "./parser-Bca6rvOA.mjs";
|
|
3
3
|
import pipeline, { compiler as compiler$1, dest as dest$1, generate as generate$1, original as original$1 } from "@genapi/pipeline";
|
|
4
4
|
|
|
5
5
|
//#region src/ky/ts/index.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { config$5 as config } from "./config-aVU8JEKy.mjs";
|
|
2
|
-
import { parser$5 as parser } from "./parser-
|
|
2
|
+
import { parser$5 as parser } from "./parser-OMrPnoEH.mjs";
|
|
3
3
|
import pipeline, { compiler as compiler$1, dest as dest$1, generate as generate$1, original as original$1 } from "@genapi/pipeline";
|
|
4
4
|
|
|
5
5
|
//#region src/got/ts/index.ts
|
package/dist/uni/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../index.d-
|
|
2
|
-
import "../index.d-
|
|
3
|
-
import { openapiPipeline$
|
|
4
|
-
import "../index.d-
|
|
5
|
-
import "../index.d-
|
|
6
|
-
import { openapiPipeline$
|
|
7
|
-
import "../index.d-
|
|
1
|
+
import "../index.d-Dzu4Ung6.mjs";
|
|
2
|
+
import "../index.d-DbXQBIkp.mjs";
|
|
3
|
+
import { openapiPipeline$8 as openapiPipeline } from "../index.d-CYhAScL7.mjs";
|
|
4
|
+
import "../index.d-TzRb4Dr6.mjs";
|
|
5
|
+
import "../index.d-CnSG-Noj.mjs";
|
|
6
|
+
import { openapiPipeline$6 as openapiPipeline$1 } from "../index.d-DRRz9JJu.mjs";
|
|
7
|
+
import "../index.d-CIRMd-aJ.mjs";
|
|
8
8
|
|
|
9
9
|
export { openapiPipeline as js, openapiPipeline$1 as ts };
|
package/dist/uni/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../config-
|
|
2
|
-
import "../parser-
|
|
3
|
-
import { js_default$
|
|
1
|
+
import "../config-Cc3VHRal.mjs";
|
|
2
|
+
import "../parser-XfpBe6J7.mjs";
|
|
3
|
+
import { js_default$4 as js_default } from "../js-DV7q1vbm.mjs";
|
|
4
4
|
import "../config-CEngTpXa.mjs";
|
|
5
|
-
import "../parser-
|
|
6
|
-
import { ts_default$5 as ts_default } from "../ts-
|
|
7
|
-
import "../uni-
|
|
5
|
+
import "../parser-ByIlYPZJ.mjs";
|
|
6
|
+
import { ts_default$5 as ts_default } from "../ts-BBkwQBu9.mjs";
|
|
7
|
+
import "../uni-qXbKIE98.mjs";
|
|
8
8
|
|
|
9
9
|
export { js_default as js, ts_default as ts };
|
package/dist/uni/js/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { parser$
|
|
2
|
-
import { config$
|
|
3
|
-
import { compiler$
|
|
1
|
+
import { parser$19 as parser } from "../../index.d-Dzu4Ung6.mjs";
|
|
2
|
+
import { config$12 as config } from "../../index.d-DbXQBIkp.mjs";
|
|
3
|
+
import { compiler$20 as compiler, dest$20 as dest, generate$20 as generate, openapiPipeline$8 as openapiPipeline, original$20 as original } from "../../index.d-CYhAScL7.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, openapiPipeline as default, dest, generate, original, parser };
|
package/dist/uni/js/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { config$
|
|
2
|
-
import { parser$
|
|
3
|
-
import { compiler$
|
|
1
|
+
import { config$8 as config } from "../../config-Cc3VHRal.mjs";
|
|
2
|
+
import { parser$8 as parser } from "../../parser-XfpBe6J7.mjs";
|
|
3
|
+
import { compiler$8 as compiler, dest$8 as dest, generate$8 as generate, js_default$4 as js_default, original$8 as original } from "../../js-DV7q1vbm.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, js_default as default, dest, generate, original, parser };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PathsTransformOptions$
|
|
1
|
+
import { PathsTransformOptions$7 as PathsTransformOptions, parser$19 as parser, transformPaths$19 as transformPaths } from "../../../index.d-Dzu4Ung6.mjs";
|
|
2
2
|
|
|
3
3
|
export { PathsTransformOptions, parser, transformPaths };
|
package/dist/uni/ts/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { parser$
|
|
2
|
-
import { config$
|
|
3
|
-
import { compiler$
|
|
1
|
+
import { parser$12 as parser } from "../../index.d-TzRb4Dr6.mjs";
|
|
2
|
+
import { config$14 as config } from "../../index.d-CnSG-Noj.mjs";
|
|
3
|
+
import { compiler$18 as compiler, dest$18 as dest, generate$18 as generate, openapiPipeline$6 as openapiPipeline, original$18 as original } from "../../index.d-DRRz9JJu.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, openapiPipeline as default, dest, generate, original, parser };
|
package/dist/uni/ts/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { config$11 as config } from "../../config-CEngTpXa.mjs";
|
|
2
|
-
import { parser$11 as parser } from "../../parser-
|
|
3
|
-
import { compiler$11 as compiler, dest$11 as dest, generate$11 as generate, original$11 as original, ts_default$5 as ts_default } from "../../ts-
|
|
2
|
+
import { parser$11 as parser } from "../../parser-ByIlYPZJ.mjs";
|
|
3
|
+
import { compiler$11 as compiler, dest$11 as dest, generate$11 as generate, original$11 as original, ts_default$5 as ts_default } from "../../ts-BBkwQBu9.mjs";
|
|
4
4
|
|
|
5
5
|
export { compiler, config, ts_default as default, dest, generate, original, parser };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { PathsTransformOptions
|
|
1
|
+
import { PathsTransformOptions, parser$12 as parser, transformPaths$12 as transformPaths } from "../../../index.d-TzRb4Dr6.mjs";
|
|
2
2
|
|
|
3
3
|
export { PathsTransformOptions, parser, transformPaths };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
-
import { js_default$
|
|
3
|
-
import { ts_default$5 as ts_default } from "./ts-
|
|
2
|
+
import { js_default$4 as js_default } from "./js-DV7q1vbm.mjs";
|
|
3
|
+
import { ts_default$5 as ts_default } from "./ts-BBkwQBu9.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/uni/index.ts
|
|
6
6
|
var uni_exports = {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genapi/presets",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.6.
|
|
4
|
+
"version": "3.6.3",
|
|
5
5
|
"author": "Hairyf <wwu710632@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/hairyf/genapi#readme",
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
],
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"openapi-specification-types": "^0.0.3",
|
|
66
|
-
"@genapi/
|
|
67
|
-
"@genapi/pipeline": "3.6.
|
|
68
|
-
"@genapi/
|
|
66
|
+
"@genapi/shared": "3.6.3",
|
|
67
|
+
"@genapi/pipeline": "3.6.3",
|
|
68
|
+
"@genapi/parser": "3.6.3"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|
|
71
71
|
"build": "tsdown",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { __export } from "./chunk-BL35Yyzp.mjs";
|
|
2
|
-
import { openapiPipeline } from "./index.d-BS6Sm47l.mjs";
|
|
3
|
-
import { openapiPipeline$4 as openapiPipeline$1 } from "./index.d-CVL676ax.mjs";
|
|
4
|
-
|
|
5
|
-
//#region src/axios/index.d.ts
|
|
6
|
-
|
|
7
|
-
declare namespace index_d_exports {
|
|
8
|
-
export { openapiPipeline as js, openapiPipeline$1 as ts, }
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
//#endregion
|
|
12
|
-
export { index_d_exports as index_d_exports$1 };
|