Skip to content

Commit

Permalink
Version bump of TCGC (#4522)
Browse files Browse the repository at this point in the history
  • Loading branch information
live1206 authored Sep 25, 2024
1 parent 26c2924 commit a8e1d43
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ function fromSdkHttpOperationResponses(
for (const r of operationResponses) {
const range = r.statusCodes;
responses.set(r, {
StatusCodes: toStatusCodesArray(range as number | HttpStatusCodeRange), // the status code of responses would never be *
StatusCodes: toStatusCodesArray(range),
BodyType: r.type ? fromSdkType(r.type, sdkContext, typeMap) : undefined,
BodyMediaType: BodyMediaType.Json,
Headers: fromSdkServiceResponseHeaders(r.headers, sdkContext, typeMap),
Expand Down
23 changes: 12 additions & 11 deletions packages/http-client-csharp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/http-client-csharp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@azure-tools/cadl-ranch": "0.14.5",
"@azure-tools/cadl-ranch-specs": "0.37.2",
"@azure-tools/typespec-azure-core": "0.46.0",
"@azure-tools/typespec-client-generator-core": "0.46.1",
"@azure-tools/typespec-client-generator-core": "0.46.2",
"@microsoft/api-extractor": "^7.40.3",
"@types/node": "~18.13.0",
"@typespec/compiler": "0.60.0",
Expand Down

0 comments on commit a8e1d43

Please sign in to comment.