You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README-en_US.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,8 @@ pnpm i openapi-ts-request -D
27
27
28
28
### CosmiConfig
29
29
30
-
create ```openapi-ts-request.config.ts``` file in the project root directory
31
-
> the config file also supports ***.openapi-ts-request.ts***, ***openapi-ts-request.config.cjs*** format, reference [cosmiconfig](https://github.com/cosmiconfig/cosmiconfig?tab=readme-ov-file#cosmiconfig)
30
+
create ```openapi-ts.config.ts``` file in the project root directory
31
+
> the config file also supports ***.openapi-ts.ts***, ***openapi-ts.config.cjs*** format, reference [cosmiconfig](https://github.com/cosmiconfig/cosmiconfig?tab=readme-ov-file#cosmiconfig)
32
32
33
33
```ts
34
34
exportdefault {
@@ -51,7 +51,7 @@ export default [
51
51
]
52
52
```
53
53
54
-
add the command in ```script``` of ```package.json```: ```"openapi": "openapi-ts-request",```
54
+
add the command in ```script``` of ```package.json```: ```"openapi": "openapi-ts",```
55
55
56
56
generate result:
57
57
@@ -61,7 +61,7 @@ npm run openapi
61
61
62
62
### JS
63
63
64
-
create a new ```openapi-ts-request.config.js``` file in any directory ```xxx/xxx```
64
+
create a new ```openapi-ts.config.js``` file in any directory ```xxx/xxx```
0 commit comments