This is an automated email from the ASF dual-hosted git repository.
spacewander 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 dc6d987d1 feat: support export consumer group schema (#8600)
dc6d987d1 is described below
commit dc6d987d1827be4cd65fdc4cd29feea763897c4d
Author: levy liu <[email protected]>
AuthorDate: Wed Jan 4 13:38:04 2023 +0800
feat: support export consumer group schema (#8600)
---
apisix/control/v1.lua | 1 +
t/control/schema.t | 1 +
2 files changed, 2 insertions(+)
diff --git a/apisix/control/v1.lua b/apisix/control/v1.lua
index c6d1e0650..fd031a473 100644
--- a/apisix/control/v1.lua
+++ b/apisix/control/v1.lua
@@ -42,6 +42,7 @@ function _M.schema()
local schema = {
main = {
consumer = core.schema.consumer,
+ consumer_group = core.schema.consumer_group,
global_rule = core.schema.global_rule,
plugin_config = core.schema.plugin_config,
plugins = core.schema.plugins,
diff --git a/t/control/schema.t b/t/control/schema.t
index f3e9f7d62..349193831 100644
--- a/t/control/schema.t
+++ b/t/control/schema.t
@@ -50,6 +50,7 @@ __DATA__
[[{
"main": {
"consumer": {"type":"object"},
+ "consumer_group": {"type":"object"},
"global_rule": {"type":"object"},
"plugin_config": {"type":"object"},
"plugins": {"type":"array"},