Fix: remove alias update endpoint

This commit is contained in:
2025-12-07 21:28:36 +08:00
parent 203a787063
commit 7d0a475558
4 changed files with 0 additions and 39 deletions

View File

@@ -19,13 +19,6 @@ const docTemplate = `{
"host": "{{.Host}}",
"basePath": "{{.BasePath}}",
"paths": {
"/api/alias-update": {
"get": {
"description": "get update notification using websocket",
"summary": "Get notification when alias update",
"responses": {}
}
},
"/api/alias/{id}": {
"delete": {
"description": "delete alias along with the links",

View File

@@ -11,13 +11,6 @@
},
"basePath": "/",
"paths": {
"/api/alias-update": {
"get": {
"description": "get update notification using websocket",
"summary": "Get notification when alias update",
"responses": {}
}
},
"/api/alias/{id}": {
"delete": {
"description": "delete alias along with the links",

View File

@@ -50,11 +50,6 @@ info:
title: Golang 2025 Final Project
version: 0.0.1
paths:
/api/alias-update:
get:
description: get update notification using websocket
responses: {}
summary: Get notification when alias update
/api/alias/{id}:
delete:
description: delete alias along with the links

View File

@@ -1,20 +0,0 @@
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 {
// TODO
return utils.Success(w)
}