You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "AlinsRan (via GitHub)" <gi...@apache.org> on 2023/08/28 07:24:25 UTC

[GitHub] [apisix] AlinsRan commented on a diff in pull request #10072: feat: support pass json to wasm plugin

AlinsRan commented on code in PR #10072:
URL: https://github.com/apache/apisix/pull/10072#discussion_r1307013935


##########
apisix/wasm.lua:
##########
@@ -26,8 +26,14 @@ local schema = {
             type = "string",
             minLength = 1,
         },
+        setting = {
+            type = "object",
+        },
+    },
+    oneOf = {
+        {required = {"conf"}},
+        {required = {"setting"}},

Review Comment:
   https://github.com/apache/apisix/blob/master/apisix/schema_def.lua#L289



-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org