2017-11-13 07:02:25 +00:00
|
|
|
// Copyright 2017 The Gitea Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a MIT-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package swagger
|
|
|
|
|
|
|
|
import (
|
2018-10-23 02:57:42 +00:00
|
|
|
"code.gitea.io/gitea/models"
|
2019-05-11 10:21:34 +00:00
|
|
|
api "code.gitea.io/gitea/modules/structs"
|
2017-11-13 07:02:25 +00:00
|
|
|
)
|
|
|
|
|
2018-05-31 11:13:55 +00:00
|
|
|
// User
|
2017-11-13 07:02:25 +00:00
|
|
|
// swagger:response User
|
|
|
|
type swaggerResponseUser struct {
|
|
|
|
// in:body
|
|
|
|
Body api.User `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 11:13:55 +00:00
|
|
|
// UserList
|
2017-11-13 07:02:25 +00:00
|
|
|
// swagger:response UserList
|
|
|
|
type swaggerResponseUserList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.User `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 11:13:55 +00:00
|
|
|
// EmailList
|
2017-11-13 07:02:25 +00:00
|
|
|
// swagger:response EmailList
|
|
|
|
type swaggerResponseEmailList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.Email `json:"body"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// swagger:model EditUserOption
|
|
|
|
type swaggerModelEditUserOption struct {
|
|
|
|
// in:body
|
|
|
|
Options api.EditUserOption
|
|
|
|
}
|
2018-10-23 02:57:42 +00:00
|
|
|
|
|
|
|
// UserHeatmapData
|
|
|
|
// swagger:response UserHeatmapData
|
|
|
|
type swaggerResponseUserHeatmapData struct {
|
|
|
|
// in:body
|
|
|
|
Body []models.UserHeatmapData `json:"body"`
|
|
|
|
}
|
2021-06-23 19:58:44 +00:00
|
|
|
|
|
|
|
// UserSettings
|
|
|
|
// swagger:response UserSettings
|
|
|
|
type swaggerResponseUserSettings struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.UserSettings `json:"body"`
|
|
|
|
}
|