File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ await client.user.getUsersById(opts);
216
216
``` json
217
217
{
218
218
"paths" : {
219
- "/client/users" : {
219
+ "/some/ client/users" : {
220
220
"get" : {
221
221
"operationId" : " List_users" ,
222
222
"parameters" : [],
@@ -227,7 +227,7 @@ await client.user.getUsersById(opts);
227
227
}
228
228
```
229
229
230
- 1 . 如果以 ` method+uri ` 的形式生成,则效果为:` openapi.getClientUsers () `
230
+ 1 . 如果以 ` method+uri ` 的形式生成,则效果为:` openapi.getSomeClientUsers () `
231
231
2 . 如果以 ` operationId ` 的形式生成,则效果为:` openapi.listUsers() `
232
232
233
233
** 注意** :如果operationId字段不存在,则仍以` method+uri ` 的规则生成
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export interface OpenapiClientConfig {
50
50
* ```json
51
51
* {
52
52
* "paths": {
53
- * "/client/users": {
53
+ * "/some/ client/users": {
54
54
* "get": {
55
55
* "operationId": "List_users",
56
56
* "parameters": [],
@@ -60,7 +60,7 @@ export interface OpenapiClientConfig {
60
60
* }
61
61
* }
62
62
* ```
63
- * 1. 如果以 `method+uri` 的形式生成,则效果为:`openapi.getClientUsers ()`
63
+ * 1. 如果以 `method+uri` 的形式生成,则效果为:`openapi.getSomeClientUsers ()`
64
64
* 2. 如果以 `operationId` 的形式生成,则效果为:`openapi.listUsers()`
65
65
*
66
66
* 注意:如果operationId字段不存在,则仍以`method+uri`的规则生成
You can’t perform that action at this time.
0 commit comments