From 1715a2009b700f0dfb72a4c8028b83bb8a0af42b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 29 Sep 2026 05:19:33 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/Inworld.JsonSerializerContext.g.cs | 5 ++--- .../Inworld.Models.JsonSerializerContext.g.cs | 9 ++------- .../Inworld/Generated/Inworld.OptionsSupport.g.cs | 15 ++++++++------- .../Inworld.Realtime.JsonSerializerContext.g.cs | 5 ++--- .../Inworld.Realtime.OptionsSupport.g.cs | 15 ++++++++------- ...nworld.SpeechToText.JsonSerializerContext.g.cs | 9 ++------- 6 files changed, 24 insertions(+), 34 deletions(-) diff --git a/src/libs/Inworld/Generated/Inworld.JsonSerializerContext.g.cs b/src/libs/Inworld/Generated/Inworld.JsonSerializerContext.g.cs index addeb3a..7f04c03 100644 --- a/src/libs/Inworld/Generated/Inworld.JsonSerializerContext.g.cs +++ b/src/libs/Inworld/Generated/Inworld.JsonSerializerContext.g.cs @@ -1,14 +1,12 @@ #nullable enable -#pragma warning disable CS0618 // Type or member is obsolete -#pragma warning disable CS3016 // Arrays as attribute arguments is not CLS-compliant - namespace Inworld { /// /// /// + #pragma warning disable CS3016 // Converter type array in this attribute is not CLS-compliant. [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] @@ -51,6 +49,7 @@ namespace Inworld typeof(global::Inworld.JsonConverters.UnixTimestampJsonConverter), })] + #pragma warning restore CS3016 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Inworld.JsonSerializerContextTypes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Inworld.RpcStatus))] diff --git a/src/libs/Inworld/Generated/Inworld.Models.JsonSerializerContext.g.cs b/src/libs/Inworld/Generated/Inworld.Models.JsonSerializerContext.g.cs index 92a0267..ead6349 100644 --- a/src/libs/Inworld/Generated/Inworld.Models.JsonSerializerContext.g.cs +++ b/src/libs/Inworld/Generated/Inworld.Models.JsonSerializerContext.g.cs @@ -1,19 +1,14 @@ #nullable enable -#pragma warning disable CS0618 // Type or member is obsolete -#pragma warning disable CS3016 // Arrays as attribute arguments is not CLS-compliant - namespace Inworld { /// /// /// [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - Converters = new global::System.Type[] - { - })] + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] diff --git a/src/libs/Inworld/Generated/Inworld.OptionsSupport.g.cs b/src/libs/Inworld/Generated/Inworld.OptionsSupport.g.cs index d08a34d..e21a489 100644 --- a/src/libs/Inworld/Generated/Inworld.OptionsSupport.g.cs +++ b/src/libs/Inworld/Generated/Inworld.OptionsSupport.g.cs @@ -241,7 +241,8 @@ public sealed class AutoSDKAuthorizationProviderHook : global::Inworld.AutoSDKHo { context = context ?? throw new global::System.ArgumentNullException(nameof(context)); - if (context.Request == null) + var request = context.Request; + if (request == null) { return; } @@ -251,10 +252,10 @@ public sealed class AutoSDKAuthorizationProviderHook : global::Inworld.AutoSDKHo { for (var index = 0; index < perRequest.Count; index++) { - ApplyAuthorization(context.Request, perRequest[index]); + ApplyAuthorization(request, perRequest[index]); } - global::Inworld.AutoSDKHttpRequestOptions.StampAuthorizationOverride(context.Request); + global::Inworld.AutoSDKHttpRequestOptions.StampAuthorizationOverride(request); return; } @@ -272,10 +273,10 @@ public sealed class AutoSDKAuthorizationProviderHook : global::Inworld.AutoSDKHo for (var index = 0; index < resolved.Count; index++) { - ApplyAuthorization(context.Request, resolved[index]); + ApplyAuthorization(request, resolved[index]); } - global::Inworld.AutoSDKHttpRequestOptions.StampAuthorizationOverride(context.Request); + global::Inworld.AutoSDKHttpRequestOptions.StampAuthorizationOverride(request); } private static void ApplyAuthorization( @@ -489,7 +490,7 @@ public sealed class AutoSDKHookContext /// /// The outgoing HTTP request for the current attempt. /// - public global::System.Net.Http.HttpRequestMessage Request { get; set; } = null!; + public global::System.Net.Http.HttpRequestMessage? Request { get; set; } /// /// The HTTP response when one was received. @@ -504,7 +505,7 @@ public sealed class AutoSDKHookContext /// /// The client-wide runtime options. /// - public global::Inworld.AutoSDKClientOptions ClientOptions { get; set; } = null!; + public global::Inworld.AutoSDKClientOptions? ClientOptions { get; set; } /// /// The per-request runtime options. diff --git a/src/libs/Inworld/Generated/Inworld.Realtime.JsonSerializerContext.g.cs b/src/libs/Inworld/Generated/Inworld.Realtime.JsonSerializerContext.g.cs index 91549b4..f45bb5e 100644 --- a/src/libs/Inworld/Generated/Inworld.Realtime.JsonSerializerContext.g.cs +++ b/src/libs/Inworld/Generated/Inworld.Realtime.JsonSerializerContext.g.cs @@ -1,14 +1,12 @@ #nullable enable -#pragma warning disable CS0618 // Type or member is obsolete -#pragma warning disable CS3016 // Arrays as attribute arguments is not CLS-compliant - namespace Inworld.Realtime { /// /// /// + #pragma warning disable CS3016 // Converter type array in this attribute is not CLS-compliant. [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, Converters = new global::System.Type[] @@ -41,6 +39,7 @@ namespace Inworld.Realtime typeof(global::Inworld.Realtime.JsonConverters.SpeechToTextStreamServerEventJsonConverter), })] + #pragma warning restore CS3016 [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Inworld.Realtime.JsonSerializerContextTypes))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Inworld.Realtime.StreamAudioEncoding), TypeInfoPropertyName = "StreamAudioEncoding2")] diff --git a/src/libs/Inworld/Generated/Inworld.Realtime.OptionsSupport.g.cs b/src/libs/Inworld/Generated/Inworld.Realtime.OptionsSupport.g.cs index d2ee895..079bc1f 100644 --- a/src/libs/Inworld/Generated/Inworld.Realtime.OptionsSupport.g.cs +++ b/src/libs/Inworld/Generated/Inworld.Realtime.OptionsSupport.g.cs @@ -241,7 +241,8 @@ public sealed class AutoSDKAuthorizationProviderHook : global::Inworld.Realtime. { context = context ?? throw new global::System.ArgumentNullException(nameof(context)); - if (context.Request == null) + var request = context.Request; + if (request == null) { return; } @@ -251,10 +252,10 @@ public sealed class AutoSDKAuthorizationProviderHook : global::Inworld.Realtime. { for (var index = 0; index < perRequest.Count; index++) { - ApplyAuthorization(context.Request, perRequest[index]); + ApplyAuthorization(request, perRequest[index]); } - global::Inworld.Realtime.AutoSDKHttpRequestOptions.StampAuthorizationOverride(context.Request); + global::Inworld.Realtime.AutoSDKHttpRequestOptions.StampAuthorizationOverride(request); return; } @@ -272,10 +273,10 @@ public sealed class AutoSDKAuthorizationProviderHook : global::Inworld.Realtime. for (var index = 0; index < resolved.Count; index++) { - ApplyAuthorization(context.Request, resolved[index]); + ApplyAuthorization(request, resolved[index]); } - global::Inworld.Realtime.AutoSDKHttpRequestOptions.StampAuthorizationOverride(context.Request); + global::Inworld.Realtime.AutoSDKHttpRequestOptions.StampAuthorizationOverride(request); } private static void ApplyAuthorization( @@ -486,7 +487,7 @@ public sealed class AutoSDKHookContext /// /// The outgoing HTTP request for the current attempt. /// - public global::System.Net.Http.HttpRequestMessage Request { get; set; } = null!; + public global::System.Net.Http.HttpRequestMessage? Request { get; set; } /// /// The HTTP response when one was received. @@ -501,7 +502,7 @@ public sealed class AutoSDKHookContext /// /// The client-wide runtime options. /// - public global::Inworld.Realtime.AutoSDKClientOptions ClientOptions { get; set; } = null!; + public global::Inworld.Realtime.AutoSDKClientOptions? ClientOptions { get; set; } /// /// The per-request runtime options. diff --git a/src/libs/Inworld/Generated/Inworld.SpeechToText.JsonSerializerContext.g.cs b/src/libs/Inworld/Generated/Inworld.SpeechToText.JsonSerializerContext.g.cs index 8a5380b..2fe1a13 100644 --- a/src/libs/Inworld/Generated/Inworld.SpeechToText.JsonSerializerContext.g.cs +++ b/src/libs/Inworld/Generated/Inworld.SpeechToText.JsonSerializerContext.g.cs @@ -1,19 +1,14 @@ #nullable enable -#pragma warning disable CS0618 // Type or member is obsolete -#pragma warning disable CS3016 // Arrays as attribute arguments is not CLS-compliant - namespace Inworld { /// /// /// [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - Converters = new global::System.Type[] - { - })] + DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull + )] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")]