Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Storage] Make message required for enqueue. #10480

Merged
merged 4 commits into from
Aug 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@
"description": "The Enqueue operation adds a new message to the back of the message queue. A visibility timeout can also be specified to make the message invisible until the visibility timeout expires. A message must be in a format that can be included in an XML request with UTF-8 encoding. The encoded message can be up to 64 KB in size for versions 2011-08-18 and newer, or 8 KB in size for previous versions.",
"parameters": [
{
"$ref": "#/parameters/QueueMessage"
"$ref": "#/parameters/RequiredQueueMessage"
},
{
"$ref": "#/parameters/VisibilityTimeout"
Expand Down Expand Up @@ -1806,6 +1806,16 @@
"x-ms-parameter-location": "method",
"description": "A Message object which can be stored in a Queue"
},
"RequiredQueueMessage": {
"name": "QueueMessage",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/QueueMessage"
},
"x-ms-parameter-location": "method",
"description": "A Message object which can be stored in a Queue"
},
"QueueName": {
"name": "queueName",
"in": "path",
Expand Down