Skip to content

Commit

Permalink
Fix the response model for QueryEntitiesWithPartitionAndRowKey (Azure…
Browse files Browse the repository at this point in the history
…#12280)

* Fix the response model for QueryEntitiesWithPartitionAndRowKey

The model type for QueryEntitiesWithPartitionAndRowKey is currently generated incorrectly. This change corrects it.

* update naming for Table_QueryEntitiesWithPartitionAndRowKey operation and example
  • Loading branch information
christothes authored Jan 15, 2021
1 parent 14313ea commit dc3ba32
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 35 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"x-ms-version": "2019-02-02",
"DataServiceVersion": "3.0",
"url": "myaccount.table.core.windows.net",
"table": "Customers",
"partitionKey": "Customer",
"rowKey": "Name"
},
"responses": {
"200": {
"body": {
"odata.metadata": " https://myaccount.table.core.windows.net/metadata#Customers",
"odata.type": "myaccount.Customers",
"odata.id": "https://myaccount.table.core.windows.net/Customers(PartitionKey=Customer',RowKey='Name')",
"odata.etag": "W/\"0x5B168C7B6E589D2\"",
"odata.editLink": "Customers(PartitionKey=Customer',RowKey='Name')",
"PartitionKey": "Customer",
"RowKey": "Name",
"[email protected]": "Edm.DateTime",
"Timestamp": "2013-08-22T00:20:16.3134645Z",
"[email protected]": "Edm.DateTime",
"CustomerSince": "2008-10-01T15:25:05.2852025Z"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -402,13 +402,13 @@
"tags": [
"table"
],
"operationId": "Table_QueryEntitiesWithPartitionAndRowKey",
"operationId": "Table_QueryEntityWithPartitionAndRowKey",
"x-ms-examples": {
"TableQueryEntitiesWithPartitionAndRowKey": {
"$ref": "./examples/TableQueryEntitiesWithPartitionAndRowKey.json"
"$ref": "./examples/TableQueryEntityWithPartitionAndRowKey.json"
}
},
"description": "Queries entities in a table.",
"description": "Queries a single entity in a table.",
"parameters": [
{
"$ref": "#/parameters/Timeout"
Expand Down Expand Up @@ -479,7 +479,7 @@
}
},
"schema": {
"$ref": "#/definitions/TableEntityQueryResponse"
"$ref": "#/definitions/TableEntityProperties"
}
},
"default": {
Expand Down

0 comments on commit dc3ba32

Please sign in to comment.