docs(emqx_bridge): add `start` as operation to bridge

This commit is contained in:
Stefan Strigler 2023-03-09 10:22:21 +01:00
parent cf73aacd7b
commit 7124600a71
1 changed files with 4 additions and 4 deletions

View File

@ -104,11 +104,11 @@ get_response_body_schema() ->
param_path_operation_cluster() -> param_path_operation_cluster() ->
{operation, {operation,
mk( mk(
enum([stop, restart]), enum([start, stop, restart]),
#{ #{
in => path, in => path,
required => true, required => true,
example => <<"restart">>, example => <<"start">>,
desc => ?DESC("desc_param_path_operation_cluster") desc => ?DESC("desc_param_path_operation_cluster")
} }
)}. )}.
@ -116,11 +116,11 @@ param_path_operation_cluster() ->
param_path_operation_on_node() -> param_path_operation_on_node() ->
{operation, {operation,
mk( mk(
enum([stop, restart]), enum([start, stop, restart]),
#{ #{
in => path, in => path,
required => true, required => true,
example => <<"stop">>, example => <<"start">>,
desc => ?DESC("desc_param_path_operation_on_node") desc => ?DESC("desc_param_path_operation_on_node")
} }
)}. )}.