openapi-sdkgen 11.0.2 → 11.0.4
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/.releaseway/native.json +18 -18
- package/README.md +10 -12
- package/package.json +1 -1
package/.releaseway/native.json
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
{
|
|
2
2
|
"repository": "jinyongp/openapi-sdkgen",
|
|
3
|
-
"version": "11.0.
|
|
4
|
-
"tag": "v11.0.
|
|
3
|
+
"version": "11.0.4",
|
|
4
|
+
"tag": "v11.0.4",
|
|
5
5
|
"cacheEnv": "OPENAPI_SDKGEN_CACHE_DIR",
|
|
6
6
|
"targets": {
|
|
7
7
|
"darwin-arm64": {
|
|
8
|
-
"asset": "openapi-sdkgen_11.0.
|
|
8
|
+
"asset": "openapi-sdkgen_11.0.4_darwin_arm64.tar.gz",
|
|
9
9
|
"executable": "openapi-sdkgen",
|
|
10
|
-
"sha256": "
|
|
10
|
+
"sha256": "448e10c164d2918e99b3ea299f4cab02474bf29dff563b1a41478464e2f4875a"
|
|
11
11
|
},
|
|
12
12
|
"darwin-x64": {
|
|
13
|
-
"asset": "openapi-sdkgen_11.0.
|
|
13
|
+
"asset": "openapi-sdkgen_11.0.4_darwin_amd64.tar.gz",
|
|
14
14
|
"executable": "openapi-sdkgen",
|
|
15
|
-
"sha256": "
|
|
15
|
+
"sha256": "f7c2e098d29573e7fadc70795890ac0cf76eedd36d4b2b5be0e3684b0d782d48"
|
|
16
16
|
},
|
|
17
17
|
"linux-arm64-gnu": {
|
|
18
|
-
"asset": "openapi-sdkgen_11.0.
|
|
18
|
+
"asset": "openapi-sdkgen_11.0.4_linux_arm64.tar.gz",
|
|
19
19
|
"executable": "openapi-sdkgen",
|
|
20
|
-
"sha256": "
|
|
20
|
+
"sha256": "623f28fb833df370e3934d8a095087dd6cacce803ee9a8f658eb93eb492fab77"
|
|
21
21
|
},
|
|
22
22
|
"linux-arm64-musl": {
|
|
23
|
-
"asset": "openapi-sdkgen_11.0.
|
|
23
|
+
"asset": "openapi-sdkgen_11.0.4_linux_arm64.tar.gz",
|
|
24
24
|
"executable": "openapi-sdkgen",
|
|
25
|
-
"sha256": "
|
|
25
|
+
"sha256": "623f28fb833df370e3934d8a095087dd6cacce803ee9a8f658eb93eb492fab77"
|
|
26
26
|
},
|
|
27
27
|
"linux-x64-gnu": {
|
|
28
|
-
"asset": "openapi-sdkgen_11.0.
|
|
28
|
+
"asset": "openapi-sdkgen_11.0.4_linux_amd64.tar.gz",
|
|
29
29
|
"executable": "openapi-sdkgen",
|
|
30
|
-
"sha256": "
|
|
30
|
+
"sha256": "c2f5f46569537a9cd98f09da128567ec07826aa129d2b3cbf469eb32941386fd"
|
|
31
31
|
},
|
|
32
32
|
"linux-x64-musl": {
|
|
33
|
-
"asset": "openapi-sdkgen_11.0.
|
|
33
|
+
"asset": "openapi-sdkgen_11.0.4_linux_amd64.tar.gz",
|
|
34
34
|
"executable": "openapi-sdkgen",
|
|
35
|
-
"sha256": "
|
|
35
|
+
"sha256": "c2f5f46569537a9cd98f09da128567ec07826aa129d2b3cbf469eb32941386fd"
|
|
36
36
|
},
|
|
37
37
|
"win32-arm64": {
|
|
38
|
-
"asset": "openapi-sdkgen_11.0.
|
|
38
|
+
"asset": "openapi-sdkgen_11.0.4_windows_arm64.zip",
|
|
39
39
|
"executable": "openapi-sdkgen.exe",
|
|
40
|
-
"sha256": "
|
|
40
|
+
"sha256": "d1760eeecd1434809807fda778315e0d5b4f1b12adce0320b858d61f0b7aa695"
|
|
41
41
|
},
|
|
42
42
|
"win32-x64": {
|
|
43
|
-
"asset": "openapi-sdkgen_11.0.
|
|
43
|
+
"asset": "openapi-sdkgen_11.0.4_windows_amd64.zip",
|
|
44
44
|
"executable": "openapi-sdkgen.exe",
|
|
45
|
-
"sha256": "
|
|
45
|
+
"sha256": "59bfb2c72270dd5b84b2dbd74ce1e595197707381cf935df8b7da8ca75245ebc"
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
package/README.md
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
Generate application SDK source from OpenAPI 3.0, 3.1, and 3.2 documents.
|
|
4
4
|
The current release includes the `typescript` target.
|
|
5
5
|
|
|
6
|
+
Use Node.js 22+ and your own `openapi.yaml`. For a complete runnable example,
|
|
7
|
+
follow [Getting started](https://jinyongp.dev/openapi-sdkgen/guide/getting-started.html).
|
|
8
|
+
|
|
6
9
|
```sh
|
|
7
10
|
pnpm dlx openapi-sdkgen generate \
|
|
8
11
|
--input ./openapi.yaml \
|
|
@@ -14,19 +17,14 @@ The npm launcher requires Node.js 22 or newer. This requirement applies only to
|
|
|
14
17
|
the npm launcher; generated SDK source has its own runtime compatibility
|
|
15
18
|
contract.
|
|
16
19
|
|
|
17
|
-
The
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
archive/executable in a content-addressed user cache. Later runs reuse the
|
|
22
|
-
verified cache entry, so they do not require network access. Go is not required
|
|
23
|
-
by consumers.
|
|
20
|
+
The package downloads and verifies the matching native executable from the
|
|
21
|
+
same-version GitHub Release on first execution. The first run needs network
|
|
22
|
+
access; later runs reuse the verified cache and can work offline. Go is not
|
|
23
|
+
required.
|
|
24
24
|
|
|
25
25
|
Set `OPENAPI_SDKGEN_CACHE_DIR` to override the cache root, for example in an
|
|
26
|
-
isolated CI environment.
|
|
27
|
-
|
|
28
|
-
follows a moving `latest` release; the npm package version and GitHub Release
|
|
29
|
-
tag must match exactly.
|
|
26
|
+
isolated CI environment. The executable version always matches the installed
|
|
27
|
+
npm package version.
|
|
30
28
|
|
|
31
29
|
For command reference and generated SDK usage, see the
|
|
32
|
-
[project documentation](https://jinyongp.
|
|
30
|
+
[project documentation](https://jinyongp.dev/openapi-sdkgen/).
|