docs(emqx_bridge): add `start` as operation to bridge
This commit is contained in:
parent
cf73aacd7b
commit
7124600a71
|
@ -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")
|
||||||
}
|
}
|
||||||
)}.
|
)}.
|
||||||
|
|
Loading…
Reference in New Issue