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.
@@ -1,48 +1,48 @@
1
1
  {
2
2
  "repository": "jinyongp/openapi-sdkgen",
3
- "version": "11.0.2",
4
- "tag": "v11.0.2",
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.2_darwin_arm64.tar.gz",
8
+ "asset": "openapi-sdkgen_11.0.4_darwin_arm64.tar.gz",
9
9
  "executable": "openapi-sdkgen",
10
- "sha256": "d47f8cb95332d902a9ec294dfc7071db032c71ffd42e70e2bd48e17854fe0ed0"
10
+ "sha256": "448e10c164d2918e99b3ea299f4cab02474bf29dff563b1a41478464e2f4875a"
11
11
  },
12
12
  "darwin-x64": {
13
- "asset": "openapi-sdkgen_11.0.2_darwin_amd64.tar.gz",
13
+ "asset": "openapi-sdkgen_11.0.4_darwin_amd64.tar.gz",
14
14
  "executable": "openapi-sdkgen",
15
- "sha256": "a6e74e925a5701966fcca30cd2b15d9bc639d15df489e8c06325fcb71c294aff"
15
+ "sha256": "f7c2e098d29573e7fadc70795890ac0cf76eedd36d4b2b5be0e3684b0d782d48"
16
16
  },
17
17
  "linux-arm64-gnu": {
18
- "asset": "openapi-sdkgen_11.0.2_linux_arm64.tar.gz",
18
+ "asset": "openapi-sdkgen_11.0.4_linux_arm64.tar.gz",
19
19
  "executable": "openapi-sdkgen",
20
- "sha256": "acc01c8c3a2d8ccdaccd0d4cb901d9b9d5af9212a7b7cf751d6f85d5ff30ca7e"
20
+ "sha256": "623f28fb833df370e3934d8a095087dd6cacce803ee9a8f658eb93eb492fab77"
21
21
  },
22
22
  "linux-arm64-musl": {
23
- "asset": "openapi-sdkgen_11.0.2_linux_arm64.tar.gz",
23
+ "asset": "openapi-sdkgen_11.0.4_linux_arm64.tar.gz",
24
24
  "executable": "openapi-sdkgen",
25
- "sha256": "acc01c8c3a2d8ccdaccd0d4cb901d9b9d5af9212a7b7cf751d6f85d5ff30ca7e"
25
+ "sha256": "623f28fb833df370e3934d8a095087dd6cacce803ee9a8f658eb93eb492fab77"
26
26
  },
27
27
  "linux-x64-gnu": {
28
- "asset": "openapi-sdkgen_11.0.2_linux_amd64.tar.gz",
28
+ "asset": "openapi-sdkgen_11.0.4_linux_amd64.tar.gz",
29
29
  "executable": "openapi-sdkgen",
30
- "sha256": "feae801cbf06bc7fe6998f6c60de7d3c690751c02ef7a061cbc00989fa764818"
30
+ "sha256": "c2f5f46569537a9cd98f09da128567ec07826aa129d2b3cbf469eb32941386fd"
31
31
  },
32
32
  "linux-x64-musl": {
33
- "asset": "openapi-sdkgen_11.0.2_linux_amd64.tar.gz",
33
+ "asset": "openapi-sdkgen_11.0.4_linux_amd64.tar.gz",
34
34
  "executable": "openapi-sdkgen",
35
- "sha256": "feae801cbf06bc7fe6998f6c60de7d3c690751c02ef7a061cbc00989fa764818"
35
+ "sha256": "c2f5f46569537a9cd98f09da128567ec07826aa129d2b3cbf469eb32941386fd"
36
36
  },
37
37
  "win32-arm64": {
38
- "asset": "openapi-sdkgen_11.0.2_windows_arm64.zip",
38
+ "asset": "openapi-sdkgen_11.0.4_windows_arm64.zip",
39
39
  "executable": "openapi-sdkgen.exe",
40
- "sha256": "e9d7ac0db8616de241325d36935504e8c19456df70780aa84693f400a13e473b"
40
+ "sha256": "d1760eeecd1434809807fda778315e0d5b4f1b12adce0320b858d61f0b7aa695"
41
41
  },
42
42
  "win32-x64": {
43
- "asset": "openapi-sdkgen_11.0.2_windows_amd64.zip",
43
+ "asset": "openapi-sdkgen_11.0.4_windows_amd64.zip",
44
44
  "executable": "openapi-sdkgen.exe",
45
- "sha256": "e1d1b11e37b0461b1a87a953fe303b791894b303634a9d9482daed56d5ddfa71"
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 npm package is a small Releaseway-generated JavaScript launcher. On the
18
- first run it selects the declared native target, downloads the matching archive
19
- from that exact version's immutable GitHub Release, verifies the GitHub SHA-256
20
- digest, safely extracts only the configured executable, and stores the verified
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. That product-specific environment contract is
27
- preserved through the pinned Releaseway native runtime. The launcher never
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.github.io/openapi-sdkgen/).
30
+ [project documentation](https://jinyongp.dev/openapi-sdkgen/).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openapi-sdkgen",
3
- "version": "11.0.2",
3
+ "version": "11.0.4",
4
4
  "description": "Generate application SDK source from OpenAPI documents.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",