Skip to content

Commit 5874020

Browse files
l0lawrencelmazuel
andauthored
required (#30758)
Co-authored-by: Laurent Mazuel <[email protected]>
1 parent 495c999 commit 5874020

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.SignalRService/SignalRService.tsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ namespace Microsoft.EventGrid.SystemEvents {
2424
timestamp: utcDateTime;
2525

2626
/** The hub of connected client connection. */
27-
hubName?: string;
27+
hubName: string;
2828

2929
/** The connection Id of connected client connection. */
30-
connectionId?: string;
30+
connectionId: string;
3131

3232
/** The user Id of connected client connection. */
3333
userId?: string;

specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7372,7 +7372,11 @@
73727372
"type": "string",
73737373
"description": "The user Id of connected client connection."
73747374
}
7375-
}
7375+
},
7376+
"required": [
7377+
"hubName",
7378+
"connectionId"
7379+
]
73767380
},
73777381
"SignalRServiceClientConnectionDisconnectedEventData": {
73787382
"type": "object",
@@ -7399,7 +7403,11 @@
73997403
"type": "string",
74007404
"description": "The message of error that cause the client connection disconnected."
74017405
}
7402-
}
7406+
},
7407+
"required": [
7408+
"hubName",
7409+
"connectionId"
7410+
]
74037411
},
74047412
"StampKind": {
74057413
"type": "string",

specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2024-01-01/GeneratedSystemEvents.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7501,7 +7501,9 @@
75017501
}
75027502
},
75037503
"required": [
7504-
"timestamp"
7504+
"timestamp",
7505+
"hubName",
7506+
"connectionId"
75057507
]
75067508
},
75077509
"SignalRServiceClientConnectionDisconnectedEventData": {
@@ -7531,7 +7533,9 @@
75317533
}
75327534
},
75337535
"required": [
7534-
"timestamp"
7536+
"timestamp",
7537+
"hubName",
7538+
"connectionId"
75357539
]
75367540
},
75377541
"StampKind": {

0 commit comments

Comments
 (0)