Browse Source

chore(authn): update api spec

zhouzb 4 years atrás
parent
commit
564896d64a
1 changed files with 6 additions and 1 deletions
  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 => #{