diff --git a/apps/emqx_management/src/emqx_mgmt_api_configs.erl b/apps/emqx_management/src/emqx_mgmt_api_configs.erl index 2b6e67f7f..21febd865 100644 --- a/apps/emqx_management/src/emqx_mgmt_api_configs.erl +++ b/apps/emqx_management/src/emqx_mgmt_api_configs.erl @@ -57,7 +57,8 @@ <<"delayed">>, <<"event_message">>, <<"prometheus">>, - <<"telemetry">> + <<"telemetry">>, + <<"sys_topics">> ] ++ global_zone_roots() ). diff --git a/apps/emqx_management/src/emqx_mgmt_api_sys.erl b/apps/emqx_management/src/emqx_mgmt_api_sys.erl index f02a25cbb..683b00149 100644 --- a/apps/emqx_management/src/emqx_mgmt_api_sys.erl +++ b/apps/emqx_management/src/emqx_mgmt_api_sys.erl @@ -76,7 +76,7 @@ schema("/mqtt/sys_topics") -> }. schema_sys_topics() -> - emqx_dashboard_swagger:schema_with_examples( + emqx_dashboard_swagger:schema_with_example( hoconsc:ref(emqx_schema, "sys_topics"), example_sys_topics()). example_sys_topics() ->