diff --git a/apps/emqx_management/src/emqx_mgmt_api_configs.erl b/apps/emqx_management/src/emqx_mgmt_api_configs.erl index 4769d42f5..46012e755 100644 --- a/apps/emqx_management/src/emqx_mgmt_api_configs.erl +++ b/apps/emqx_management/src/emqx_mgmt_api_configs.erl @@ -105,9 +105,11 @@ schema("/configs_reset/:rootname") -> post => #{ tags => [conf], description => - <<"Reset the config entry specified by the query string parameter `conf_path`.
\n" - "- For a config entry that has default value, this resets it to the default value;\n" - "- For a config entry that has no default value, an error 400 will be returned">>, + << + "Reset the config entry specified by the query string parameter `conf_path`.
\n" + "- For a config entry that has default value, this resets it to the default value;\n" + "- For a config entry that has no default value, an error 400 will be returned" + >>, %% We only return "200" rather than the new configs that has been changed, as %% the schema of the changed configs is depends on the request parameter %% `conf_path`, it cannot be defined here.