Skip to content

Commit

Permalink
Update AutoRest C# version to 3.0.0-beta.20230803.1 (#38003)
Browse files Browse the repository at this point in the history
* Update Generator Version 3.0.0-beta.20230803.1

* Update SDK codes

* Update SDK codes

* Update SDK codes

* Update SDK codes
  • Loading branch information
azure-sdk authored Aug 3, 2023
1 parent 8e542db commit 594196b
Show file tree
Hide file tree
Showing 32 changed files with 9,227 additions and 719 deletions.
2 changes: 1 addition & 1 deletion eng/Packages.Data.props
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,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.20230801.2" PrivateAssets="All" />
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20230803.1" PrivateAssets="All" />
<PackageReference Update="Azure.ClientSdk.Analyzers" Version="0.1.1-dev.20230131.1" PrivateAssets="All" />
<PackageReference Update="coverlet.collector" Version="3.2.0" PrivateAssets="All" />
<PackageReference Update="Microsoft.CodeAnalysis.NetAnalyzers" Version="7.0.1" PrivateAssets="All" />
Expand Down
2 changes: 1 addition & 1 deletion eng/emitter-package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"main": "dist/src/index.js",
"dependencies": {
"@azure-tools/typespec-csharp": "0.2.0-beta.20230801.2"
"@azure-tools/typespec-csharp": "0.2.0-beta.20230803.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,30 @@ var data = new {
harvestProductDetails = new[] {
new {
productName = "<productName>",
area = new {
unit = "<unit>",
value = 123.45d,
},
totalYield = new {
unit = "<unit>",
value = 123.45d,
},
avgYield = new {
unit = "<unit>",
value = 123.45d,
},
avgMoisture = new {
unit = "<unit>",
value = 123.45d,
},
totalWetMass = new {
unit = "<unit>",
value = 123.45d,
},
avgWetMass = new {
unit = "<unit>",
value = 123.45d,
},
}
},
area = new {
Expand Down Expand Up @@ -328,6 +352,30 @@ var data = new {
harvestProductDetails = new[] {
new {
productName = "<productName>",
area = new {
unit = "<unit>",
value = 123.45d,
},
totalYield = new {
unit = "<unit>",
value = 123.45d,
},
avgYield = new {
unit = "<unit>",
value = 123.45d,
},
avgMoisture = new {
unit = "<unit>",
value = 123.45d,
},
totalWetMass = new {
unit = "<unit>",
value = 123.45d,
},
avgWetMass = new {
unit = "<unit>",
value = 123.45d,
},
}
},
area = new {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,18 @@ var data = new {
plantingProductDetails = new[] {
new {
productName = "<productName>",
area = new {
unit = "<unit>",
value = 123.45d,
},
totalMaterial = new {
unit = "<unit>",
value = 123.45d,
},
avgMaterial = new {
unit = "<unit>",
value = 123.45d,
},
}
},
area = new {
Expand Down Expand Up @@ -218,6 +230,18 @@ var data = new {
plantingProductDetails = new[] {
new {
productName = "<productName>",
area = new {
unit = "<unit>",
value = 123.45d,
},
totalMaterial = new {
unit = "<unit>",
value = 123.45d,
},
avgMaterial = new {
unit = "<unit>",
value = 123.45d,
},
}
},
area = new {
Expand Down

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

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

Original file line number Diff line number Diff line change
Expand Up @@ -1144,6 +1144,13 @@ var data = new {
activeLearningSuggestions = new[] {
new {
clusterHead = "<clusterHead>",
suggestedQuestions = new[] {
new {
question = "<question>",
userSuggestedCount = 1234,
autoSuggestedCount = 1234,
}
},
}
},
}
Expand Down Expand Up @@ -1259,6 +1266,13 @@ var data = new {
activeLearningSuggestions = new[] {
new {
clusterHead = "<clusterHead>",
suggestedQuestions = new[] {
new {
question = "<question>",
userSuggestedCount = 1234,
autoSuggestedCount = 1234,
}
},
}
},
}
Expand Down

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

Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,13 @@ var data = new {
isCanceled = true,
isRetried = true,
rollbackPolicy = new {
update = new {
updateId = new {
provider = "<provider>",
name = "<name>",
version = "<version>",
},
},
failure = new {
devicesFailedPercentage = 1234,
devicesFailedCount = 1234,
Expand Down Expand Up @@ -652,6 +659,13 @@ var data = new {
isCanceled = true,
isRetried = true,
rollbackPolicy = new {
update = new {
updateId = new {
provider = "<provider>",
name = "<name>",
version = "<version>",
},
},
failure = new {
devicesFailedPercentage = 1234,
devicesFailedCount = 1234,
Expand Down

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

Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ var trialMatcherData = new TrialMatcherData(new PatientRecord[]
AcceptedAgeRange = new AcceptedAgeRange()
{
MinimumAge = new AcceptedAge(AgeUnit.Years, 3.14f),
MaximumAge = new AcceptedAge(AgeUnit.Years, 3.14f),
},
},
}
Expand Down Expand Up @@ -236,6 +237,7 @@ var trialMatcherData = new TrialMatcherData(new PatientRecord[]
AcceptedAgeRange = new AcceptedAgeRange()
{
MinimumAge = new AcceptedAge(AgeUnit.Years, 3.14f),
MaximumAge = new AcceptedAge(AgeUnit.Years, 3.14f),
},
},
}
Expand Down

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

10 changes: 10 additions & 0 deletions sdk/openai/Azure.AI.OpenAI/src/Generated/Docs/OpenAIClient.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,11 @@ var chatCompletionsOptions = new ChatCompletionsOptions(new ChatMessage[]
Parameters = BinaryData.FromString("<your binary data content>"),
}
},
FunctionCall = new FunctionDefinition("<name>")
{
Description = "<Description>",
Parameters = BinaryData.FromString("<your binary data content>"),
},
MaxTokens = 1234,
Temperature = 3.14f,
NucleusSamplingFactor = 3.14f,
Expand Down Expand Up @@ -165,6 +170,11 @@ var chatCompletionsOptions = new ChatCompletionsOptions(new ChatMessage[]
Parameters = BinaryData.FromString("<your binary data content>"),
}
},
FunctionCall = new FunctionDefinition("<name>")
{
Description = "<Description>",
Parameters = BinaryData.FromString("<your binary data content>"),
},
MaxTokens = 1234,
Temperature = 3.14f,
NucleusSamplingFactor = 3.14f,
Expand Down

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

Loading

0 comments on commit 594196b

Please sign in to comment.