Skip to content

Commit c36e8c0

Browse files
committed
chore: update shema config
1 parent 37647ef commit c36e8c0

File tree

1 file changed

+30
-4
lines changed

1 file changed

+30
-4
lines changed

src/main/resources/cc/unitmesh/devti/custom/schema/autodev-custom-agent.json

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,46 @@
1616
"properties": {
1717
"type": {
1818
"type": "string",
19-
"enum": ["Bearer"]
19+
"enum": [
20+
"Bearer"
21+
]
2022
},
2123
"token": {
2224
"type": "string"
2325
}
2426
},
25-
"required": ["type", "token"]
27+
"required": [
28+
"type",
29+
"token"
30+
]
31+
},
32+
"connector": {
33+
"type": "object",
34+
"properties": {
35+
"requestFormat": {
36+
"type": "string",
37+
"description": "JSONPath expression to specify the format of the request"
38+
},
39+
"responseFormat": {
40+
"type": "string",
41+
"description": "JSONPath expression to specify the format of the request"
42+
}
43+
}
2644
},
2745
"responseAction": {
2846
"type": "string",
29-
"enum": ["Direct", "TextChunk", "WebView"]
47+
"enum": [
48+
"Direct",
49+
"TextChunk",
50+
"WebView"
51+
]
3052
}
3153
},
32-
"required": ["name", "url", "responseAction"],
54+
"required": [
55+
"name",
56+
"url",
57+
"responseAction"
58+
],
3359
"additionalProperties": true
3460
}
3561
}

0 commit comments

Comments
 (0)