|
|
@@ -3565,10 +3565,27 @@
|
|
|
"type": "string",
|
|
|
"enum": ["true", "false"]
|
|
|
}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "in": "query",
|
|
|
+ "name": "type",
|
|
|
+ "schema": {
|
|
|
+ "type": "string",
|
|
|
+ "enum": ["file", "directory"]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "in": "query",
|
|
|
+ "name": "limit",
|
|
|
+ "schema": {
|
|
|
+ "type": "integer",
|
|
|
+ "minimum": 1,
|
|
|
+ "maximum": 200
|
|
|
+ }
|
|
|
}
|
|
|
],
|
|
|
"summary": "Find files",
|
|
|
- "description": "Search for files by name or pattern in the project directory.",
|
|
|
+ "description": "Search for files or directories by name or pattern in the project directory.",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "File paths",
|