Skip to content

Commit dc439ef

Browse files
authored
[purview catalog] fix guids rest name (#17344)
* make client name guids and rest name guid * fix list docstring * update example for list by guids * link examples * revert changes to package lock * fix json in example * switch to rest name for guid param in examples
1 parent b7d6b00 commit dc439ef

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Entity_DeleteByGuids.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"parameters": {
33
"Endpoint": "{Endpoint}",
4-
"guids": [
4+
"guid": [
55
"18e06957-e265-967a-07f1-e14e2ab8940f",
66
"cc0730ba-9b30-41f0-6953-559d17626d2b"
77
]

specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/examples/Entity_ListByGuids.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
22
"parameters": {
33
"Endpoint": "{Endpoint}",
4-
"guid": "784c0f2f-afd2-e26b-f9cb-984f6c2c5021",
5-
"guid": "b4ebc8be-cef4-860a-bee9-28cc34cb5caa"
4+
"guid": [
5+
"784c0f2f-afd2-e26b-f9cb-984f6c2c5021",
6+
"b4ebc8be-cef4-860a-bee9-28cc34cb5caa"
7+
]
68
},
79
"responses": {
810
"200": {

specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/purviewcatalog.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,14 @@
101101
{
102102
"name": "guid",
103103
"in": "query",
104-
"description": "An array of GUIDs of entities to create.",
104+
"description": "An array of GUIDs of entities to list.",
105105
"required": true,
106106
"type": "array",
107107
"items": {
108108
"type": "string"
109109
},
110-
"collectionFormat": "multi"
110+
"collectionFormat": "multi",
111+
"x-ms-client-name": "guids"
111112
},
112113
{
113114
"$ref": "#/parameters/minExtInfo"
@@ -184,15 +185,16 @@
184185
},
185186
"parameters": [
186187
{
187-
"name": "guids",
188+
"name": "guid",
188189
"in": "query",
189190
"description": "An array of GUIDs of entities to delete.",
190191
"required": true,
191192
"type": "array",
192193
"items": {
193194
"type": "string"
194195
},
195-
"collectionFormat": "multi"
196+
"collectionFormat": "multi",
197+
"x-ms-client-name": "guids"
196198
}
197199
],
198200
"responses": {

0 commit comments

Comments
 (0)