Skip to content

Commit

Permalink
feat: Updated OpenAPI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 19, 2024
1 parent 70314c6 commit 0bc81bd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ partial void ProcessAccountUpdateDetailsV1MePatchResponseContent(
/// <param name="website">
/// Company website address
/// </param>
/// <param name="username">
/// <param name="displayName">
/// String with length between 1 and 39 characters. Only alphanumeric characters and dashes allowed. Must contain no leading, trailing or consecutive dashes.
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
Expand All @@ -119,7 +119,7 @@ partial void ProcessAccountUpdateDetailsV1MePatchResponseContent(
bool isBusinessAccount = default,
string? company = default,
string? website = default,
string? username = default,
string? displayName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var request = new global::DeepInfra.MeIn
Expand All @@ -129,7 +129,7 @@ partial void ProcessAccountUpdateDetailsV1MePatchResponseContent(
IsBusinessAccount = isBusinessAccount,
Company = company,
Website = website,
Username = username,
DisplayName = displayName,
};

return await AccountUpdateDetailsV1MePatchAsync(
Expand Down
4 changes: 2 additions & 2 deletions src/libs/DeepInfra/Generated/DeepInfra.Models.MeIn.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public sealed partial class MeIn
/// <summary>
/// String with length between 1 and 39 characters. Only alphanumeric characters and dashes allowed. Must contain no leading, trailing or consecutive dashes.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("username")]
public string? Username { get; set; }
[global::System.Text.Json.Serialization.JsonPropertyName("display_name")]
public string? DisplayName { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
4 changes: 2 additions & 2 deletions src/libs/DeepInfra/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3074,8 +3074,8 @@ components:
minLength: 1
type: string
description: Company website address
username:
title: Username
display_name:
title: Display Name
maxLength: 39
minLength: 1
pattern: '^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*$'
Expand Down

0 comments on commit 0bc81bd

Please sign in to comment.