From 1c048bc62b76443df987455b68a1a0ff932e2c43 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 3 Nov 2026 05:38:59 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/LabelStudio.IUsersClient.Update.g.cs | 2 -- .../LabelStudio.IUsersClient.UpdateCurrentUser.g.cs | 2 -- ....Models.PatchedLseUserSerializerUpdateRequest.g.cs | 11 +---------- .../Generated/LabelStudio.UsersClient.Update.g.cs | 3 --- .../LabelStudio.UsersClient.UpdateCurrentUser.g.cs | 3 --- src/libs/LabelStudio/openapi.yaml | 4 ---- 6 files changed, 1 insertion(+), 24 deletions(-) diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IUsersClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IUsersClient.Update.g.cs index 3c33e4c2..cf899820 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IUsersClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IUsersClient.Update.g.cs @@ -65,7 +65,6 @@ public partial interface IUsersClient /// Included only in requests /// /// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -82,7 +81,6 @@ public partial interface IUsersClient string? onboardingState = default, string? password = default, string? phone = default, - string? username = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.IUsersClient.UpdateCurrentUser.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.IUsersClient.UpdateCurrentUser.g.cs index 6ceeb963..3a69b6bb 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.IUsersClient.UpdateCurrentUser.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.IUsersClient.UpdateCurrentUser.g.cs @@ -75,7 +75,6 @@ public partial interface IUsersClient /// Included only in requests /// /// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -91,7 +90,6 @@ public partial interface IUsersClient string? onboardingState = default, string? password = default, string? phone = default, - string? username = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLseUserSerializerUpdateRequest.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLseUserSerializerUpdateRequest.g.cs index 9321a863..c692e40b 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLseUserSerializerUpdateRequest.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.Models.PatchedLseUserSerializerUpdateRequest.g.cs @@ -77,12 +77,6 @@ public sealed partial class PatchedLseUserSerializerUpdateRequest [global::System.Text.Json.Serialization.JsonPropertyName("phone")] public string? Phone { get; set; } - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("username")] - public string? Username { get; set; } - /// /// Additional properties that are not explicitly defined in the schema /// @@ -115,7 +109,6 @@ public sealed partial class PatchedLseUserSerializerUpdateRequest /// Included only in requests /// /// - /// #if NET7_0_OR_GREATER [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif @@ -130,8 +123,7 @@ public PatchedLseUserSerializerUpdateRequest( string? lastName, string? onboardingState, string? password, - string? phone, - string? username) + string? phone) { this.ActiveOrganization = activeOrganization; this.AllowNewsletters = allowNewsletters; @@ -144,7 +136,6 @@ public PatchedLseUserSerializerUpdateRequest( this.OnboardingState = onboardingState; this.Password = password; this.Phone = phone; - this.Username = username; } /// diff --git a/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.Update.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.Update.g.cs index 6973d302..e20ed24b 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.Update.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.Update.g.cs @@ -473,7 +473,6 @@ partial void ProcessUpdateResponseContent( /// Included only in requests /// /// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -490,7 +489,6 @@ partial void ProcessUpdateResponseContent( string? onboardingState = default, string? password = default, string? phone = default, - string? username = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -507,7 +505,6 @@ partial void ProcessUpdateResponseContent( OnboardingState = onboardingState, Password = password, Phone = phone, - Username = username, }; return await UpdateAsync( diff --git a/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.UpdateCurrentUser.g.cs b/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.UpdateCurrentUser.g.cs index c8b63432..6581cc73 100644 --- a/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.UpdateCurrentUser.g.cs +++ b/src/libs/LabelStudio/Generated/LabelStudio.UsersClient.UpdateCurrentUser.g.cs @@ -478,7 +478,6 @@ partial void ProcessUpdateCurrentUserResponseContent( /// Included only in requests /// /// - /// /// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering. /// The token to cancel the operation with /// @@ -494,7 +493,6 @@ partial void ProcessUpdateCurrentUserResponseContent( string? onboardingState = default, string? password = default, string? phone = default, - string? username = default, global::LabelStudio.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -511,7 +509,6 @@ partial void ProcessUpdateCurrentUserResponseContent( OnboardingState = onboardingState, Password = password, Phone = phone, - Username = username, }; return await UpdateCurrentUserAsync( diff --git a/src/libs/LabelStudio/openapi.yaml b/src/libs/LabelStudio/openapi.yaml index 6074b608..6d6a2012 100644 --- a/src/libs/LabelStudio/openapi.yaml +++ b/src/libs/LabelStudio/openapi.yaml @@ -40103,10 +40103,6 @@ components: phone: maxLength: 256 type: string - username: - maxLength: 256 - minLength: 1 - type: string type: object PatchedMLBackendRequestRequest: description: OpenAPI/SDK request body for ML backend create/update. Runtime still uses MLBackendSerializer.