-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated API from documentation release
- Loading branch information
1 parent
4025ec4
commit 7abe530
Showing
11 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
api-specs/api/types/message/ShoppingListLineItemAddedMessage.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#%RAML 1.0 DataType | ||
(package): Message | ||
type: ShoppingListMessage | ||
displayName: ShoppingListLineItemAddedMessage | ||
discriminatorValue: ShoppingListLineItemAdded | ||
description: | | ||
Generated after a successful [Add ShoppingListLineItem](ctp:api:type:ShoppingListAddLineItemAction) update action. | ||
properties: | ||
lineItem: | ||
type: ShoppingListLineItem | ||
description: | | ||
[Line Item](ctp:api:type:ShoppingListLineItem) that was added to the [ShoppingList](ctp:api:type:ShoppingList). |
12 changes: 12 additions & 0 deletions
12
api-specs/api/types/message/ShoppingListLineItemRemovedMessage.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#%RAML 1.0 DataType | ||
(package): Message | ||
type: ShoppingListMessage | ||
displayName: ShoppingListLineItemRemovedMessage | ||
discriminatorValue: ShoppingListLineItemRemoved | ||
description: | | ||
Generated after a successful [Remove ShoppingListLineItem](ctp:api:type:ShoppingListRemoveLineItemAction) update action. | ||
properties: | ||
lineItem: | ||
type: ShoppingListLineItem | ||
description: | | ||
[Line Item](ctp:api:type:ShoppingListLineItem) that was removed from the [ShoppingList](ctp:api:type:ShoppingList). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#%RAML 1.0 DataType | ||
(package): Message | ||
type: Message | ||
(ignoreValidators): [PolymorphicSubtypesRule] | ||
displayName: ShoppingListMessage |
12 changes: 12 additions & 0 deletions
12
api-specs/api/types/message/payload/ShoppingListLineItemAddedMessagePayload.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#%RAML 1.0 DataType | ||
(package): Message | ||
type: ShoppingListMessagePayload | ||
displayName: ShoppingListLineItemAddedMessagePayload | ||
discriminatorValue: ShoppingListLineItemAdded | ||
description: | | ||
Generated after a successful [Add ShoppingListLineItem](ctp:api:type:ShoppingListAddLineItemAction) update action. | ||
properties: | ||
lineItem: | ||
type: ShoppingListLineItem | ||
description: | | ||
[Line Item](ctp:api:type:ShoppingListLineItem) that was added to the [ShoppingList](ctp:api:type:ShoppingList). |
12 changes: 12 additions & 0 deletions
12
api-specs/api/types/message/payload/ShoppingListLineItemRemovedMessagePayload.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#%RAML 1.0 DataType | ||
(package): Message | ||
type: ShoppingListMessagePayload | ||
displayName: ShoppingListLineItemRemovedMessagePayload | ||
discriminatorValue: ShoppingListLineItemRemoved | ||
description: | | ||
Generated after a successful [Remove ShoppingListLineItem](ctp:api:type:ShoppingListRemoveLineItemAction) update action. | ||
properties: | ||
lineItem: | ||
type: ShoppingListLineItem | ||
description: | | ||
[Line Item](ctp:api:type:ShoppingListLineItem) that was removed from the [ShoppingList](ctp:api:type:ShoppingList). |
5 changes: 5 additions & 0 deletions
5
api-specs/api/types/message/payload/ShoppingListMessagePayload.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#%RAML 1.0 DataType | ||
(package): Message | ||
type: MessagePayload | ||
(ignoreValidators): [PolymorphicSubtypesRule] | ||
displayName: ShoppingListMessagePayload |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters