add openapi docu

This commit is contained in:
Cubicroot 2021-10-01 18:19:50 +02:00
parent afa4a9f866
commit 54d3cef46a
6 changed files with 109 additions and 22 deletions

View file

@ -21,3 +21,6 @@ type DeleteNotification struct {
ID string `json:"id" form:"id"`
Date time.Time `json:"date"`
}
// NotificationExtras is need to document Notification.Extras in a format that the tool can read.
type NotificationExtras map[string]interface{}