Przeglądaj źródła

chore(authn): update api spec

zhouzb 4 lat temu
rodzic
commit
564896d64a
1 zmienionych plików z 6 dodań i 1 usunięć
  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 => #{
             enable_pipelining => #{
                 type => boolean,
                 type => boolean,
                 default => true
                 default => true
-            }
+            },
+            ssl => minirest:ref(<<"SSL">>)
         }
         }
     },
     },
 
 
@@ -1584,6 +1585,10 @@ definitions() ->
             certificate => #{
             certificate => #{
                 type => string
                 type => string
             },
             },
+            endpoint => #{
+                type => string,
+                example => <<"http://localhost:80">>
+            },
             verify_claims => #{
             verify_claims => #{
                 type => object,
                 type => object,
                 additionalProperties => #{
                 additionalProperties => #{