zhouzb 4 лет назад
Родитель
Сommit
564896d64a
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      apps/emqx_authn/src/emqx_authn_api.erl

+ 6 - 1
apps/emqx_authn/src/emqx_authn_api.erl

@@ -1550,7 +1550,8 @@ definitions() ->
             enable_pipelining => #{
                 type => boolean,
                 default => true
-            }
+            },
+            ssl => minirest:ref(<<"SSL">>)
         }
     },
 
@@ -1584,6 +1585,10 @@ definitions() ->
             certificate => #{
                 type => string
             },
+            endpoint => #{
+                type => string,
+                example => <<"http://localhost:80">>
+            },
             verify_claims => #{
                 type => object,
                 additionalProperties => #{