Skip to content

Commit b6f3256

Browse files
upgrade to typespec 1.2.0 (Azure#35932)
1 parent 1e84d78 commit b6f3256

File tree

96 files changed

+385
-285
lines changed

Some content is hidden

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

96 files changed

+385
-285
lines changed

package-lock.json

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

package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,34 @@
44
"@azure-tools/spec-gen-sdk": "~0.8.0",
55
"@azure-tools/specs-shared": "file:.github/shared",
66
"@azure-tools/typespec-apiview": "0.7.2",
7-
"@azure-tools/typespec-autorest": "0.57.1",
8-
"@azure-tools/typespec-azure-core": "0.57.0",
9-
"@azure-tools/typespec-azure-portal-core": "0.57.0",
10-
"@azure-tools/typespec-azure-resource-manager": "0.57.2",
11-
"@azure-tools/typespec-azure-rulesets": "0.57.1",
7+
"@azure-tools/typespec-autorest": "0.58.0",
8+
"@azure-tools/typespec-azure-core": "0.58.0",
9+
"@azure-tools/typespec-azure-portal-core": "0.58.0",
10+
"@azure-tools/typespec-azure-resource-manager": "0.58.0",
11+
"@azure-tools/typespec-azure-rulesets": "0.58.0",
1212
"@azure-tools/typespec-client-generator-cli": "0.25.0",
13-
"@azure-tools/typespec-client-generator-core": "0.57.3",
13+
"@azure-tools/typespec-client-generator-core": "0.58.0",
1414
"@azure-tools/typespec-liftr-base": "0.8.0",
1515
"@autorest/openapi-to-typespec": "0.11.3",
1616
"@azure/avocado": "^0.9.1",
17-
"@typespec/compiler": "1.1.0",
18-
"@typespec/http": "1.1.0",
19-
"@typespec/sse": "0.71.0",
20-
"@typespec/events": "0.71.0",
21-
"@typespec/openapi": "1.1.0",
22-
"@typespec/openapi3": "1.1.0",
23-
"@typespec/prettier-plugin-typespec": "1.1.0",
24-
"@typespec/rest": "0.71.0",
25-
"@typespec/streams": "0.71.0",
26-
"@typespec/versioning": "0.71.0",
27-
"@typespec/xml": "0.71.0",
17+
"@typespec/compiler": "1.2.1",
18+
"@typespec/http": "1.2.1",
19+
"@typespec/sse": "0.72.1",
20+
"@typespec/events": "0.72.1",
21+
"@typespec/openapi": "1.2.1",
22+
"@typespec/openapi3": "1.2.1",
23+
"@typespec/prettier-plugin-typespec": "1.2.1",
24+
"@typespec/rest": "0.72.1",
25+
"@typespec/streams": "0.72.1",
26+
"@typespec/versioning": "0.72.1",
27+
"@typespec/xml": "0.72.1",
2828
"azure-rest-api-specs-eng-tools": "file:eng/tools",
2929
"oav": "^3.6.1",
3030
"prettier": "~3.5.3",
3131
"typescript": "~5.8.2"
3232
},
3333
"overrides": {
34-
"@typespec/asset-emitter": "0.71.0",
34+
"@typespec/asset-emitter": "0.72.1",
3535
"jsonpath-plus": "^10.3.0"
3636
},
3737
"engines": {

specification/ai/data-plane/Azure.AI.Projects/preview/2025-05-15-preview/azure-ai-projects.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1899,7 +1899,7 @@
18991899
},
19001900
"Azure.Core.Foundations.InnerError": {
19011901
"type": "object",
1902-
"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.",
1902+
"description": "An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.",
19031903
"properties": {
19041904
"code": {
19051905
"type": "string",

specification/ai/data-plane/Azure.AI.Projects/stable/2025-05-01/azure-ai-projects.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@
11381138
},
11391139
"Azure.Core.Foundations.InnerError": {
11401140
"type": "object",
1141-
"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.",
1141+
"description": "An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.",
11421142
"properties": {
11431143
"code": {
11441144
"type": "string",

specification/ai/data-plane/Azure.AI.Projects/stable/v1/azure-ai-projects.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@
11381138
},
11391139
"Azure.Core.Foundations.InnerError": {
11401140
"type": "object",
1141-
"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.",
1141+
"description": "An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.",
11421142
"properties": {
11431143
"code": {
11441144
"type": "string",

specification/ai/data-plane/ContentUnderstanding/preview/2025-05-01-preview/ContentUnderstanding.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2924,7 +2924,7 @@
29242924
},
29252925
"Azure.Core.Foundations.InnerError": {
29262926
"type": "object",
2927-
"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.",
2927+
"description": "An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.",
29282928
"properties": {
29292929
"code": {
29302930
"type": "string",

specification/ai/data-plane/HealthInsights/preview/2024-08-01-preview/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@
493493
},
494494
"Azure.Core.Foundations.InnerError": {
495495
"type": "object",
496-
"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.",
496+
"description": "An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.",
497497
"properties": {
498498
"code": {
499499
"type": "string",

specification/ai/data-plane/HealthInsights/stable/2024-04-01/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@
281281
},
282282
"Azure.Core.Foundations.InnerError": {
283283
"type": "object",
284-
"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.",
284+
"description": "An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.",
285285
"properties": {
286286
"code": {
287287
"type": "string",

specification/ai/data-plane/HealthInsights/stable/2024-10-01/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@
299299
},
300300
"Azure.Core.Foundations.InnerError": {
301301
"type": "object",
302-
"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.",
302+
"description": "An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.",
303303
"properties": {
304304
"code": {
305305
"type": "string",

specification/ai/data-plane/ImageAnalysis/stable/2023-10-01/generated.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@
420420
},
421421
"Azure.Core.Foundations.InnerError": {
422422
"type": "object",
423-
"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.",
423+
"description": "An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.",
424424
"properties": {
425425
"code": {
426426
"type": "string",

0 commit comments

Comments
 (0)