Skip to content

Commit dc2b7ba

Browse files
Upgrade typespec 1.0.0-rc.1 (Azure#34137)
1 parent f33ec2c commit dc2b7ba

84 files changed

Lines changed: 263 additions & 237 deletions

File tree

Some content is hidden

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

package-lock.json

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

package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,35 @@
33
"devDependencies": {
44
"@azure-tools/spec-gen-sdk": "^0.4.1",
55
"@azure-tools/typespec-apiview": "0.7.0",
6-
"@azure-tools/typespec-autorest": "0.54.0",
7-
"@azure-tools/typespec-azure-core": "0.54.0",
8-
"@azure-tools/typespec-azure-portal-core": "0.54.0",
9-
"@azure-tools/typespec-azure-resource-manager": "0.54.0",
10-
"@azure-tools/typespec-azure-rulesets": "0.54.0",
6+
"@azure-tools/typespec-autorest": "0.55.0",
7+
"@azure-tools/typespec-azure-core": "0.55.0",
8+
"@azure-tools/typespec-azure-portal-core": "0.55.0",
9+
"@azure-tools/typespec-azure-resource-manager": "0.55.0",
10+
"@azure-tools/typespec-azure-rulesets": "0.55.0",
1111
"@azure-tools/typespec-client-generator-cli": "0.20.0",
12-
"@azure-tools/typespec-client-generator-core": "0.54.1",
12+
"@azure-tools/typespec-client-generator-core": "0.55.0",
1313
"@azure-tools/typespec-liftr-base": "0.8.0",
1414
"@autorest/openapi-to-typespec": "0.11.0",
1515
"@azure/avocado": "^0.9.1",
16-
"@typespec/compiler": "1.0.0-rc.0",
17-
"@typespec/http": "1.0.0-rc.0",
18-
"@typespec/sse": "0.68.0",
19-
"@typespec/events": "0.68.0",
20-
"@typespec/openapi": "1.0.0-rc.0",
21-
"@typespec/openapi3": "1.0.0-rc.0",
22-
"@typespec/prettier-plugin-typespec": "0.68.0",
23-
"@typespec/rest": "0.68.0",
24-
"@typespec/streams": "0.68.0",
25-
"@typespec/versioning": "0.68.0",
26-
"@typespec/xml": "0.68.0",
16+
"@typespec/compiler": "1.0.0-rc.1",
17+
"@typespec/http": "1.0.0-rc.1",
18+
"@typespec/sse": "0.69.0",
19+
"@typespec/events": "0.69.0",
20+
"@typespec/openapi": "1.0.0-rc.1",
21+
"@typespec/openapi3": "1.0.0-rc.1",
22+
"@typespec/prettier-plugin-typespec": "1.0.0-rc.1",
23+
"@typespec/rest": "0.69.0",
24+
"@typespec/streams": "0.69.0",
25+
"@typespec/versioning": "0.69.0",
26+
"@typespec/xml": "0.69.0",
2727
"azure-rest-api-specs-eng-tools": "file:eng/tools",
2828
"oav": "^3.5.1",
2929
"prettier": "~3.5.3",
3030
"typescript": "~5.8.2"
3131
},
3232
"overrides": {
33-
"@typespec/compiler": "1.0.0-rc.0",
34-
"@typespec/asset-emitter": "0.68.0",
33+
"@typespec/compiler": "1.0.0-rc.1",
34+
"@typespec/asset-emitter": "0.69.0",
3535
"jsonpath-plus": "^10.3.0"
3636
},
3737
"engines": {

specification/ai/data-plane/ContentUnderstanding/preview/2024-12-01-preview/ContentUnderstanding.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@
942942
},
943943
"Azure.Core.Foundations.InnerError": {
944944
"type": "object",
945-
"description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.",
945+
"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.",
946946
"properties": {
947947
"code": {
948948
"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
@@ -494,7 +494,7 @@
494494
},
495495
"Azure.Core.Foundations.InnerError": {
496496
"type": "object",
497-
"description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.",
497+
"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.",
498498
"properties": {
499499
"code": {
500500
"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
@@ -282,7 +282,7 @@
282282
},
283283
"Azure.Core.Foundations.InnerError": {
284284
"type": "object",
285-
"description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.",
285+
"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.",
286286
"properties": {
287287
"code": {
288288
"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
@@ -512,7 +512,7 @@
512512
},
513513
"Azure.Core.Foundations.InnerError": {
514514
"type": "object",
515-
"description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.",
515+
"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.",
516516
"properties": {
517517
"code": {
518518
"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
@@ -421,7 +421,7 @@
421421
},
422422
"Azure.Core.Foundations.InnerError": {
423423
"type": "object",
424-
"description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.",
424+
"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.",
425425
"properties": {
426426
"code": {
427427
"type": "string",

specification/ai/data-plane/ModelInference/openapi/2024-05-01-preview/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ components:
234234
allOf:
235235
- $ref: '#/components/schemas/Azure.Core.Foundations.InnerError'
236236
description: Inner error.
237-
description: An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.
237+
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.
238238
ChatChoice:
239239
type: object
240240
required:

specification/ai/data-plane/ModelInference/openapi/2025-04-01/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ components:
241241
allOf:
242242
- $ref: '#/components/schemas/Azure.Core.Foundations.InnerError'
243243
description: Inner error.
244-
description: An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.
244+
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.
245245
ChatChoice:
246246
type: object
247247
required:

specification/ai/data-plane/ModelInference/preview/2024-05-01-preview/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@
421421
},
422422
"Azure.Core.Foundations.InnerError": {
423423
"type": "object",
424-
"description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.",
424+
"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.",
425425
"properties": {
426426
"code": {
427427
"type": "string",

0 commit comments

Comments
 (0)