Skip to content

Commit 7dcb170

Browse files
[Microsoft.LoadTestService] Improvements to Load Test Service DataPlane Specs for better SDK Generation (#32418)
* Fixing missed property for parameter type change
1 parent d96c413 commit 7dcb170

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

specification/loadtestservice/LoadTestService/models.testprofile.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ model ListTestProfileQueryParams {
264264

265265
@doc("Comma separated list IDs of the tests which should be associated with the test profiles to fetch.")
266266
@query(#{ explode: false })
267-
testIds?: string;
267+
testIds?: string[];
268268
}
269269

270270
@doc("Parameters for list test profile run operation")

specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-05-01-preview/loadtestservice.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5128,7 +5128,11 @@
51285128
"in": "query",
51295129
"description": "Comma separated list IDs of the tests which should be associated with the test profiles to fetch.",
51305130
"required": false,
5131-
"type": "string",
5131+
"type": "array",
5132+
"items": {
5133+
"type": "string"
5134+
},
5135+
"collectionFormat": "csv",
51325136
"x-ms-parameter-location": "method"
51335137
},
51345138
"ListTestProfileQueryParams.testProfileIds": {

specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-07-01-preview/loadtestservice.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6215,7 +6215,11 @@
62156215
"in": "query",
62166216
"description": "Comma separated list IDs of the tests which should be associated with the test profiles to fetch.",
62176217
"required": false,
6218-
"type": "string",
6218+
"type": "array",
6219+
"items": {
6220+
"type": "string"
6221+
},
6222+
"collectionFormat": "csv",
62196223
"x-ms-parameter-location": "method"
62206224
},
62216225
"ListTestProfileQueryParams.testProfileIds": {

specification/loadtestservice/data-plane/Microsoft.LoadTestService/preview/2024-12-01-preview/loadtestservice.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6900,7 +6900,11 @@
69006900
"in": "query",
69016901
"description": "Comma separated list IDs of the tests which should be associated with the test profiles to fetch.",
69026902
"required": false,
6903-
"type": "string",
6903+
"type": "array",
6904+
"items": {
6905+
"type": "string"
6906+
},
6907+
"collectionFormat": "csv",
69046908
"x-ms-parameter-location": "method"
69056909
},
69066910
"ListTestProfileQueryParams.testProfileIds": {

0 commit comments

Comments
 (0)