add api documentation stubs

This commit is contained in:
André Roth committed 2024-12-11 10:40:43 +01:00
1 parent f9ae9b323a
commit ba86851d07
11 files changed
+347 -44

No files matched your search

+8 -1
View File
@@ -11,7 +11,14 @@ import (
"github.com/gin-gonic/gin"
)
// POST /api/db/cleanup
// @Summary TODO
// @Description **ToDo**
// @Description To Do
// @Tags Database
// @Produce json
// @Success 200 {object} string "msg"
// @Failure 404 {object} Error "Not Found"
// @Router /api/db/cleanup [post]
func apiDbCleanup(c *gin.Context) {
resources := []string{string(task.AllResourcesKey)}