spacewander commented on a change in pull request #4805: URL: https://github.com/apache/apisix/pull/4805#discussion_r686707122
##########
File path: docs/zh/latest/admin-api.md
##########
@@ -85,7 +85,7 @@ Admin API 是为 Apache APISIX 服务的一组 API,我们可以将参数传递
| name | 可选 | 辅助 | 标识路由名称
| route-xxxx |
| desc | 可选 | 辅助 | 标识描述、使用场景等。
| 路由 xxxx |
| host | 可选,不能与 `hosts` 一起使用 | 匹配规则 | 当前请求域名,比如
`foo.com`;也支持泛域名,比如 `*.foo.com`。
|
"foo.com" |
-| hosts | 可选,不能与 `host` 一起使用 | 匹配规则 | 非空列表形态的
`host`,表示允许有多个不同 `host`,匹配其中任意一个即可。
|
{"foo.com", "\*.bar.com"} |
+| hosts | 可选,不能与 `host` 一起使用 | 匹配规则 | 非空列表形态的
`host`,表示允许有多个不同 `host`,匹配其中任意一个即可。
|
["foo.com", "\*.bar.com"] |
Review comment:
Could you also update other fields like `vars`, and the English version:
`docs/en/latest/admin-api.md`?
Thanks!
--
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]
