chore: only hiden root keys

This commit is contained in:
Zhongwen Deng 2023-04-13 14:22:13 +08:00
parent 17b2a62246
commit 4ba4c6bf62
1 changed files with 1 additions and 7 deletions

View File

@ -40,8 +40,7 @@ fields("auto_subscribe") ->
?ARRAY(?R_REF("topic")), ?ARRAY(?R_REF("topic")),
#{ #{
desc => ?DESC(auto_subscribe), desc => ?DESC(auto_subscribe),
default => [], default => []
importance => ?IMPORTANCE_HIDDEN
} }
)} )}
]; ];
@ -51,31 +50,26 @@ fields("topic") ->
?HOCON(binary(), #{ ?HOCON(binary(), #{
required => true, required => true,
example => topic_example(), example => topic_example(),
importance => ?IMPORTANCE_HIDDEN,
desc => ?DESC("topic") desc => ?DESC("topic")
})}, })},
{qos, {qos,
?HOCON(emqx_schema:qos(), #{ ?HOCON(emqx_schema:qos(), #{
default => 0, default => 0,
importance => ?IMPORTANCE_HIDDEN,
desc => ?DESC("qos") desc => ?DESC("qos")
})}, })},
{rh, {rh,
?HOCON(range(0, 2), #{ ?HOCON(range(0, 2), #{
default => 0, default => 0,
importance => ?IMPORTANCE_HIDDEN,
desc => ?DESC("rh") desc => ?DESC("rh")
})}, })},
{rap, {rap,
?HOCON(range(0, 1), #{ ?HOCON(range(0, 1), #{
default => 0, default => 0,
importance => ?IMPORTANCE_HIDDEN,
desc => ?DESC("rap") desc => ?DESC("rap")
})}, })},
{nl, {nl,
?HOCON(range(0, 1), #{ ?HOCON(range(0, 1), #{
default => 0, default => 0,
importance => ?IMPORTANCE_HIDDEN,
desc => ?DESC(nl) desc => ?DESC(nl)
})} })}
]. ].