Skip to content

Commit b2c31dc

Browse files
Update schema.v2.json
1 parent 5f79e6f commit b2c31dc

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

static/schema/schema.v2.json

+24-1
Original file line numberDiff line numberDiff line change
@@ -1097,10 +1097,33 @@
10971097
],
10981098
"default": "en-US",
10991099
"description": "Set the language for docstrings by using the corresponding ISO language code."
1100+
},
1101+
"path_instructions": {
1102+
"type": "array",
1103+
"items": {
1104+
"type": "object",
1105+
"properties": {
1106+
"path": {
1107+
"type": "string",
1108+
"description": "File path glob pattern. Example: **/*.js"
1109+
},
1110+
"instructions": {
1111+
"type": "string",
1112+
"maxLength": 20000,
1113+
"description": "Provides additional guidelines for docstring generation based on file paths."
1114+
}
1115+
},
1116+
"required": ["path", "instructions"],
1117+
"additionalProperties": false
1118+
},
1119+
"default": [],
1120+
"description": "Path Instructions | Provide additional guidelines for docstring generation based on file paths."
11001121
}
11011122
},
11021123
"additionalProperties": false,
1103-
"default": {},
1124+
"default": {
1125+
"path_instructions": []
1126+
},
11041127
"description": "Settings related to the generation of docstrings."
11051128
}
11061129
},

0 commit comments

Comments
 (0)