Fix: remove alias update endpoint
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user