File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 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);
216216``` json
217217{
218218 "paths" : {
219- "/client/users" : {
219+ "/some/ client/users" : {
220220 "get" : {
221221 "operationId" : " List_users" ,
222222 "parameters" : [],
@@ -227,7 +227,7 @@ await client.user.getUsersById(opts);
227227}
228228```
229229
230- 1 . 如果以 ` method+uri ` 的形式生成,则效果为:` openapi.getClientUsers () `
230+ 1 . 如果以 ` method+uri ` 的形式生成,则效果为:` openapi.getSomeClientUsers () `
2312312 . 如果以 ` operationId ` 的形式生成,则效果为:` openapi.listUsers() `
232232
233233** 注意** :如果operationId字段不存在,则仍以` method+uri ` 的规则生成
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export interface OpenapiClientConfig {
5050 * ```json
5151 * {
5252 * "paths": {
53- * "/client/users": {
53+ * "/some/ client/users": {
5454 * "get": {
5555 * "operationId": "List_users",
5656 * "parameters": [],
@@ -60,7 +60,7 @@ export interface OpenapiClientConfig {
6060 * }
6161 * }
6262 * ```
63- * 1. 如果以 `method+uri` 的形式生成,则效果为:`openapi.getClientUsers ()`
63+ * 1. 如果以 `method+uri` 的形式生成,则效果为:`openapi.getSomeClientUsers ()`
6464 * 2. 如果以 `operationId` 的形式生成,则效果为:`openapi.listUsers()`
6565 *
6666 * 注意:如果operationId字段不存在,则仍以`method+uri`的规则生成
You can’t perform that action at this time.
0 commit comments