@hey-api/openapi-ts 0.0.0-next-20260205083026
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/LICENSE.md +21 -0
- package/README.md +381 -0
- package/bin/run.cmd +3 -0
- package/bin/run.js +18 -0
- package/dist/clients/angular/client.ts +237 -0
- package/dist/clients/angular/index.ts +23 -0
- package/dist/clients/angular/types.ts +231 -0
- package/dist/clients/angular/utils.ts +408 -0
- package/dist/clients/axios/client.ts +154 -0
- package/dist/clients/axios/index.ts +21 -0
- package/dist/clients/axios/types.ts +158 -0
- package/dist/clients/axios/utils.ts +206 -0
- package/dist/clients/core/auth.ts +39 -0
- package/dist/clients/core/bodySerializer.ts +82 -0
- package/dist/clients/core/params.ts +167 -0
- package/dist/clients/core/pathSerializer.ts +169 -0
- package/dist/clients/core/queryKeySerializer.ts +115 -0
- package/dist/clients/core/serverSentEvents.ts +241 -0
- package/dist/clients/core/types.ts +102 -0
- package/dist/clients/core/utils.ts +138 -0
- package/dist/clients/fetch/client.ts +286 -0
- package/dist/clients/fetch/index.ts +23 -0
- package/dist/clients/fetch/types.ts +211 -0
- package/dist/clients/fetch/utils.ts +314 -0
- package/dist/clients/ky/client.ts +318 -0
- package/dist/clients/ky/index.ts +24 -0
- package/dist/clients/ky/types.ts +243 -0
- package/dist/clients/ky/utils.ts +312 -0
- package/dist/clients/next/client.ts +253 -0
- package/dist/clients/next/index.ts +21 -0
- package/dist/clients/next/types.ts +162 -0
- package/dist/clients/next/utils.ts +413 -0
- package/dist/clients/nuxt/client.ts +213 -0
- package/dist/clients/nuxt/index.ts +22 -0
- package/dist/clients/nuxt/types.ts +189 -0
- package/dist/clients/nuxt/utils.ts +384 -0
- package/dist/clients/ofetch/client.ts +259 -0
- package/dist/clients/ofetch/index.ts +23 -0
- package/dist/clients/ofetch/types.ts +275 -0
- package/dist/clients/ofetch/utils.ts +504 -0
- package/dist/index.d.mts +8634 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +4 -0
- package/dist/init-DlaW5Djq.mjs +13832 -0
- package/dist/init-DlaW5Djq.mjs.map +1 -0
- package/dist/internal.d.mts +33 -0
- package/dist/internal.d.mts.map +1 -0
- package/dist/internal.mjs +4 -0
- package/dist/run.d.mts +1 -0
- package/dist/run.mjs +60 -0
- package/dist/run.mjs.map +1 -0
- package/dist/src-BYA2YioO.mjs +225 -0
- package/dist/src-BYA2YioO.mjs.map +1 -0
- package/dist/types-Ba27ofyy.d.mts +157 -0
- package/dist/types-Ba27ofyy.d.mts.map +1 -0
- package/package.json +109 -0
package/package.json
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@hey-api/openapi-ts",
|
|
3
|
+
"version": "0.0.0-next-20260205083026",
|
|
4
|
+
"description": "🌀 OpenAPI to TypeScript codegen. Production-ready SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"angular",
|
|
7
|
+
"axios",
|
|
8
|
+
"codegen",
|
|
9
|
+
"fetch",
|
|
10
|
+
"generator",
|
|
11
|
+
"http",
|
|
12
|
+
"javascript",
|
|
13
|
+
"json",
|
|
14
|
+
"next",
|
|
15
|
+
"next.js",
|
|
16
|
+
"node",
|
|
17
|
+
"nuxt",
|
|
18
|
+
"ofetch",
|
|
19
|
+
"openapi",
|
|
20
|
+
"rest",
|
|
21
|
+
"swagger",
|
|
22
|
+
"typescript",
|
|
23
|
+
"xhr",
|
|
24
|
+
"yaml"
|
|
25
|
+
],
|
|
26
|
+
"homepage": "https://heyapi.dev/",
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://github.com/hey-api/openapi-ts/issues"
|
|
29
|
+
},
|
|
30
|
+
"license": "MIT",
|
|
31
|
+
"author": {
|
|
32
|
+
"name": "Hey API",
|
|
33
|
+
"email": "lubos@heyapi.dev",
|
|
34
|
+
"url": "https://heyapi.dev"
|
|
35
|
+
},
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "git+https://github.com/hey-api/openapi-ts.git"
|
|
39
|
+
},
|
|
40
|
+
"funding": "https://github.com/sponsors/hey-api",
|
|
41
|
+
"bin": {
|
|
42
|
+
"openapi-ts": "./bin/run.js"
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"bin",
|
|
46
|
+
"dist",
|
|
47
|
+
"LICENSE.md",
|
|
48
|
+
"README.md"
|
|
49
|
+
],
|
|
50
|
+
"type": "module",
|
|
51
|
+
"main": "./dist/index.mjs",
|
|
52
|
+
"types": "./dist/index.d.mts",
|
|
53
|
+
"exports": {
|
|
54
|
+
".": {
|
|
55
|
+
"types": "./dist/index.d.mts",
|
|
56
|
+
"import": "./dist/index.mjs"
|
|
57
|
+
},
|
|
58
|
+
"./internal": {
|
|
59
|
+
"types": "./dist/internal.d.mts",
|
|
60
|
+
"import": "./dist/internal.mjs"
|
|
61
|
+
},
|
|
62
|
+
"./package.json": "./package.json"
|
|
63
|
+
},
|
|
64
|
+
"dependencies": {
|
|
65
|
+
"@hey-api/json-schema-ref-parser": "1.2.4",
|
|
66
|
+
"ansi-colors": "4.1.3",
|
|
67
|
+
"color-support": "1.1.3",
|
|
68
|
+
"commander": "14.0.3",
|
|
69
|
+
"@hey-api/codegen-core": "0.0.0-next-20260205083026",
|
|
70
|
+
"@hey-api/shared": "0.0.0-next-20260205083026",
|
|
71
|
+
"@hey-api/types": "0.1.3"
|
|
72
|
+
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"@angular/common": "19.2.17",
|
|
75
|
+
"@angular/compiler": "19.2.17",
|
|
76
|
+
"@angular/compiler-cli": "19.2.17",
|
|
77
|
+
"@angular/core": "19.2.17",
|
|
78
|
+
"@angular/platform-browser": "19.2.17",
|
|
79
|
+
"@angular/platform-browser-dynamic": "19.2.17",
|
|
80
|
+
"@angular/router": "19.2.17",
|
|
81
|
+
"axios": "1.13.2",
|
|
82
|
+
"eslint": "9.39.1",
|
|
83
|
+
"ky": "1.14.2",
|
|
84
|
+
"nuxt": "3.14.1592",
|
|
85
|
+
"ofetch": "1.5.1",
|
|
86
|
+
"rxjs": "7.8.2",
|
|
87
|
+
"typescript": "5.9.3",
|
|
88
|
+
"vue": "3.5.25",
|
|
89
|
+
"yaml": "2.8.2",
|
|
90
|
+
"zone.js": "0.16.0",
|
|
91
|
+
"@config/vite-base": "0.0.1"
|
|
92
|
+
},
|
|
93
|
+
"peerDependencies": {
|
|
94
|
+
"typescript": ">=5.5.3"
|
|
95
|
+
},
|
|
96
|
+
"engines": {
|
|
97
|
+
"node": ">=20.19.0"
|
|
98
|
+
},
|
|
99
|
+
"scripts": {
|
|
100
|
+
"build": "tsdown && pnpm check-exports",
|
|
101
|
+
"check-exports": "attw --pack . --profile esm-only --ignore-rules cjs-resolves-to-esm",
|
|
102
|
+
"dev": "tsdown --watch",
|
|
103
|
+
"test:coverage": "vitest run --coverage",
|
|
104
|
+
"test:update": "vitest watch --update",
|
|
105
|
+
"test:watch": "vitest watch",
|
|
106
|
+
"test": "vitest run",
|
|
107
|
+
"typecheck": "tsc --noEmit"
|
|
108
|
+
}
|
|
109
|
+
}
|