fix(sdk): preserve V2Event name for SSE streams (#34171)

This commit is contained in:
Dax 2026-06-27 21:05:47 -04:00 committed by GitHub
commit 6446b8ae3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 89 additions and 13 deletions

View file

@ -11260,7 +11260,7 @@
"type": "string"
},
"data": {
"$ref": "#/components/schemas/SessionDurableEvent1"
"$ref": "#/components/schemas/SessionDurableEventStream"
}
},
"required": ["id", "event", "data"],
@ -23732,7 +23732,7 @@
"required": ["data", "hasMore"],
"additionalProperties": false
},
"SessionDurableEvent1": {
"SessionDurableEventStream": {
"type": "string",
"contentSchema": {
"$ref": "#/components/schemas/SessionDurableEvent"
@ -23975,7 +23975,7 @@
"required": ["id", "type", "data"],
"additionalProperties": false
},
"V2Event1": {
"V2Event": {
"anyOf": [
{
"$ref": "#/components/schemas/Models-devRefreshed"
@ -24243,10 +24243,10 @@
}
]
},
"V2Event": {
"V2EventStream": {
"type": "string",
"contentSchema": {
"$ref": "#/components/schemas/V2Event1"
"$ref": "#/components/schemas/V2Event"
},
"contentMediaType": "application/json"
},