openapi-ts-request 0.4.2 → 0.4.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.
Files changed (2) hide show
  1. package/README.md +8 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -20,8 +20,10 @@
20
20
  ## 使用
21
21
 
22
22
  ```bash
23
+ # npm
23
24
  npm i openapi-ts-request --save-dev
24
25
 
26
+ # pnpm
25
27
  pnpm i openapi-ts-request -D
26
28
  ```
27
29
 
@@ -103,8 +105,12 @@ npm run openapi
103
105
 
104
106
  ### NPX
105
107
 
106
- ```
107
- npx openapi-ts-request openapi -i ./openapi.json -o ./apis
108
+ ```bash
109
+ # npm
110
+ npx --package=openapi-ts-request -- openapi -i ./openapi.json -o ./apis
111
+
112
+ # pnpm
113
+ pnpm --package=openapi-ts-request dlx openapi -i ./openapi.json -o ./apis
108
114
  ```
109
115
 
110
116
  ### CLI
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openapi-ts-request",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Swagger2/OpenAPI3 to TypeScript, request client, request mock service, enum, type field label, JSON Schemas",
5
5
  "repository": {
6
6
  "type": "git",