Feat: add swagger notes
This commit is contained in:
19
handlers/api/getAliasUpdate.go
Normal file
19
handlers/api/getAliasUpdate.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"gitea.konchin.com/go2025/backend/utils"
|
||||
"github.com/uptrace/bunrouter"
|
||||
)
|
||||
|
||||
// GetAliasUpdate
|
||||
//
|
||||
// @summary Get notification when alias update
|
||||
// @description get update notification using websocket
|
||||
// @router /api/alias-update [get]
|
||||
func (self *Handlers) GetAliasUpdate(
|
||||
w http.ResponseWriter, req bunrouter.Request,
|
||||
) error {
|
||||
return utils.Success(w)
|
||||
}
|
||||
Reference in New Issue
Block a user