精简: 去掉 API 文档(Swagger)后端路由与 openapi.json 分发 handler

This commit is contained in:
Muse
2026-10-20 10:02:05 +00:00
parent 57474e0700
commit 2c0d9c1209
2 changed files with 0 additions and 50 deletions
-2
View File
@@ -174,8 +174,6 @@ func (a *APIController) initRouter(g *gin.RouterGroup) {
api.Use(middleware.ConfigEnvelopeMiddleware())
api.Use(middleware.CSRFMiddleware())
api.GET("/openapi.json", ServeOpenAPISpec)
// Inbounds API
inbounds := api.Group("/inbounds")
a.inboundController = NewInboundController(inbounds)