add tags and id

This commit is contained in:
Cubicroot 2021-10-11 19:44:29 +02:00
parent 29fb096215
commit 98de0ef7e9
4 changed files with 26 additions and 0 deletions

View file

@ -32,6 +32,8 @@ type NotificationHandler struct {
// CreateNotification godoc
// @Summary Create a Notification
// @Description Creates a new notification for the given channel
// @ID post-message
// @Tags Application
// @Accept json,mpfd
// @Produce json
// @Param message query string true "The message to send"
@ -73,6 +75,8 @@ func (h *NotificationHandler) CreateNotification(ctx *gin.Context) {
// DeleteNotification godoc
// @Summary Delete a Notification
// @Description Informs the channel that the notification is deleted
// @ID deöete-message-id
// @Tags Application
// @Accept json,mpfd
// @Produce json
// @Param message_id path string true "ID of the message to delete"