chore: add namespace to bridge schema
This commit is contained in:
parent
b163fce35b
commit
5458490bc3
|
@ -4,10 +4,12 @@
|
|||
|
||||
-import(hoconsc, [mk/2, enum/1]).
|
||||
|
||||
-export([roots/0, fields/1]).
|
||||
-export([roots/0, fields/1, namespace/0]).
|
||||
|
||||
%%======================================================================================
|
||||
%% Hocon Schema Definitions
|
||||
namespace() -> "bridge".
|
||||
|
||||
roots() -> [].
|
||||
|
||||
fields("config") ->
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
-import(hoconsc, [mk/2, ref/2]).
|
||||
|
||||
-export([roots/0, fields/1]).
|
||||
-export([roots/0, fields/1, namespace/0]).
|
||||
|
||||
-export([ get_response/0
|
||||
, put_request/0
|
||||
|
@ -80,6 +80,9 @@ direction_field(Dir, Desc) ->
|
|||
|
||||
%%======================================================================================
|
||||
%% For config files
|
||||
|
||||
namespace() -> "bridge".
|
||||
|
||||
roots() -> [bridges].
|
||||
|
||||
fields(bridges) ->
|
||||
|
|
Loading…
Reference in New Issue