|
|
@@ -105,9 +105,11 @@ schema("/configs_reset/:rootname") ->
|
|
|
post => #{
|
|
|
tags => [conf],
|
|
|
description =>
|
|
|
- <<"Reset the config entry specified by the query string parameter `conf_path`.<br/>\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`.<br/>\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.
|