leslie-tsang commented on code in PR #8758:
URL: https://github.com/apache/apisix/pull/8758#discussion_r1092026694
##########
docs/zh/latest/plugins/request-id.md:
##########
@@ -38,11 +38,13 @@ description: 本文介绍了 Apache APISIX request-id 插件的相关操作,
## 属性
-| 名称 | 类型 | 必选项 | 默认值 | 有效值 | 描述
|
-| ------------------- | ------- | -------- | -------------- | ------ |
------------------------------ |
-| header_name | string | 否 | "X-Request-Id" | |
unique ID 的请求头的名称。 |
-| include_in_response | boolean | 否 | true | |
当设置为 `true` 时,将 unique ID 加入返回头。 |
-| algorithm | string | 否 | "uuid" | ["uuid", "snowflake",
"nanoid"] | 指定的 unique ID 生成算法。 |
+| 名称 | 类型 | 必选项 | 默认值 | 有效值
| 描述 |
+| ------------------- | ------- | ------ | -------------- |
------------------------------- |
------------------------------------------------------ |
+| header_name | string | 否 | "X-Request-Id" |
| unique ID 的请求头的名称。 |
+| include_in_response | boolean | 否 | true |
| 当设置为 `true` 时,将 unique ID 加入返回头。 |
+| algorithm | string | 否 | "uuid" | ["uuid",
"snowflake", "nanoid"] | 指定的 unique ID 生成算法。 |
+| id_name | string | 否 | "req-id" |
| 获取unique ID时使用的参数名称。 |
+| get_from_query | boolean | 否 | false |
| 当设置为 `true` 时,将从query string里获取request ID。 |
Review Comment:
```suggestion
| header_name | string | 否 | "X-Request-Id" |
| unique ID 的请求头的名称。 |
| include_in_response | boolean | 否 | true |
| 当设置为 `true` 时,将 unique ID 加入返回头。 |
| algorithm | string | 否 | "uuid" | ["uuid",
"snowflake", "nanoid"] | 指定的 unique ID 生成算法。 |
| id_name | string | 否 | "req-id" |
| 获取 unique ID 时使用的参数名称。 |
| get_from_query | boolean | 否 | false |
| 当设置为 `true` 时,将从 query string 里获取 request ID。 |
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]