Skip to content

Commit

Permalink
Merge pull request #12951 from zmstone/0429-fix-description-schema
Browse files Browse the repository at this point in the history
fix(schema): description should be in binary() type
  • Loading branch information
zmstone committed Apr 30, 2024
2 parents 7e7ae92 + 9917293 commit a88862e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/emqx/src/emqx_schema.erl
Expand Up @@ -1876,7 +1876,7 @@ base_listener(Bind) ->
)}
] ++ 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
%% just repeat other root field's schema, which makes the dumped schema doc
%% unnecessarily bloated.
Expand Down Expand Up @@ -3721,7 +3721,7 @@ default_mem_check_interval() ->

description_schema() ->
sc(
string(),
binary(),
#{
default => <<"">>,
desc => ?DESC(description),
Expand Down

0 comments on commit a88862e

Please sign in to comment.