mirror of
https://github.com/jambonz/verb-specifications.git
synced 2025-12-19 04:47:47 +00:00
fixed mcpServers as array
This commit is contained in:
11
specs.json
11
specs.json
@@ -448,7 +448,7 @@
|
||||
"toolHook": "object|string",
|
||||
"events": "array",
|
||||
"llmOptions": "object",
|
||||
"mcpServer": "#mcpServer"
|
||||
"mcpServers": "array"
|
||||
},
|
||||
"required": [
|
||||
"vendor",
|
||||
@@ -456,15 +456,6 @@
|
||||
"llmOptions"
|
||||
]
|
||||
},
|
||||
"mcpServer": {
|
||||
"properties": {
|
||||
"url": "string",
|
||||
"auth": "object"
|
||||
},
|
||||
"required": [
|
||||
"url"
|
||||
]
|
||||
},
|
||||
"message": {
|
||||
"properties": {
|
||||
"id": "string",
|
||||
|
||||
@@ -533,13 +533,15 @@ test("validate correct verbs", async (t) => {
|
||||
"llmOptions": {
|
||||
"firstSpeaker": 'FIRST_SPEAKER_AGENT',
|
||||
},
|
||||
"mcpServer": {
|
||||
"url": 'https://mcp.example.com',
|
||||
"auth": {
|
||||
"username": 'username',
|
||||
"password": 'password'
|
||||
"mcpServers": [
|
||||
{
|
||||
"url": 'https://mcp.example.com',
|
||||
"auth": {
|
||||
"username": 'username',
|
||||
"password": 'password'
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
];
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user