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 C# version to 3.0.0-beta.20230803.1 #38003

Merged
Merged
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 @@ -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