diff options
Diffstat (limited to 'internal/api/client/notifications/notificationsget.go')
| -rw-r--r-- | internal/api/client/notifications/notificationsget.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/api/client/notifications/notificationsget.go b/internal/api/client/notifications/notificationsget.go index 5550ed082..14ef2726f 100644 --- a/internal/api/client/notifications/notificationsget.go +++ b/internal/api/client/notifications/notificationsget.go @@ -132,14 +132,24 @@ import ( // items: // "$ref": "#/definitions/notification" // '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) NotificationsGETHandler(c *gin.Context) { authed, errWithCode := apiutil.TokenAuth(c, |
