2017-11-13 12:32:25 +05:30
|
|
|
// Copyright 2017 The Gitea Authors. All rights reserved.
|
2022-11-27 23:50:29 +05:30
|
|
|
// SPDX-License-Identifier: MIT
|
2017-11-13 12:32:25 +05:30
|
|
|
|
|
|
|
package swagger
|
|
|
|
|
|
|
|
import (
|
2022-08-25 08:01:57 +05:30
|
|
|
activities_model "code.gitea.io/gitea/models/activities"
|
2019-05-11 15:51:34 +05:30
|
|
|
api "code.gitea.io/gitea/modules/structs"
|
2017-11-13 12:32:25 +05:30
|
|
|
)
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// User
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response User
|
|
|
|
type swaggerResponseUser struct {
|
|
|
|
// in:body
|
|
|
|
Body api.User `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// UserList
|
2017-11-13 12:32:25 +05:30
|
|
|
// swagger:response UserList
|
|
|
|
type swaggerResponseUserList struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.User `json:"body"`
|
|
|
|
}
|
|
|
|
|
2018-05-31 16:43:55 +05:30
|
|
|
// EmailList
|
2017-11-13 12:32:25 +05:30
|
|
|
// 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 08:27:42 +05:30
|
|
|
|
|
|
|
// UserHeatmapData
|
|
|
|
// swagger:response UserHeatmapData
|
|
|
|
type swaggerResponseUserHeatmapData struct {
|
|
|
|
// in:body
|
2022-08-25 08:01:57 +05:30
|
|
|
Body []activities_model.UserHeatmapData `json:"body"`
|
2018-10-23 08:27:42 +05:30
|
|
|
}
|
2021-06-24 01:28:44 +05:30
|
|
|
|
|
|
|
// UserSettings
|
|
|
|
// swagger:response UserSettings
|
|
|
|
type swaggerResponseUserSettings struct {
|
|
|
|
// in:body
|
|
|
|
Body []api.UserSettings `json:"body"`
|
|
|
|
}
|