fix(api-docs): add file-transfer config to hot-config scope

This commit is contained in:
Zaiming (Stone) Shi 2023-10-09 09:58:20 +02:00
parent 2c7e5eb1cb
commit 808237364c
2 changed files with 10 additions and 1 deletions

View File

@ -2,7 +2,7 @@
{application, emqx_management, [ {application, emqx_management, [
{description, "EMQX Management API and CLI"}, {description, "EMQX Management API and CLI"},
% strict semver, bump manually! % strict semver, bump manually!
{vsn, "5.0.31"}, {vsn, "5.0.32"},
{modules, []}, {modules, []},
{registered, [emqx_management_sup]}, {registered, [emqx_management_sup]},
{applications, [kernel, stdlib, emqx_plugins, minirest, emqx, emqx_ctl, emqx_bridge_http]}, {applications, [kernel, stdlib, emqx_plugins, minirest, emqx, emqx_ctl, emqx_bridge_http]},

View File

@ -38,12 +38,21 @@
-define(OPTS, #{rawconf_with_defaults => true, override_to => cluster}). -define(OPTS, #{rawconf_with_defaults => true, override_to => cluster}).
-define(TAGS, ["Configs"]). -define(TAGS, ["Configs"]).
-if(?EMQX_RELEASE_EDITION == ee).
-define(ROOT_KEYS_EE, [
<<"file_transfer">>
]).
-else.
-define(ROOT_KEYS_EE, []).
-endif.
-define(ROOT_KEYS, [ -define(ROOT_KEYS, [
<<"dashboard">>, <<"dashboard">>,
<<"alarm">>, <<"alarm">>,
<<"sys_topics">>, <<"sys_topics">>,
<<"sysmon">>, <<"sysmon">>,
<<"log">> <<"log">>
| ?ROOT_KEYS_EE
]). ]).
%% erlfmt-ignore %% erlfmt-ignore