Skip to content

Commit 2d6c614

Browse files
Update docs/zh/latest/plugins/opa.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d1fae12 commit 2d6c614

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/zh/latest/plugins/opa.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ description: 本篇文档介绍了 Apache APISIX 通过 opa 插件与 Open Polic
8686
以下是各个键的说明:
8787

8888
- `type` 表示请求类型(`http``stream`).
89-
- `request``type``http` 时使用,包含基本请求信息(URL、头信息等).
89+
- `request``type``http` 时使用,包含基本请求信息(URL、头信息等)
9090
- `var` 包含请求连接的基本信息(IP、端口、请求时间戳等)。
91-
- `body` 包含请求的 HTTP 主体。
91+
- `request.body` 包含请求的 HTTP 主体:当请求体为空时该字段可能不存在;当请求体为 JSON 时,该字段为解析后的 JSON 值;当请求体为非 JSON 时,该字段为原始字符串
9292
- `route``service``consumer` 包含 APISIX 中存储的相同数据,且仅在 `opa` 插件配置在这些对象上时发送。
9393

9494
### OPA 向 APISIX 返回数据

0 commit comments

Comments
 (0)