mirror of
https://gitee.com/iresty/apisix.git
synced 2024-12-04 21:17:36 +08:00
chore: expose more schema via control API (#3127)
This commit is contained in:
parent
86fa46d85b
commit
baf8a26cea
@ -33,6 +33,8 @@ function _M.schema()
|
||||
ssl = core.schema.ssl,
|
||||
stream_route = core.schema.stream_route,
|
||||
upstream = core.schema.upstream,
|
||||
upstream_hash_header_schema = core.schema.upstream_hash_header_schema,
|
||||
upstream_hash_vars_schema = core.schema.upstream_hash_vars_schema,
|
||||
},
|
||||
plugins = plugin.get_all({
|
||||
version = true,
|
||||
|
@ -57,7 +57,9 @@ __DATA__
|
||||
"service": {"type":"object"},
|
||||
"ssl": {"type":"object"},
|
||||
"stream_route": {"type":"object"},
|
||||
"upstream": {"type":"object"}
|
||||
"upstream": {"type":"object"},
|
||||
"upstream_hash_header_schema": {"type":"string"},
|
||||
"upstream_hash_vars_schema": {"type":"string"},
|
||||
},
|
||||
"plugins": {
|
||||
"example-plugin": {
|
||||
|
Loading…
Reference in New Issue
Block a user