mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-02 11:20:18 +08:00
feat: add the missing userId param docs for get-user API (#1698)
* Add roles to SAML response * Fix: Add back missing get-user userId param doc. Signed-off-by: zzjin <tczzjin@gmail.com> * Update user.go --------- Signed-off-by: zzjin <tczzjin@gmail.com> Co-authored-by: Yang Luo <hsluoyz@qq.com>
This commit is contained in:
@ -84,6 +84,7 @@ func (c *ApiController) GetUsers() {
|
||||
// @Param owner query string false "The owner of the user"
|
||||
// @Param email query string false "The email of the user"
|
||||
// @Param phone query string false "The phone of the user"
|
||||
// @Param userId query string false "The userId of the user"
|
||||
// @Success 200 {object} object.User The Response object
|
||||
// @router /get-user [get]
|
||||
func (c *ApiController) GetUser() {
|
||||
|
Reference in New Issue
Block a user