Merge pull request #149 from acooler15/fix/openapi-task-tags

fix: add missing GET /tasks/tags endpoint to OpenAPI routes
This commit is contained in:
engigu
2026-07-14 19:21:30 +08:00
committed by GitHub
+1
View File
@@ -35,6 +35,7 @@ func registerOpenAPITaskRoutes(g *gin.RouterGroup, c *Controllers) {
tasks.PUT("/:id", c.Task.UpdateTask) tasks.PUT("/:id", c.Task.UpdateTask)
tasks.DELETE("/:id", c.Task.DeleteTask) tasks.DELETE("/:id", c.Task.DeleteTask)
tasks.POST("/stop/:logID", c.Task.StopTask) tasks.POST("/stop/:logID", c.Task.StopTask)
tasks.GET("/tags", c.Task.GetTags)
} }
} }