fix(mgmt): better desc for fuzzy field
This commit is contained in:
parent
fab9ad91de
commit
f8073002b6
|
@ -397,7 +397,6 @@ to_integer(B) when is_binary(B) ->
|
|||
to_timestamp(I) when is_integer(I) ->
|
||||
I;
|
||||
to_timestamp(B) when is_binary(B) ->
|
||||
|
||||
binary_to_integer(B).
|
||||
|
||||
aton(B) when is_binary(B) ->
|
||||
|
|
|
@ -129,11 +129,11 @@ schema("/clients") ->
|
|||
{like_clientid, hoconsc:mk(binary(), #{
|
||||
in => query,
|
||||
required => false,
|
||||
desc => <<"Fuzzy search of client identifier by substring method">>})},
|
||||
desc => <<"Fuzzy search `clientid` as substring">>})},
|
||||
{like_username, hoconsc:mk(binary(), #{
|
||||
in => query,
|
||||
required => false,
|
||||
desc => <<"Client user name, fuzzy search by substring">>})},
|
||||
desc => <<"Fuzzy search `username` as substring">>})},
|
||||
{gte_created_at, hoconsc:mk(emqx_datetime:epoch_millisecond(), #{
|
||||
in => query,
|
||||
required => false,
|
||||
|
|
Loading…
Reference in New Issue