Feat: add swagger notes

This commit is contained in:
2025-12-07 05:19:10 +08:00
parent 56e83b0725
commit 9c30bc009d
11 changed files with 775 additions and 15 deletions

View File

@@ -0,0 +1,23 @@
package api
import (
"net/http"
"gitea.konchin.com/go2025/backend/utils"
"github.com/uptrace/bunrouter"
)
// DeleteAlias
//
// @summary Delete alias
// @description delete alias along with the links
// @param id path int64 true "Alias Id"
// @success 200
// @failure 401
// @failure 404
// @router /api/alias/{id} [delete]
func (self *Handlers) DeleteAlias(
w http.ResponseWriter, req bunrouter.Request,
) error {
return utils.Success(w)
}