diff --git a/specification/eventgrid/Azure.Messaging.EventGrid/main.tsp b/specification/eventgrid/Azure.Messaging.EventGrid/main.tsp index 3700fb1d24f1..2ccee59e62f9 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid/main.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid/main.tsp @@ -216,8 +216,9 @@ namespace Azure.Messaging.EventGrid { maxEvents?: int32 = 1; @doc("Max wait time value for receive operation in Seconds. It is the time in seconds that the server approximately waits for the availability of an event and responds to the request. If an event is available, the broker responds immediately to the client. Minimum value is 10 seconds, while maximum value is 120 seconds. If not specified, the default value is 60 seconds.") + @encode("seconds", int32) @query - maxWaitTime?: int32 = 60; + maxWaitTime?: duration; }, ReceiveResult>; // Acknowledge Operation: