fix(authn): fix http api spec
This commit is contained in:
parent
3f2ca5282c
commit
429def6b95
|
@ -1070,7 +1070,13 @@ definitions() ->
|
||||||
|
|
||||||
PasswordBasedRedisDef = #{
|
PasswordBasedRedisDef = #{
|
||||||
type => object,
|
type => object,
|
||||||
required => [],
|
required => [ server_type
|
||||||
|
, server
|
||||||
|
, servers
|
||||||
|
, password
|
||||||
|
, database
|
||||||
|
, query
|
||||||
|
],
|
||||||
properties => #{
|
properties => #{
|
||||||
server_type => #{
|
server_type => #{
|
||||||
type => string,
|
type => string,
|
||||||
|
@ -1099,7 +1105,7 @@ definitions() ->
|
||||||
},
|
},
|
||||||
database => #{
|
database => #{
|
||||||
type => integer,
|
type => integer,
|
||||||
exmaple => 0
|
example => 0
|
||||||
},
|
},
|
||||||
query => #{
|
query => #{
|
||||||
type => string,
|
type => string,
|
||||||
|
|
Loading…
Reference in New Issue