Skip to content

Commit 33ca4d6

Browse files
authored
Accept "preview" in the description (Azure#23358)
1 parent a50978d commit 33ca4d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specification/eventgrid/data-plane/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This enables customers to download one EventGrid data plane library instead of h
1818
1919
In order to automate the mapping of event definition with event type, please follow the guidelines below when adding new events to your swagger:
2020
- The name of a new event definition should have `EventData` suffix. For e.g. `AcsChatMessageReceivedEventData`.
21-
- The description of the new event should include the event type. This is the `eventType` name in an `EventGridEvent` or `type` name in `CloudEvent`. For e.g. `"Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageReceived event.` Here `Microsoft.Communication.ChatMessageReceived` is the event name.
21+
- The description of the new event should include the event type. This is the `eventType` name in an `EventGridEvent` or `type` name in `CloudEvent`. For e.g. `"Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageReceived event."` Here `Microsoft.Communication.ChatMessageReceived` is the event name. If your event is in preview, you may add the word preview: `"Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageReceived preview event."`
2222

2323
A sample valid event definition is shown below:
2424
~~~ markdown

0 commit comments

Comments
 (0)