fix(authn): users pagination on spec listener_id and authn_id
This commit is contained in:
parent
295b1312be
commit
f936aba6b7
|
@ -886,6 +886,15 @@ list_users_api_spec2() ->
|
|||
Spec = list_users_api_spec(),
|
||||
Spec#{
|
||||
parameters => [
|
||||
#{
|
||||
name => id,
|
||||
in => path,
|
||||
description => <<"Authenticator id">>,
|
||||
schema => #{
|
||||
type => string
|
||||
},
|
||||
required => true
|
||||
},
|
||||
#{
|
||||
name => listener_id,
|
||||
in => path,
|
||||
|
@ -896,13 +905,22 @@ list_users_api_spec2() ->
|
|||
required => true
|
||||
},
|
||||
#{
|
||||
name => id,
|
||||
in => path,
|
||||
description => <<"Authenticator id">>,
|
||||
name => page,
|
||||
in => query,
|
||||
description => <<"Page Index">>,
|
||||
schema => #{
|
||||
type => string
|
||||
type => integer
|
||||
},
|
||||
required => true
|
||||
required => false
|
||||
},
|
||||
#{
|
||||
name => limit,
|
||||
in => query,
|
||||
description => <<"Page limit">>,
|
||||
schema => #{
|
||||
type => integer
|
||||
},
|
||||
required => false
|
||||
}
|
||||
]
|
||||
}.
|
||||
|
|
Loading…
Reference in New Issue