mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
refactor: update route naming for clarity in router.go
- Renamed route from "Get Spider Files" to "List Spider Files" for improved clarity. - Enhanced description to specify that it lists files given a directory path in the spider project.
This commit is contained in:
@@ -293,8 +293,8 @@ func InitRoutes(app *gin.Engine) (err error) {
|
||||
{
|
||||
Method: http.MethodGet,
|
||||
Path: "/:id/files/list",
|
||||
Name: "Get Spider Files",
|
||||
Description: "Get a list of files in a spider directory",
|
||||
Name: "List Spider Files",
|
||||
Description: "List the files given a directory path in the spider project",
|
||||
HandlerFunc: GetSpiderFiles,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user