summaryrefslogtreecommitdiff
path: root/internal/api/model/notification.go
diff options
context:
space:
mode:
authorLibravatar Blackle Morisanchetto <isabelle@blackle-mori.com>2022-08-31 13:20:52 -0400
committerLibravatar GitHub <noreply@github.com>2022-08-31 19:20:52 +0200
commitecb97f4e0bae0735464880cd850e964f292f2e92 (patch)
treec0c6c6576beaf1e4a0bbd740d8db9341d77b2ae6 /internal/api/model/notification.go
parent[bugfix] Use custom blackfriday renderer to only add mention/hashtag links in... (diff)
downloadgotosocial-ecb97f4e0bae0735464880cd850e964f292f2e92.tar.xz
[feature] Add support for the exclude_types[] parameter on the notifications endpoint (#784)
* Add support for the exclude_types[] parameter on the notifications endpoint * Add swagger docs to notifications
Diffstat (limited to 'internal/api/model/notification.go')
-rw-r--r--internal/api/model/notification.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/api/model/notification.go b/internal/api/model/notification.go
index efcd2431b..c43e80b3b 100644
--- a/internal/api/model/notification.go
+++ b/internal/api/model/notification.go
@@ -19,6 +19,8 @@
package model
// Notification represents a notification of an event relevant to the user.
+//
+// swagger:model notification
type Notification struct {
// REQUIRED