Skip to content

Commit 639fb50

Browse files
CopilotMaryGao
andauthored
Upgrade TypeSpec and TCGC versions to latest releases (#3381)
* Initial plan * Upgrade TypeSpec and TCGC versions to latest releases Co-authored-by: MaryGao <9943211+MaryGao@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: MaryGao <9943211+MaryGao@users.noreply.github.com>
1 parent 9f296cf commit 639fb50

16 files changed

Lines changed: 528 additions & 303 deletions

File tree

common/config/rush/pnpm-lock.yaml

Lines changed: 269 additions & 263 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/typespec-test/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
"type": "module",
55
"dependencies": {
66
"@azure-tools/typespec-ts": "workspace:^0.42.0",
7-
"@typespec/openapi": "^1.1.0",
8-
"@azure-tools/typespec-autorest": "^0.57.1",
9-
"@typespec/openapi3": "^1.1.0",
10-
"@azure-tools/typespec-azure-core": "^0.57.0",
11-
"@azure-tools/typespec-client-generator-core": "^0.57.3",
12-
"@azure-tools/typespec-azure-resource-manager": "^0.57.2",
13-
"@azure-tools/typespec-azure-rulesets": "^0.57.1",
14-
"@typespec/compiler": "^1.1.0",
15-
"@typespec/http": "^1.1.0",
16-
"@typespec/rest": "^0.71.0",
17-
"@typespec/versioning": "^0.71.0",
18-
"@typespec/json-schema": "^1.1.0",
7+
"@typespec/openapi": "^1.2.1",
8+
"@azure-tools/typespec-autorest": "^0.58.0",
9+
"@typespec/openapi3": "^1.2.1",
10+
"@azure-tools/typespec-azure-core": "^0.58.0",
11+
"@azure-tools/typespec-client-generator-core": "^0.58.0",
12+
"@azure-tools/typespec-azure-resource-manager": "^0.58.0",
13+
"@azure-tools/typespec-azure-rulesets": "^0.58.0",
14+
"@typespec/compiler": "^1.2.1",
15+
"@typespec/http": "^1.2.1",
16+
"@typespec/rest": "^0.72.1",
17+
"@typespec/versioning": "^0.72.1",
18+
"@typespec/json-schema": "^1.2.1",
1919
"prettier": "^3.1.0"
2020
},
2121
"devDependencies": {

packages/typespec-test/test/authoring/generated/openapi/2022-05-15-preview/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@
929929
},
930930
"Azure.Core.Foundations.InnerError": {
931931
"type": "object",
932-
"description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#handling-errors.",
932+
"description": "An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.",
933933
"properties": {
934934
"code": {
935935
"type": "string",

packages/typespec-test/test/confidentialLedger/generated/openapi/2022-05-13/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@
588588
},
589589
"Azure.Core.Foundations.InnerError": {
590590
"type": "object",
591-
"description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#handling-errors.",
591+
"description": "An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.",
592592
"properties": {
593593
"code": {
594594
"type": "string",

packages/typespec-test/test/contoso/generated/openapi/2022-11-01-preview/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@
348348
},
349349
"Azure.Core.Foundations.InnerError": {
350350
"type": "object",
351-
"description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#handling-errors.",
351+
"description": "An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.",
352352
"properties": {
353353
"code": {
354354
"type": "string",

packages/typespec-test/test/openai/generated/openapi/2022-12-01/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
},
202202
"Azure.Core.Foundations.InnerError": {
203203
"type": "object",
204-
"description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#handling-errors.",
204+
"description": "An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.",
205205
"properties": {
206206
"code": {
207207
"type": "string",

packages/typespec-test/test/openai/generated/openapi/2023-05-15/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@
247247
},
248248
"Azure.Core.Foundations.InnerError": {
249249
"type": "object",
250-
"description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#handling-errors.",
250+
"description": "An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.",
251251
"properties": {
252252
"code": {
253253
"type": "string",

packages/typespec-test/test/openai/generated/openapi/2023-06-01-preview/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@
332332
},
333333
"Azure.Core.Foundations.InnerError": {
334334
"type": "object",
335-
"description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#handling-errors.",
335+
"description": "An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.",
336336
"properties": {
337337
"code": {
338338
"type": "string",

packages/typespec-test/test/openai/generated/openapi/2023-07-01-preview/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@
332332
},
333333
"Azure.Core.Foundations.InnerError": {
334334
"type": "object",
335-
"description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#handling-errors.",
335+
"description": "An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.",
336336
"properties": {
337337
"code": {
338338
"type": "string",

packages/typespec-test/test/openai/generated/openapi/2023-08-01-preview/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@
378378
},
379379
"Azure.Core.Foundations.InnerError": {
380380
"type": "object",
381-
"description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#handling-errors.",
381+
"description": "An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.",
382382
"properties": {
383383
"code": {
384384
"type": "string",

0 commit comments

Comments
 (0)