summaryrefslogtreecommitdiff
path: root/internal/api/client/notifications/notificationsclear.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/notifications/notificationsclear.go')
-rw-r--r--internal/api/client/notifications/notificationsclear.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/api/client/notifications/notificationsclear.go b/internal/api/client/notifications/notificationsclear.go
index 58c2c7f70..cff253736 100644
--- a/internal/api/client/notifications/notificationsclear.go
+++ b/internal/api/client/notifications/notificationsclear.go
@@ -47,14 +47,24 @@ import (
// schema:
// type: object
// '400':
+// schema:
+// "$ref": "#/definitions/error"
// description: bad request
// '401':
+// schema:
+// "$ref": "#/definitions/error"
// description: unauthorized
// '404':
+// schema:
+// "$ref": "#/definitions/error"
// description: not found
// '406':
+// schema:
+// "$ref": "#/definitions/error"
// description: not acceptable
// '500':
+// schema:
+// "$ref": "#/definitions/error"
// description: internal server error
func (m *Module) NotificationsClearPOSTHandler(c *gin.Context) {
authed, errWithCode := apiutil.TokenAuth(c,