code.gitea.io/gitea@v1.21.7/routers/api/v1/swagger/notify.go (about) 1 // Copyright 2019 The Gitea Authors. All rights reserved. 2 // SPDX-License-Identifier: MIT 3 4 package swagger 5 6 import ( 7 api "code.gitea.io/gitea/modules/structs" 8 ) 9 10 // NotificationThread 11 // swagger:response NotificationThread 12 type swaggerNotificationThread struct { 13 // in:body 14 Body api.NotificationThread `json:"body"` 15 } 16 17 // NotificationThreadList 18 // swagger:response NotificationThreadList 19 type swaggerNotificationThreadList struct { 20 // in:body 21 Body []api.NotificationThread `json:"body"` 22 } 23 24 // Number of unread notifications 25 // swagger:response NotificationCount 26 type swaggerNotificationCount struct { 27 // in:body 28 Body api.NotificationCount `json:"body"` 29 }