fix(client mgmt api): hide unused return type
Fixes https://emqx.atlassian.net/browse/EMQX-12427
This commit is contained in:
parent
118c1d2806
commit
b1e3c941fb
|
@ -141,14 +141,16 @@ schema("/clients_v2") ->
|
||||||
parameters => fields(list_clients_v2_inputs),
|
parameters => fields(list_clients_v2_inputs),
|
||||||
responses => #{
|
responses => #{
|
||||||
200 =>
|
200 =>
|
||||||
emqx_dashboard_swagger:schema_with_example(?R_REF(list_clients_v2_response), #{
|
%% TODO: unhide after API is ready
|
||||||
<<"data">> => [client_example()],
|
%% emqx_dashboard_swagger:schema_with_example(?R_REF(list_clients_v2_response), #{
|
||||||
<<"meta">> => #{
|
%% <<"data">> => [client_example()],
|
||||||
<<"count">> => 1,
|
%% <<"meta">> => #{
|
||||||
<<"cursor">> => <<"g2wAAAADYQFhAm0AAAACYzJq">>,
|
%% <<"count">> => 1,
|
||||||
<<"hasnext">> => true
|
%% <<"cursor">> => <<"g2wAAAADYQFhAm0AAAACYzJq">>,
|
||||||
}
|
%% <<"hasnext">> => true
|
||||||
}),
|
%% }
|
||||||
|
%% }),
|
||||||
|
emqx_dashboard_swagger:schema_with_example(map(), #{}),
|
||||||
400 =>
|
400 =>
|
||||||
emqx_dashboard_swagger:error_codes(
|
emqx_dashboard_swagger:error_codes(
|
||||||
['INVALID_PARAMETER'], <<"Invalid parameters">>
|
['INVALID_PARAMETER'], <<"Invalid parameters">>
|
||||||
|
|
Loading…
Reference in New Issue