fix(schema): description should be in binary() type

This commit is contained in:
zmstone 2024-04-29 20:50:37 +02:00
parent 1e64e531f0
commit 9917293fd0
1 changed files with 2 additions and 2 deletions

View File

@ -1876,7 +1876,7 @@ base_listener(Bind) ->
)} )}
] ++ emqx_limiter_schema:short_paths_fields(). ] ++ emqx_limiter_schema:short_paths_fields().
%% @hidden Starting from 5.7, listenrs.{TYPE}.{NAME}.zone is no longer hidden %% @hidden Starting from 5.7, listeners.{TYPE}.{NAME}.zone is no longer hidden
%% However, the root key 'zones' is still hidden because the fields' schema %% However, the root key 'zones' is still hidden because the fields' schema
%% just repeat other root field's schema, which makes the dumped schema doc %% just repeat other root field's schema, which makes the dumped schema doc
%% unnecessarily bloated. %% unnecessarily bloated.
@ -3721,7 +3721,7 @@ default_mem_check_interval() ->
description_schema() -> description_schema() ->
sc( sc(
string(), binary(),
#{ #{
default => <<"">>, default => <<"">>,
desc => ?DESC(description), desc => ?DESC(description),