fix(authn): users pagination on spec listener_id and authn_id
This commit is contained in:
parent
eb452bd237
commit
3683ba13ee
|
@ -886,6 +886,15 @@ list_users_api_spec2() ->
|
||||||
Spec = list_users_api_spec(),
|
Spec = list_users_api_spec(),
|
||||||
Spec#{
|
Spec#{
|
||||||
parameters => [
|
parameters => [
|
||||||
|
#{
|
||||||
|
name => id,
|
||||||
|
in => path,
|
||||||
|
description => <<"Authenticator id">>,
|
||||||
|
schema => #{
|
||||||
|
type => string
|
||||||
|
},
|
||||||
|
required => true
|
||||||
|
},
|
||||||
#{
|
#{
|
||||||
name => listener_id,
|
name => listener_id,
|
||||||
in => path,
|
in => path,
|
||||||
|
@ -896,13 +905,22 @@ list_users_api_spec2() ->
|
||||||
required => true
|
required => true
|
||||||
},
|
},
|
||||||
#{
|
#{
|
||||||
name => id,
|
name => page,
|
||||||
in => path,
|
in => query,
|
||||||
description => <<"Authenticator id">>,
|
description => <<"Page Index">>,
|
||||||
schema => #{
|
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