fix: remove batched json rpc support (#408)

* fix: remove batched json rpc  support

* fix(test): fix schema
This commit is contained in:
4t145 2025-09-03 14:13:55 +08:00 • committed by GitHub
commit f381c2b899
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 2 additions and 3497 deletions

View file

@ -27,20 +27,6 @@
}
]
},
{
"description": "Multiple requests sent together",
"type": "array",
"items": {
"$ref": "#/definitions/JsonRpcBatchRequestItem"
}
},
{
"description": "Multiple responses sent together",
"type": "array",
"items": {
"$ref": "#/definitions/JsonRpcBatchResponseItem"
}
},
{
"description": "An error response",
"allOf": [
@ -559,26 +545,6 @@
"format": "const",
"const": "notifications/initialized"
},
"JsonRpcBatchRequestItem": {
"anyOf": [
{
"$ref": "#/definitions/JsonRpcRequest"
},
{
"$ref": "#/definitions/JsonRpcNotification"
}
]
},
"JsonRpcBatchResponseItem": {
"anyOf": [
{
"$ref": "#/definitions/JsonRpcResponse"
},
{
"$ref": "#/definitions/JsonRpcError"
}
]
},
"JsonRpcError": {
"type": "object",
"properties": {

View file

@ -27,20 +27,6 @@
}
]
},
{
"description": "Multiple requests sent together",
"type": "array",
"items": {
"$ref": "#/definitions/JsonRpcBatchRequestItem"
}
},
{
"description": "Multiple responses sent together",
"type": "array",
"items": {
"$ref": "#/definitions/JsonRpcBatchResponseItem"
}
},
{
"description": "An error response",
"allOf": [
@ -690,26 +676,6 @@
"serverInfo"
]
},
"JsonRpcBatchRequestItem": {
"anyOf": [
{
"$ref": "#/definitions/JsonRpcRequest"
},
{
"$ref": "#/definitions/JsonRpcNotification"
}
]
},
"JsonRpcBatchResponseItem": {
"anyOf": [
{
"$ref": "#/definitions/JsonRpcResponse"
},
{
"$ref": "#/definitions/JsonRpcError"
}
]
},
"JsonRpcError": {
"type": "object",
"properties": {