summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/swagger/notify.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/swagger/notify.go')
-rw-r--r--routers/api/v1/swagger/notify.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/routers/api/v1/swagger/notify.go b/routers/api/v1/swagger/notify.go
index 7d45da0e12..cd30d496e0 100644
--- a/routers/api/v1/swagger/notify.go
+++ b/routers/api/v1/swagger/notify.go
@@ -21,3 +21,10 @@ type swaggerNotificationThreadList struct {
// in:body
Body []api.NotificationThread `json:"body"`
}
+
+// Number of unread notifications
+// swagger:response NotificationCount
+type swaggerNotificationCount struct {
+ // in:body
+ Body api.NotificationCount `json:"body"`
+}