This is an automated email from the ASF dual-hosted git repository.

baoyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 068ba3bcb docs: the configuration type of the WASM plugin can be an 
object. (#12251)
068ba3bcb is described below

commit 068ba3bcbee1ede96efeb3452b22857f28e5fd8e
Author: xuruidong <xuruid...@gmail.com>
AuthorDate: Mon May 26 09:35:04 2025 +0800

    docs: the configuration type of the WASM plugin can be an object. (#12251)
---
 docs/en/latest/wasm.md | 2 +-
 docs/zh/latest/wasm.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/en/latest/wasm.md b/docs/en/latest/wasm.md
index f8bda3da6..306d0b82f 100644
--- a/docs/en/latest/wasm.md
+++ b/docs/en/latest/wasm.md
@@ -102,7 +102,7 @@ Attributes below can be configured in the plugin:
 
 | Name           | Type                 | Requirement | Default        | Valid 
                                                                     | 
Description                                                                     
                                                                    |
 | --------------------------------------| ------------| -------------- | 
-------- | --------------------------------------------------------------- | 
---------------------------------------------------------------------------------------------------------------------------------------------------
 |
-|  conf         | string | required |   |  != ""      | the plugin ctx 
configuration which can be fetched via Proxy Wasm SDK |
+|  conf         | string or object | required |   |  != "" and != {}     | the 
plugin ctx configuration which can be fetched via Proxy Wasm SDK |
 
 Here is the mapping between Proxy Wasm callbacks and APISIX's phases:
 
diff --git a/docs/zh/latest/wasm.md b/docs/zh/latest/wasm.md
index d387050f8..ef8ce0cf8 100644
--- a/docs/zh/latest/wasm.md
+++ b/docs/zh/latest/wasm.md
@@ -63,7 +63,7 @@ curl -i http://127.0.0.1:9180/apisix/admin/routes/1 -H 
"X-API-KEY: $admin_key" -
 
 |名称 | 类型 | 要求 | 默认 | 有效 | 描述|
 |---|---|---|---|---|---|
-|conf|字符串 | 必填 | 无 | 不得为空 |插件 ctx 配置,可以通过 Proxy Wasm SDK 获取|
+|conf|字符串或结构体 | 必填 | 无 | 不得为空 |插件 ctx 配置,可以通过 Proxy Wasm SDK 获取|
 
 这里是 Proxy Wasm 回调与 APISIX 阶段的映射:
 

Reply via email to