فهرست منبع

docs(connector): better namespace for http schema

Zaiming (Stone) Shi 4 سال پیش
والد
کامیت
7d36079f0a
1فایلهای تغییر یافته به همراه6 افزوده شده و 1 حذف شده
  1. 6 1
      apps/emqx_connector/src/emqx_connector_http.erl

+ 6 - 1
apps/emqx_connector/src/emqx_connector_http.erl

@@ -36,7 +36,9 @@
 
 
 -export([ roots/0
 -export([ roots/0
         , fields/1
         , fields/1
-        , validations/0]).
+        , validations/0
+        , namespace/0
+        ]).
 
 
 -export([ check_ssl_opts/2
 -export([ check_ssl_opts/2
         ]).
         ]).
@@ -50,6 +52,9 @@
 
 
 %%=====================================================================
 %%=====================================================================
 %% Hocon schema
 %% Hocon schema
+
+namespace() -> "connector-http".
+
 roots() ->
 roots() ->
     fields(config).
     fields(config).