feat: translate map to object in schema.json
This commit is contained in:
parent
82a54b17fa
commit
07933e3638
|
@ -1,6 +1,6 @@
|
|||
{application, emqx_conf, [
|
||||
{description, "EMQX configuration management"},
|
||||
{vsn, "0.1.2"},
|
||||
{vsn, "0.1.3"},
|
||||
{registered, []},
|
||||
{mod, {emqx_conf_app, []}},
|
||||
{applications, [kernel, stdlib]},
|
||||
|
|
|
@ -399,6 +399,10 @@ typename_to_spec("failure_strategy()", _Mod) ->
|
|||
#{type => enum, symbols => [force, drop, throw]};
|
||||
typename_to_spec("initial()", _Mod) ->
|
||||
#{type => string};
|
||||
typename_to_spec("map()", _Mod) ->
|
||||
#{type => object};
|
||||
typename_to_spec("#{" ++ _, Mod) ->
|
||||
typename_to_spec("map()", Mod);
|
||||
typename_to_spec(Name, Mod) ->
|
||||
Spec = range(Name),
|
||||
Spec1 = remote_module_type(Spec, Name, Mod),
|
||||
|
|
Loading…
Reference in New Issue