Skip to content

Commit

Permalink
bump TCGC version to 0.48.6 (#5196)
Browse files Browse the repository at this point in the history
* bump to 0.48.6

* regen

* update to official version
  • Loading branch information
ArcturusZhang authored Dec 12, 2024
1 parent 0f4f9fe commit 430c7b3
Show file tree
Hide file tree
Showing 8 changed files with 1,445 additions and 2,777 deletions.
1,781 changes: 10 additions & 1,771 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"devDependencies": {
"@azure-tools/cadl-ranch-specs": "0.39.2",
"@azure-tools/typespec-client-generator-core": "0.48.4",
"@azure-tools/typespec-client-generator-core": "0.48.6",
"@azure-tools/typespec-azure-resource-manager": "0.48.0",
"@azure-tools/typespec-csharp": "file:src/TypeSpec.Extension/Emitter.Csharp",
"@azure-tools/unbranded-tests": "file:test/UnbrandedProjects",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ internal enum InputModelTypeUsage
Json = 1 << 8,
Xml = 1 << 9,
Exception = 1 << 10,
LroInitial = 1 << 11,
LroPolling = 1 << 12,
LroFinalEnvelope = 1 << 13,
}
4 changes: 2 additions & 2 deletions src/TypeSpec.Extension/Emitter.Csharp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
],
"dependencies": {
"@autorest/csharp": "3.0.0-beta.20240625.4",
"@typespec/http-client-csharp": "0.1.9-alpha.20241210.2"
"@typespec/http-client-csharp": "0.1.9-alpha.20241211.5"
},
"peerDependencies": {
"@azure-tools/typespec-azure-core": ">=0.48.0 <1.0.0",
Expand All @@ -52,7 +52,7 @@
},
"devDependencies": {
"@azure-tools/typespec-azure-core": "0.48.0",
"@azure-tools/typespec-client-generator-core": "0.48.4",
"@azure-tools/typespec-client-generator-core": "0.48.6",
"@azure-tools/typespec-azure-resource-manager": "0.48.0",
"@azure-tools/typespec-azure-rulesets": "0.48.0",
"@azure-tools/typespec-autorest": "0.48.0",
Expand Down
12 changes: 6 additions & 6 deletions test/CadlRanchProjects/azure/core/lro/rpc/tspCodeModel.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
"description": "Enum describing allowed operation states.",
"isFixed": false,
"isFlags": false,
"usage": "Output,Json",
"usage": "Json,LroInitial,LroPolling,LroFinalEnvelope",
"decorators": []
}
],
Expand Down Expand Up @@ -191,7 +191,7 @@
"kind": "model",
"name": "GenerationResult",
"crossLanguageDefinitionId": "_Specs_.Azure.Core.Lro.Rpc.GenerationResult",
"usage": "Output,Json",
"usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope",
"description": "Result of the generation.",
"decorators": [],
"properties": [
Expand Down Expand Up @@ -222,7 +222,7 @@
"kind": "model",
"name": "ResourceOperationStatusGenerationResponseGenerationResultError",
"crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus",
"usage": "Output,Json",
"usage": "Json,LroInitial",
"description": "Provides status details for long running operations.",
"decorators": [],
"properties": [
Expand Down Expand Up @@ -273,7 +273,7 @@
"kind": "model",
"name": "Error",
"crossLanguageDefinitionId": "Azure.Core.Foundations.Error",
"usage": "Output,Json,Exception",
"usage": "Json,Exception,LroInitial,LroPolling,LroFinalEnvelope",
"description": "The error object.",
"decorators": [],
"properties": [
Expand Down Expand Up @@ -371,7 +371,7 @@
"kind": "model",
"name": "InnerError",
"crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError",
"usage": "Output,Json,Exception",
"usage": "Json,Exception,LroInitial,LroPolling,LroFinalEnvelope",
"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.",
"decorators": [],
"properties": [
Expand Down Expand Up @@ -458,7 +458,7 @@
"kind": "model",
"name": "OperationStatusGenerationResultError",
"crossLanguageDefinitionId": "Azure.Core.Foundations.OperationStatus",
"usage": "Output",
"usage": "LroPolling,LroFinalEnvelope",
"description": "Provides status details for long running operations.",
"decorators": [],
"properties": [
Expand Down
16 changes: 8 additions & 8 deletions test/CadlRanchProjects/azure/core/lro/standard/tspCodeModel.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
"description": "Enum describing allowed operation states.",
"isFixed": false,
"isFlags": false,
"usage": "Output,Json",
"usage": "Json,LroInitial,LroPolling,LroFinalEnvelope",
"decorators": []
}
],
Expand All @@ -160,7 +160,7 @@
"kind": "model",
"name": "User",
"crossLanguageDefinitionId": "_Specs_.Azure.Core.Lro.Standard.User",
"usage": "Input,Output,Json",
"usage": "Input,Output,Json,LroInitial,LroFinalEnvelope",
"description": "Details about a user.",
"decorators": [],
"properties": [
Expand Down Expand Up @@ -211,7 +211,7 @@
"kind": "model",
"name": "ExportedUser",
"crossLanguageDefinitionId": "_Specs_.Azure.Core.Lro.Standard.ExportedUser",
"usage": "Output,Json",
"usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope",
"description": "The exported user data.",
"decorators": [],
"properties": [
Expand Down Expand Up @@ -262,7 +262,7 @@
"kind": "model",
"name": "OperationStatusError",
"crossLanguageDefinitionId": "Azure.Core.Foundations.OperationStatus",
"usage": "Output,Json",
"usage": "Json,LroInitial,LroPolling",
"description": "Provides status details for long running operations.",
"decorators": [],
"properties": [
Expand Down Expand Up @@ -313,7 +313,7 @@
"kind": "model",
"name": "Error",
"crossLanguageDefinitionId": "Azure.Core.Foundations.Error",
"usage": "Output,Json,Exception",
"usage": "Json,Exception,LroInitial,LroPolling,LroFinalEnvelope",
"description": "The error object.",
"decorators": [],
"properties": [
Expand Down Expand Up @@ -411,7 +411,7 @@
"kind": "model",
"name": "InnerError",
"crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError",
"usage": "Output,Json,Exception",
"usage": "Json,Exception,LroInitial,LroPolling,LroFinalEnvelope",
"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.",
"decorators": [],
"properties": [
Expand Down Expand Up @@ -482,7 +482,7 @@
"kind": "model",
"name": "ResourceOperationStatusUserExportedUserError",
"crossLanguageDefinitionId": "Azure.Core.ResourceOperationStatus",
"usage": "Output,Json",
"usage": "Json,LroInitial",
"description": "Provides status details for long running operations.",
"decorators": [],
"properties": [
Expand Down Expand Up @@ -561,7 +561,7 @@
"kind": "model",
"name": "OperationStatusExportedUserError",
"crossLanguageDefinitionId": "Azure.Core.Foundations.OperationStatus",
"usage": "Output",
"usage": "LroPolling,LroFinalEnvelope",
"description": "Provides status details for long running operations.",
"decorators": [],
"properties": [
Expand Down
Loading

0 comments on commit 430c7b3

Please sign in to comment.