Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 491512f

Browse files
committed
Fix stack overflow exception on build commands
1 parent f881cde commit 491512f

File tree

359 files changed

+0
-2821
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

359 files changed

+0
-2821
lines changed

src/generated/Admin/ServiceAnnouncement/HealthOverviews/Item/ServiceHealthRequestBuilder.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ public Command BuildGetCommand() {
6666
public Command BuildIssuesCommand() {
6767
var command = new Command("issues");
6868
var builder = new ApiSdk.Admin.ServiceAnnouncement.HealthOverviews.Item.Issues.IssuesRequestBuilder(PathParameters, RequestAdapter);
69-
foreach (var cmd in builder.BuildCommand()) {
70-
command.AddCommand(cmd);
71-
}
7269
command.AddCommand(builder.BuildCreateCommand());
7370
command.AddCommand(builder.BuildListCommand());
7471
return command;

src/generated/Admin/ServiceAnnouncement/ServiceAnnouncementRequestBuilder.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,19 +64,13 @@ public Command BuildGetCommand() {
6464
public Command BuildHealthOverviewsCommand() {
6565
var command = new Command("health-overviews");
6666
var builder = new ApiSdk.Admin.ServiceAnnouncement.HealthOverviews.HealthOverviewsRequestBuilder(PathParameters, RequestAdapter);
67-
foreach (var cmd in builder.BuildCommand()) {
68-
command.AddCommand(cmd);
69-
}
7067
command.AddCommand(builder.BuildCreateCommand());
7168
command.AddCommand(builder.BuildListCommand());
7269
return command;
7370
}
7471
public Command BuildIssuesCommand() {
7572
var command = new Command("issues");
7673
var builder = new ApiSdk.Admin.ServiceAnnouncement.Issues.IssuesRequestBuilder(PathParameters, RequestAdapter);
77-
foreach (var cmd in builder.BuildCommand()) {
78-
command.AddCommand(cmd);
79-
}
8074
command.AddCommand(builder.BuildCreateCommand());
8175
command.AddCommand(builder.BuildListCommand());
8276
return command;
@@ -85,9 +79,6 @@ public Command BuildMessagesCommand() {
8579
var command = new Command("messages");
8680
var builder = new ApiSdk.Admin.ServiceAnnouncement.Messages.MessagesRequestBuilder(PathParameters, RequestAdapter);
8781
command.AddCommand(builder.BuildArchiveCommand());
88-
foreach (var cmd in builder.BuildCommand()) {
89-
command.AddCommand(cmd);
90-
}
9182
command.AddCommand(builder.BuildCreateCommand());
9283
command.AddCommand(builder.BuildFavoriteCommand());
9384
command.AddCommand(builder.BuildListCommand());

src/generated/Agreements/Item/AgreementRequestBuilder.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ public class AgreementRequestBuilder {
2525
public Command BuildAcceptancesCommand() {
2626
var command = new Command("acceptances");
2727
var builder = new ApiSdk.Agreements.Item.Acceptances.AcceptancesRequestBuilder(PathParameters, RequestAdapter);
28-
foreach (var cmd in builder.BuildCommand()) {
29-
command.AddCommand(cmd);
30-
}
3128
command.AddCommand(builder.BuildCreateCommand());
3229
command.AddCommand(builder.BuildListCommand());
3330
return command;
@@ -61,9 +58,6 @@ public Command BuildFileCommand() {
6158
public Command BuildFilesCommand() {
6259
var command = new Command("files");
6360
var builder = new ApiSdk.Agreements.Item.Files.FilesRequestBuilder(PathParameters, RequestAdapter);
64-
foreach (var cmd in builder.BuildCommand()) {
65-
command.AddCommand(cmd);
66-
}
6761
command.AddCommand(builder.BuildCreateCommand());
6862
command.AddCommand(builder.BuildListCommand());
6963
return command;

src/generated/Agreements/Item/File/FileRequestBuilder.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ public Command BuildGetCommand() {
6666
public Command BuildLocalizationsCommand() {
6767
var command = new Command("localizations");
6868
var builder = new ApiSdk.Agreements.Item.File.Localizations.LocalizationsRequestBuilder(PathParameters, RequestAdapter);
69-
foreach (var cmd in builder.BuildCommand()) {
70-
command.AddCommand(cmd);
71-
}
7269
command.AddCommand(builder.BuildCreateCommand());
7370
command.AddCommand(builder.BuildListCommand());
7471
return command;

src/generated/Agreements/Item/File/Localizations/Item/AgreementFileLocalizationRequestBuilder.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ public Command BuildPatchCommand() {
9393
public Command BuildVersionsCommand() {
9494
var command = new Command("versions");
9595
var builder = new ApiSdk.Agreements.Item.File.Localizations.Item.Versions.VersionsRequestBuilder(PathParameters, RequestAdapter);
96-
foreach (var cmd in builder.BuildCommand()) {
97-
command.AddCommand(cmd);
98-
}
9996
command.AddCommand(builder.BuildCreateCommand());
10097
command.AddCommand(builder.BuildListCommand());
10198
return command;

src/generated/Agreements/Item/Files/Item/AgreementFileLocalizationRequestBuilder.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ public Command BuildPatchCommand() {
9393
public Command BuildVersionsCommand() {
9494
var command = new Command("versions");
9595
var builder = new ApiSdk.Agreements.Item.Files.Item.Versions.VersionsRequestBuilder(PathParameters, RequestAdapter);
96-
foreach (var cmd in builder.BuildCommand()) {
97-
command.AddCommand(cmd);
98-
}
9996
command.AddCommand(builder.BuildCreateCommand());
10097
command.AddCommand(builder.BuildListCommand());
10198
return command;

src/generated/AppCatalogs/AppCatalogsRequestBuilder.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ public Command BuildPatchCommand() {
6666
public Command BuildTeamsAppsCommand() {
6767
var command = new Command("teams-apps");
6868
var builder = new ApiSdk.AppCatalogs.TeamsApps.TeamsAppsRequestBuilder(PathParameters, RequestAdapter);
69-
foreach (var cmd in builder.BuildCommand()) {
70-
command.AddCommand(cmd);
71-
}
7269
command.AddCommand(builder.BuildCreateCommand());
7370
command.AddCommand(builder.BuildListCommand());
7471
return command;

src/generated/AppCatalogs/TeamsApps/Item/TeamsAppRequestBuilder.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ public class TeamsAppRequestBuilder {
2323
public Command BuildAppDefinitionsCommand() {
2424
var command = new Command("app-definitions");
2525
var builder = new ApiSdk.AppCatalogs.TeamsApps.Item.AppDefinitions.AppDefinitionsRequestBuilder(PathParameters, RequestAdapter);
26-
foreach (var cmd in builder.BuildCommand()) {
27-
command.AddCommand(cmd);
28-
}
2926
command.AddCommand(builder.BuildCreateCommand());
3027
command.AddCommand(builder.BuildListCommand());
3128
return command;

src/generated/Applications/Item/ApplicationRequestBuilder.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ public Command BuildDeleteCommand() {
8888
public Command BuildExtensionPropertiesCommand() {
8989
var command = new Command("extension-properties");
9090
var builder = new ApiSdk.Applications.Item.ExtensionProperties.ExtensionPropertiesRequestBuilder(PathParameters, RequestAdapter);
91-
foreach (var cmd in builder.BuildCommand()) {
92-
command.AddCommand(cmd);
93-
}
9491
command.AddCommand(builder.BuildCreateCommand());
9592
command.AddCommand(builder.BuildListCommand());
9693
return command;

src/generated/AuditLogs/AuditLogsRequestBuilder.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ public class AuditLogsRequestBuilder {
2626
public Command BuildDirectoryAuditsCommand() {
2727
var command = new Command("directory-audits");
2828
var builder = new ApiSdk.AuditLogs.DirectoryAudits.DirectoryAuditsRequestBuilder(PathParameters, RequestAdapter);
29-
foreach (var cmd in builder.BuildCommand()) {
30-
command.AddCommand(cmd);
31-
}
3229
command.AddCommand(builder.BuildCreateCommand());
3330
command.AddCommand(builder.BuildListCommand());
3431
return command;
@@ -79,29 +76,20 @@ public Command BuildPatchCommand() {
7976
public Command BuildProvisioningCommand() {
8077
var command = new Command("provisioning");
8178
var builder = new ApiSdk.AuditLogs.Provisioning.ProvisioningRequestBuilder(PathParameters, RequestAdapter);
82-
foreach (var cmd in builder.BuildCommand()) {
83-
command.AddCommand(cmd);
84-
}
8579
command.AddCommand(builder.BuildCreateCommand());
8680
command.AddCommand(builder.BuildListCommand());
8781
return command;
8882
}
8983
public Command BuildRestrictedSignInsCommand() {
9084
var command = new Command("restricted-sign-ins");
9185
var builder = new ApiSdk.AuditLogs.RestrictedSignIns.RestrictedSignInsRequestBuilder(PathParameters, RequestAdapter);
92-
foreach (var cmd in builder.BuildCommand()) {
93-
command.AddCommand(cmd);
94-
}
9586
command.AddCommand(builder.BuildCreateCommand());
9687
command.AddCommand(builder.BuildListCommand());
9788
return command;
9889
}
9990
public Command BuildSignInsCommand() {
10091
var command = new Command("sign-ins");
10192
var builder = new ApiSdk.AuditLogs.SignIns.SignInsRequestBuilder(PathParameters, RequestAdapter);
102-
foreach (var cmd in builder.BuildCommand()) {
103-
command.AddCommand(cmd);
104-
}
10593
command.AddCommand(builder.BuildCreateCommand());
10694
command.AddCommand(builder.BuildListCommand());
10795
return command;

0 commit comments

Comments
 (0)