summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/swagger/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/swagger/user.go')
-rw-r--r--routers/api/v1/swagger/user.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/routers/api/v1/swagger/user.go b/routers/api/v1/swagger/user.go
index 7ae046a9b0..caaf7df705 100644
--- a/routers/api/v1/swagger/user.go
+++ b/routers/api/v1/swagger/user.go
@@ -5,6 +5,7 @@
package swagger
import (
+ "code.gitea.io/gitea/models"
api "code.gitea.io/sdk/gitea"
)
@@ -34,3 +35,10 @@ type swaggerModelEditUserOption struct {
// in:body
Options api.EditUserOption
}
+
+// UserHeatmapData
+// swagger:response UserHeatmapData
+type swaggerResponseUserHeatmapData struct {
+ // in:body
+ Body []models.UserHeatmapData `json:"body"`
+}