Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update autorest version to prerelease 3.0.0-alpha.20250306.6 #48621

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eng/Packages.Data.props
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
All should have PrivateAssets="All" set so they don't become package dependencies
-->
<ItemGroup>
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20250306.2" PrivateAssets="All" />
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-alpha.20250306.6" PrivateAssets="All" />
<PackageReference Update="Azure.ClientSdk.Analyzers" Version="0.1.1-dev.20250227.2" PrivateAssets="All" />
<PackageReference Update="coverlet.collector" Version="3.2.0" PrivateAssets="All" />
<!-- Note: Upgrading the .NET SDK version needs to be synchronized with the autorest.csharp repository -->
Expand Down
1,089 changes: 844 additions & 245 deletions eng/emitter-package-lock.json

Large diffs are not rendered by default.

27 changes: 15 additions & 12 deletions eng/emitter-package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
{
"main": "dist/src/index.js",
"dependencies": {
"@azure-tools/typespec-csharp": "0.2.0-beta.20250306.2"
"@azure-tools/typespec-csharp": "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-js-test-autorest/npm/registry/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-alpha.20250306.6.tgz"
},
"devDependencies": {
"@azure-tools/typespec-autorest": "0.51.0",
"@azure-tools/typespec-azure-core": "0.51.0",
"@azure-tools/typespec-azure-resource-manager": "0.51.0",
"@azure-tools/typespec-azure-rulesets": "0.51.0",
"@azure-tools/typespec-client-generator-core": "0.51.3",
"@azure-tools/typespec-autorest": "0.52.0",
"@azure-tools/typespec-azure-core": "0.52.0",
"@azure-tools/typespec-azure-resource-manager": "0.52.0",
"@azure-tools/typespec-azure-rulesets": "0.52.0",
"@azure-tools/typespec-client-generator-core": "0.52.0",
"@azure-tools/typespec-liftr-base": "0.7.0",
"@typespec/compiler": "0.65.0",
"@typespec/http": "0.65.0",
"@typespec/openapi": "0.65.0",
"@typespec/rest": "0.65.0",
"@typespec/versioning": "0.65.0",
"@typespec/xml": "0.65.0"
"@typespec/compiler": "0.66.0",
"@typespec/http": "0.66.0",
"@typespec/openapi": "0.66.0",
"@typespec/rest": "0.66.0",
"@typespec/versioning": "0.66.0",
"@typespec/xml": "0.66.0"
},
"overrides": {
"@autorest/csharp": "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-js-test-autorest/npm/registry/@autorest/csharp/-/csharp-3.0.0-alpha.20250306.6.tgz"
}
}
2 changes: 1 addition & 1 deletion sdk/batch/Azure.Compute.Batch/tsp-location.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
directory: specification/batch/Azure.Batch
commit: 9df71d5a717e4ed5e6728e7e6ba2fead60f62243
commit: 5e579fc4b4b16fd902a0cd9d4032fef430f3a859
repo: Azure/azure-rest-api-specs
30 changes: 16 additions & 14 deletions sdk/communication/Azure.Communication.Messages/tspCodeModel.json
Original file line number Diff line number Diff line change
Expand Up @@ -5063,7 +5063,6 @@
"BodyType": {
"$ref": "561"
},
"BodyMediaType": "Json",
"Headers": [
{
"$id": "633",
Expand Down Expand Up @@ -5102,7 +5101,6 @@
}
],
"HttpMethod": "POST",
"RequestBodyMediaType": "Json",
"Uri": "{endpoint}",
"Path": "/messages/notifications:send",
"RequestMediaTypes": [
Expand Down Expand Up @@ -5245,7 +5243,6 @@
"crossLanguageDefinitionId": "TypeSpec.bytes",
"decorators": []
},
"BodyMediaType": "Json",
"Headers": [
{
"$id": "652",
Expand Down Expand Up @@ -5294,7 +5291,6 @@
}
],
"HttpMethod": "GET",
"RequestBodyMediaType": "None",
"Uri": "{endpoint}",
"Path": "/messages/streams/{id}",
"BufferResponse": true,
Expand Down Expand Up @@ -5550,7 +5546,6 @@
"BodyType": {
"$ref": "601"
},
"BodyMediaType": "Json",
"Headers": [
{
"$id": "686",
Expand Down Expand Up @@ -5580,14 +5575,21 @@
}
],
"HttpMethod": "GET",
"RequestBodyMediaType": "None",
"Uri": "{endpoint}",
"Path": "/messages/channels/{channelId}/templates",
"BufferResponse": true,
"Paging": {
"$id": "689",
"ItemName": "value",
"NextLinkName": "nextLink"
"ItemPropertySegments": [
"value"
],
"NextLink": {
"$id": "690",
"ResponseSegments": [
"nextLink"
],
"ResponseLocation": "Body"
}
},
"GenerateProtocolMethod": true,
"GenerateConvenienceMethod": true,
Expand All @@ -5596,16 +5598,16 @@
}
],
"Protocol": {
"$id": "690"
"$id": "691"
},
"Parameters": [
{
"$id": "691",
"$id": "692",
"Name": "endpoint",
"NameInRequest": "endpoint",
"Doc": "The communication resource, for example https://my-resource.communication.azure.com",
"Type": {
"$id": "692",
"$id": "693",
"kind": "url",
"name": "url",
"crossLanguageDefinitionId": "TypeSpec.url"
Expand All @@ -5626,15 +5628,15 @@
}
],
"Auth": {
"$id": "693",
"$id": "694",
"OAuth2": {
"$id": "694",
"$id": "695",
"Scopes": [
"https://communication.azure.com/.default"
]
},
"ApiKey": {
"$id": "695",
"$id": "696",
"Name": "Authorization",
"In": "header"
}
Expand Down

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

Loading
Loading