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:
@@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user