From a0efac446419d04b16fc3049e1b8c840c6692fdd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 13 Aug 2024 12:31:12 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...epInfra.DeepInfraApi.AccountUpdateDetailsV1MePatch.g.cs | 5 +++++ src/libs/DeepInfra/Generated/DeepInfra.Models.MeIn.g.cs | 6 ++++++ src/libs/DeepInfra/openapi.yaml | 7 +++++++ 3 files changed, 18 insertions(+) diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountUpdateDetailsV1MePatch.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountUpdateDetailsV1MePatch.g.cs index c02e990..b5d2908 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountUpdateDetailsV1MePatch.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountUpdateDetailsV1MePatch.g.cs @@ -107,6 +107,9 @@ partial void ProcessAccountUpdateDetailsV1MePatchResponseContent( /// /// Company website address /// + /// + /// String with length between 1 and 39 characters. Only alphanumeric characters and dashes allowed. Must contain no leading, trailing or consecutive dashes. + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task AccountUpdateDetailsV1MePatchAsync( @@ -115,6 +118,7 @@ partial void ProcessAccountUpdateDetailsV1MePatchResponseContent( bool isBusinessAccount = default, string? company = default, string? website = default, + string? username = default, global::System.Threading.CancellationToken cancellationToken = default) { var request = new global::DeepInfra.MeIn @@ -124,6 +128,7 @@ partial void ProcessAccountUpdateDetailsV1MePatchResponseContent( IsBusinessAccount = isBusinessAccount, Company = company, Website = website, + Username = username, }; return await AccountUpdateDetailsV1MePatchAsync( diff --git a/src/libs/DeepInfra/Generated/DeepInfra.Models.MeIn.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.Models.MeIn.g.cs index cbd449d..7ad36af 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.Models.MeIn.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.Models.MeIn.g.cs @@ -38,6 +38,12 @@ public sealed partial class MeIn [global::System.Text.Json.Serialization.JsonPropertyName("website")] public string? Website { get; set; } + /// + /// String with length between 1 and 39 characters. Only alphanumeric characters and dashes allowed. Must contain no leading, trailing or consecutive dashes. + /// + [global::System.Text.Json.Serialization.JsonPropertyName("username")] + public string? Username { get; set; } + /// /// Additional properties that are not explicitly defined in the schema /// diff --git a/src/libs/DeepInfra/openapi.yaml b/src/libs/DeepInfra/openapi.yaml index 879a242..343838e 100644 --- a/src/libs/DeepInfra/openapi.yaml +++ b/src/libs/DeepInfra/openapi.yaml @@ -3074,6 +3074,13 @@ components: minLength: 1 type: string description: Company website address + username: + title: Username + maxLength: 39 + minLength: 1 + pattern: '^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$' + type: string + description: 'String with length between 1 and 39 characters. Only alphanumeric characters and dashes allowed. Must contain no leading, trailing or consecutive dashes.' MeUsername: title: MeUsername required: