From 4f3af2553f1f6e519b57cc4c3db115a614295f4a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 28 Aug 2026 23:54:07 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/SoundCloud.JsonSerializerContext.g.cs | 4 ++-- .../Generated/SoundCloud.JsonSerializerContextTypes.g.cs | 4 ++-- .../SoundCloud/Generated/SoundCloud.Models.Users.g.cs | 4 ++-- .../SoundCloud/Generated/SoundCloud.PathBuilder.g.cs | 9 +++++---- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/libs/SoundCloud/Generated/SoundCloud.JsonSerializerContext.g.cs b/src/libs/SoundCloud/Generated/SoundCloud.JsonSerializerContext.g.cs index 5a7a36f..0e30005 100644 --- a/src/libs/SoundCloud/Generated/SoundCloud.JsonSerializerContext.g.cs +++ b/src/libs/SoundCloud/Generated/SoundCloud.JsonSerializerContext.g.cs @@ -264,7 +264,7 @@ namespace SoundCloud [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::SoundCloud.MeSubscription), GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata)] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::SoundCloud.MeSubscriptionProduct), GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata)] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::SoundCloud.Users), GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata)] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata)] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList), GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata)] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::SoundCloud.Track), GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata)] [global::System.Text.Json.Serialization.JsonSerializable(typeof(double))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(long), GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata)] @@ -339,7 +339,7 @@ namespace SoundCloud [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata)] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata)] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata)] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata)] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata)] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata)] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata)] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), GenerationMode = global::System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata)] diff --git a/src/libs/SoundCloud/Generated/SoundCloud.JsonSerializerContextTypes.g.cs b/src/libs/SoundCloud/Generated/SoundCloud.JsonSerializerContextTypes.g.cs index d12d369..d6e25e3 100644 --- a/src/libs/SoundCloud/Generated/SoundCloud.JsonSerializerContextTypes.g.cs +++ b/src/libs/SoundCloud/Generated/SoundCloud.JsonSerializerContextTypes.g.cs @@ -220,7 +220,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.IList? Type48 { get; set; } + public global::System.Collections.Generic.IList? Type48 { get; set; } /// /// /// @@ -521,7 +521,7 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::System.Collections.Generic.List? ListType3 { get; set; } + public global::System.Collections.Generic.List? ListType3 { get; set; } /// /// /// diff --git a/src/libs/SoundCloud/Generated/SoundCloud.Models.Users.g.cs b/src/libs/SoundCloud/Generated/SoundCloud.Models.Users.g.cs index 9320cf0..f1ba6f4 100644 --- a/src/libs/SoundCloud/Generated/SoundCloud.Models.Users.g.cs +++ b/src/libs/SoundCloud/Generated/SoundCloud.Models.Users.g.cs @@ -12,7 +12,7 @@ public sealed partial class Users /// /// [global::System.Text.Json.Serialization.JsonPropertyName("collection")] - public global::System.Collections.Generic.IList? Collection { get; set; } + public global::System.Collections.Generic.IList? Collection { get; set; } /// /// @@ -35,7 +35,7 @@ public sealed partial class Users [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public Users( - global::System.Collections.Generic.IList? collection, + global::System.Collections.Generic.IList? collection, string? nextHref) { this.Collection = collection; diff --git a/src/libs/SoundCloud/Generated/SoundCloud.PathBuilder.g.cs b/src/libs/SoundCloud/Generated/SoundCloud.PathBuilder.g.cs index a1b820c..56a0b1a 100644 --- a/src/libs/SoundCloud/Generated/SoundCloud.PathBuilder.g.cs +++ b/src/libs/SoundCloud/Generated/SoundCloud.PathBuilder.g.cs @@ -65,13 +65,14 @@ public PathBuilder AddRequiredParameter( /// The current instance. public PathBuilder AddRequiredParameter( string name, - global::System.Collections.Generic.IEnumerable value, + global::System.Collections.Generic.IEnumerable value, string delimiter = ",", bool explode = false) { + var nonNullValues = global::System.Linq.Enumerable.OfType(value); if (explode) { - foreach (var item in value) + foreach (var item in nonNullValues) { AddRequiredParameter($"{name}", item); } @@ -79,7 +80,7 @@ public PathBuilder AddRequiredParameter( return this; } - AddRequiredParameter(name, string.Join(delimiter, value)); + AddRequiredParameter(name, string.Join(delimiter, nonNullValues)); return this; } @@ -138,7 +139,7 @@ public PathBuilder AddOptionalParameter( /// The current instance. public PathBuilder AddOptionalParameter( string name, - global::System.Collections.Generic.IEnumerable? value, + global::System.Collections.Generic.IEnumerable? value, string delimiter = ",", bool explode = false) {