Skip to content

Commit fda9c00

Browse files
committed
docs: add request option to keq-cli configuration
1 parent 928a292 commit fda9c00

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

  • i18n/en/docusaurus-plugin-content-docs/version-v2/6.libraries
  • versioned_docs/version-v2/6.libraries

i18n/en/docusaurus-plugin-content-docs/version-v2/6.libraries/keq-cli.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ You can specify the configuration file location with `-c --config <config_file_p
304304
| operationIdFactory | false | `({ operation }) => operation.operationId` | Custom function name generation rules, defaults to using `operationId` from swagger document |
305305
| strict | false | `false` | Whether to clear the output directory |
306306
| esm | false | `false` | Whether to generate ESM-style code |
307+
| request | false | - | File path to custom [`export const request = createRequest()`](../middleware#createrequest) |
307308

308309
### FileNamingStyle
309310

versioned_docs/version-v2/6.libraries/keq-cli.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ request
307307
| operationIdFactory | false | `({ operation }) => operation.operationId` | 自定义函数名的生成规则,默认使用 `swagger` 文件中的 `operationId` |
308308
| strict | false | `false` | 是否清空输出目录 |
309309
| esm | false | `false` | 是否生成 ESM 风格的代码 |
310+
| request | false | - | 使用自定义的 [`export const request = createRequest()`](../middleware#createrequest) 的文件路径 |
310311

311312
### FileNamingStyle
312313

0 commit comments

Comments
 (0)