From 4ba4c6bf6219f419941b18961aebbcffca633946 Mon Sep 17 00:00:00 2001 From: Zhongwen Deng Date: Thu, 13 Apr 2023 14:22:13 +0800 Subject: [PATCH] chore: only hiden root keys --- .../src/emqx_auto_subscribe_schema.erl | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/emqx_auto_subscribe/src/emqx_auto_subscribe_schema.erl b/apps/emqx_auto_subscribe/src/emqx_auto_subscribe_schema.erl index e6eea2b74..98f32c8a4 100644 --- a/apps/emqx_auto_subscribe/src/emqx_auto_subscribe_schema.erl +++ b/apps/emqx_auto_subscribe/src/emqx_auto_subscribe_schema.erl @@ -40,8 +40,7 @@ fields("auto_subscribe") -> ?ARRAY(?R_REF("topic")), #{ desc => ?DESC(auto_subscribe), - default => [], - importance => ?IMPORTANCE_HIDDEN + default => [] } )} ]; @@ -51,31 +50,26 @@ fields("topic") -> ?HOCON(binary(), #{ required => true, example => topic_example(), - importance => ?IMPORTANCE_HIDDEN, desc => ?DESC("topic") })}, {qos, ?HOCON(emqx_schema:qos(), #{ default => 0, - importance => ?IMPORTANCE_HIDDEN, desc => ?DESC("qos") })}, {rh, ?HOCON(range(0, 2), #{ default => 0, - importance => ?IMPORTANCE_HIDDEN, desc => ?DESC("rh") })}, {rap, ?HOCON(range(0, 1), #{ default => 0, - importance => ?IMPORTANCE_HIDDEN, desc => ?DESC("rap") })}, {nl, ?HOCON(range(0, 1), #{ default => 0, - importance => ?IMPORTANCE_HIDDEN, desc => ?DESC(nl) })} ].