Skip to content

Commit

Permalink
Update the swagger with ACS prefix (#10566)
Browse files Browse the repository at this point in the history
* Update the swagger with ACS prefix and add a field to SMSDeliveryReportReceivedEventData

* Add ACS prefix to referenced objects

* Update refs

* Add ACSSMS to custom words

Co-authored-by: Vikram Praveen Kumar <[email protected]>
  • Loading branch information
vikrampraveen and Vikram Praveen Kumar authored Aug 24, 2020
1 parent edecc35 commit ae55ba1
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 33 deletions.
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1872,5 +1872,6 @@ watchlists
Watchlists
watchlist
Watchlist
ACSSMS
Mibps
ntfs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
},
"paths": {},
"definitions": {
"ChatMessageReceivedEventData": {
"ACSChatMessageReceivedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMessageReceived event.",
"allOf": [
{
"$ref": "#/definitions/ChatMessageEventBaseProperties"
"$ref": "#/definitions/ACSChatMessageEventBaseProperties"
}
],
"properties": {
Expand All @@ -21,11 +21,11 @@
}
}
},
"ChatMessageEditedEventData": {
"ACSChatMessageEditedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMessageEdited event.",
"allOf": [
{
"$ref": "#/definitions/ChatMessageEventBaseProperties"
"$ref": "#/definitions/ACSChatMessageEventBaseProperties"
}
],
"properties": {
Expand All @@ -40,11 +40,11 @@
}
}
},
"ChatMessageDeletedEventData": {
"ACSChatMessageDeletedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMessageDeleted event.",
"allOf": [
{
"$ref": "#/definitions/ChatMessageEventBaseProperties"
"$ref": "#/definitions/ACSChatMessageEventBaseProperties"
}
],
"properties": {
Expand All @@ -55,11 +55,11 @@
}
}
},
"ChatThreadCreatedWithUserEventData": {
"ACSChatThreadCreatedWithUserEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatThreadCreatedWithUser event.",
"allOf": [
{
"$ref": "#/definitions/ChatThreadEventBaseProperties"
"$ref": "#/definitions/ACSChatThreadEventBaseProperties"
}
],
"properties": {
Expand All @@ -82,16 +82,16 @@
"description": "The list of properties of users who are part of the thread",
"type": "array",
"items": {
"$ref": "#/definitions/ChatThreadMemberProperties"
"$ref": "#/definitions/ACSChatThreadMemberProperties"
}
}
}
},
"ChatThreadWithUserDeletedEventData": {
"ACSChatThreadWithUserDeletedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatThreadWithUserDeleted event.",
"allOf": [
{
"$ref": "#/definitions/ChatThreadEventBaseProperties"
"$ref": "#/definitions/ACSChatThreadEventBaseProperties"
}
],
"properties": {
Expand All @@ -106,11 +106,11 @@
}
}
},
"ChatThreadPropertiesUpdatedPerUserEventData": {
"ACSChatThreadPropertiesUpdatedPerUserEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser event.",
"allOf": [
{
"$ref": "#/definitions/ChatThreadEventBaseProperties"
"$ref": "#/definitions/ACSChatThreadEventBaseProperties"
}
],
"properties": {
Expand All @@ -132,11 +132,11 @@
}
}
},
"ChatMemberAddedToThreadWithUserEventData": {
"ACSChatMemberAddedToThreadWithUserEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMemberAddedToThreadWithUser event.",
"allOf": [
{
"$ref": "#/definitions/ChatThreadEventBaseProperties"
"$ref": "#/definitions/ACSChatThreadEventBaseProperties"
}
],
"properties": {
Expand All @@ -151,15 +151,15 @@
},
"member": {
"description": "The details of the user who was added",
"$ref": "#/definitions/ChatThreadMemberProperties"
"$ref": "#/definitions/ACSChatThreadMemberProperties"
}
}
},
"ChatMemberRemovedFromThreadForWithUserEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMemberRemovedFromThreadForWithUser event.",
"ACSChatMemberRemovedFromThreadWithUserEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMemberRemovedFromThreadWithUser event.",
"allOf": [
{
"$ref": "#/definitions/ChatThreadEventBaseProperties"
"$ref": "#/definitions/ACSChatThreadEventBaseProperties"
}
],
"properties": {
Expand All @@ -174,15 +174,15 @@
},
"member": {
"description": "The details of the user who was removed",
"$ref": "#/definitions/ChatThreadMemberProperties"
"$ref": "#/definitions/ACSChatThreadMemberProperties"
}
}
},
"SMSDeliveryReportReceivedEventData": {
"ACSSMSDeliveryReportReceivedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.SMSDeliveryReportReceived event.",
"allOf": [
{
"$ref": "#/definitions/SMSEventBaseProperties"
"$ref": "#/definitions/ACSSMSEventBaseProperties"
}
],
"properties": {
Expand All @@ -198,16 +198,21 @@
"description": "List of details of delivery attempts made",
"type": "array",
"items": {
"$ref": "#/definitions/SMSDeliveryAttemptProperties"
"$ref": "#/definitions/ACSSMSDeliveryAttemptProperties"
}
},
"receivedTimestamp": {
"description": "The time at which the SMS delivery report was received",
"format": "date-time",
"type": "string"
}
}
},
"SMSReceivedEventData": {
"ACSSMSReceivedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.SMSReceived event.",
"allOf": [
{
"$ref": "#/definitions/SMSEventBaseProperties"
"$ref": "#/definitions/ACSSMSEventBaseProperties"
}
],
"properties": {
Expand All @@ -222,11 +227,11 @@
}
}
},
"ChatThreadEventBaseProperties": {
"ACSChatThreadEventBaseProperties": {
"description": "Schema of common properties of all chat thread events",
"allOf": [
{
"$ref": "#/definitions/ChatEventBaseProperties"
"$ref": "#/definitions/ACSChatEventBaseProperties"
}
],
"properties": {
Expand All @@ -241,11 +246,11 @@
}
}
},
"ChatMessageEventBaseProperties": {
"ACSChatMessageEventBaseProperties": {
"description": "Schema of common properties of all chat message events",
"allOf": [
{
"$ref": "#/definitions/ChatEventBaseProperties"
"$ref": "#/definitions/ACSChatEventBaseProperties"
}
],
"properties": {
Expand Down Expand Up @@ -284,7 +289,7 @@
}
}
},
"ChatEventBaseProperties": {
"ACSChatEventBaseProperties": {
"description": "Schema of common properties of all chat events",
"type": "object",
"properties": {
Expand All @@ -302,7 +307,7 @@
}
}
},
"ChatThreadMemberProperties": {
"ACSChatThreadMemberProperties": {
"description": "Schema of the chat thread member",
"type": "object",
"properties": {
Expand All @@ -316,7 +321,7 @@
}
}
},
"SMSEventBaseProperties": {
"ACSSMSEventBaseProperties": {
"description": "Schema of common properties of all SMS events",
"type": "object",
"properties": {
Expand All @@ -334,7 +339,7 @@
}
}
},
"SMSDeliveryAttemptProperties": {
"ACSSMSDeliveryAttemptProperties": {
"description": "Schema for details of a delivery attempt",
"type": "object",
"properties": {
Expand Down

0 comments on commit ae55ba1

Please sign in to comment.