Skip to content

Commit 193722e

Browse files
Upgrade to latest MTG (Azure#50549)
1 parent 729d1e3 commit 193722e

File tree

60 files changed

+765
-509
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+765
-509
lines changed

eng/Packages.Data.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@
442442

443443
<PropertyGroup>
444444
<TestProxyVersion>1.0.0-dev.20250501.1</TestProxyVersion>
445-
<UnbrandedGeneratorVersion>1.0.0-alpha.20250610.1</UnbrandedGeneratorVersion>
445+
<UnbrandedGeneratorVersion>1.0.0-alpha.20250611.1</UnbrandedGeneratorVersion>
446446
<AzureGeneratorVersion>1.0.0-alpha.20250527.2</AzureGeneratorVersion>
447447
</PropertyGroup>
448448
</Project>

eng/packages/http-client-csharp/generator/Azure.Generator/test/common/InputFactory.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ public static InputParameter Parameter(
180180
false,
181181
false,
182182
null,
183+
null,
183184
null);
184185
}
185186

eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/Basic-TypeSpec.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import "@azure-tools/typespec-azure-core";
1212
"{basicTypeSpecUrl}",
1313
"Endpoint Service",
1414
{
15-
basicTypeSpecUrl: string,
15+
basicTypeSpecUrl: url,
1616
}
1717
)
1818
@useAuth(ApiKeyAuth<ApiKeyLocation.header, "my-api-key"> | AadToken)

eng/packages/http-client-csharp/generator/TestProjects/Local/Basic-TypeSpec/tspCodeModel.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6248,7 +6248,7 @@
62486248
"type": {
62496249
"$id": "605",
62506250
"kind": "url",
6251-
"name": "url",
6251+
"name": "endpoint",
62526252
"crossLanguageDefinitionId": "TypeSpec.url"
62536253
},
62546254
"location": "Uri",
@@ -6258,7 +6258,8 @@
62586258
"isEndpoint": true,
62596259
"skipUrlEncoding": false,
62606260
"explode": false,
6261-
"kind": "Client"
6261+
"kind": "Client",
6262+
"serverUrlTemplate": "{basicTypeSpecUrl}"
62626263
}
62636264
],
62646265
"decorators": [],

eng/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/api-key/tspCodeModel.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
"type": {
199199
"$id": "21",
200200
"kind": "url",
201-
"name": "url",
201+
"name": "endpoint",
202202
"crossLanguageDefinitionId": "TypeSpec.url"
203203
},
204204
"location": "Uri",
@@ -218,7 +218,8 @@
218218
"crossLanguageDefinitionId": "TypeSpec.string"
219219
},
220220
"value": "http://localhost:3000"
221-
}
221+
},
222+
"serverUrlTemplate": "{endpoint}"
222223
}
223224
],
224225
"decorators": [],

eng/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/http/custom/tspCodeModel.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
"type": {
199199
"$id": "21",
200200
"kind": "url",
201-
"name": "url",
201+
"name": "endpoint",
202202
"crossLanguageDefinitionId": "TypeSpec.url"
203203
},
204204
"location": "Uri",
@@ -218,7 +218,8 @@
218218
"crossLanguageDefinitionId": "TypeSpec.string"
219219
},
220220
"value": "http://localhost:3000"
221-
}
221+
},
222+
"serverUrlTemplate": "{endpoint}"
222223
}
223224
],
224225
"decorators": [],

eng/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/oauth2/tspCodeModel.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
"type": {
199199
"$id": "21",
200200
"kind": "url",
201-
"name": "url",
201+
"name": "endpoint",
202202
"crossLanguageDefinitionId": "TypeSpec.url"
203203
},
204204
"location": "Uri",
@@ -218,7 +218,8 @@
218218
"crossLanguageDefinitionId": "TypeSpec.string"
219219
},
220220
"value": "http://localhost:3000"
221-
}
221+
},
222+
"serverUrlTemplate": "{endpoint}"
222223
}
223224
],
224225
"decorators": [],

eng/packages/http-client-csharp/generator/TestProjects/Spector/http/authentication/union/tspCodeModel.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"type": {
108108
"$id": "12",
109109
"kind": "url",
110-
"name": "url",
110+
"name": "endpoint",
111111
"crossLanguageDefinitionId": "TypeSpec.url"
112112
},
113113
"location": "Uri",
@@ -127,7 +127,8 @@
127127
"crossLanguageDefinitionId": "TypeSpec.string"
128128
},
129129
"value": "http://localhost:3000"
130-
}
130+
},
131+
"serverUrlTemplate": "{endpoint}"
131132
}
132133
],
133134
"decorators": [],

eng/packages/http-client-csharp/generator/TestProjects/Spector/http/azure/client-generator-core/flatten-property/tspCodeModel.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@
649649
"type": {
650650
"$id": "65",
651651
"kind": "url",
652-
"name": "url",
652+
"name": "endpoint",
653653
"crossLanguageDefinitionId": "TypeSpec.url"
654654
},
655655
"location": "Uri",
@@ -669,7 +669,8 @@
669669
"crossLanguageDefinitionId": "TypeSpec.string"
670670
},
671671
"value": "http://localhost:3000"
672-
}
672+
},
673+
"serverUrlTemplate": "{endpoint}"
673674
}
674675
],
675676
"decorators": [],

eng/packages/http-client-csharp/generator/TestProjects/Spector/http/azure/client-generator-core/usage/tspCodeModel.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@
311311
"type": {
312312
"$id": "41",
313313
"kind": "url",
314-
"name": "url",
314+
"name": "endpoint",
315315
"crossLanguageDefinitionId": "TypeSpec.url"
316316
},
317317
"location": "Uri",
@@ -331,7 +331,8 @@
331331
"crossLanguageDefinitionId": "TypeSpec.string"
332332
},
333333
"value": "http://localhost:3000"
334-
}
334+
},
335+
"serverUrlTemplate": "{endpoint}"
335336
}
336337
],
337338
"decorators": [],
@@ -843,7 +844,7 @@
843844
"type": {
844845
"$id": "80",
845846
"kind": "url",
846-
"name": "url",
847+
"name": "endpoint",
847848
"crossLanguageDefinitionId": "TypeSpec.url"
848849
},
849850
"location": "Uri",
@@ -863,7 +864,8 @@
863864
"crossLanguageDefinitionId": "TypeSpec.string"
864865
},
865866
"value": "http://localhost:3000"
866-
}
867+
},
868+
"serverUrlTemplate": "{endpoint}"
867869
}
868870
],
869871
"decorators": [],

0 commit comments

Comments
 (0)