chore: expose schema of plugin_config via control API (#3701)

This commit is contained in:
nic-chen 2021-03-01 08:32:02 +08:00 committed by GitHub
parent 6731ca1483
commit d8154da601
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ function _M.schema()
main = {
consumer = core.schema.consumer,
global_rule = core.schema.global_rule,
plugin_config = core.schema.plugin_config,
plugins = core.schema.plugins,
proto = core.schema.proto,
route = core.schema.route,

View File

@ -51,6 +51,7 @@ __DATA__
"main": {
"consumer": {"type":"object"},
"global_rule": {"type":"object"},
"plugin_config": {"type":"object"},
"plugins": {"type":"array"},
"proto": {"type":"object"},
"route": {"type":"object"},