You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by mo...@apache.org on 2023/10/12 07:51:00 UTC

[apisix] branch master updated: fix: add name field in plugin_config schema for consistenct (#10315)

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

monkeydluffy 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 d753bfc93 fix: add name field in plugin_config schema for consistenct (#10315)
d753bfc93 is described below

commit d753bfc93a095fde34fea32abd3db17df2e2ed6a
Author: Ashish Tiwari <as...@gmail.com>
AuthorDate: Thu Oct 12 13:20:52 2023 +0530

    fix: add name field in plugin_config schema for consistenct (#10315)
---
 apisix/schema_def.lua | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/apisix/schema_def.lua b/apisix/schema_def.lua
index cec1c53b3..8413beda7 100644
--- a/apisix/schema_def.lua
+++ b/apisix/schema_def.lua
@@ -949,6 +949,9 @@ _M.plugins = {
 _M.plugin_config = {
     type = "object",
     properties = {
+        name = {
+            type = "string",
+        },
         id = id_schema,
         desc = desc_def,
         plugins = plugins_schema,