Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:Enhance OpenAPI specification by adding 'email_verified' to 'Me' schema #73

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/libs/DeepInfra/Generated/DeepInfra.Models.Me.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ public sealed partial class Me
[global::System.Text.Json.Serialization.JsonPropertyName("email")]
public string? Email { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("email_verified")]
[global::System.Text.Json.Serialization.JsonRequired]
public required bool EmailVerified { get; set; }

/// <summary>
/// Name that is used to identifythe account on the website
/// </summary>
Expand Down
4 changes: 4 additions & 0 deletions src/libs/DeepInfra/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3212,6 +3212,7 @@ components:
title: Me
required:
- uid
- email_verified
- display_name
- provider
- is_admin
Expand All @@ -3227,6 +3228,9 @@ components:
email:
title: Email
type: string
email_verified:
title: Email Verified
type: boolean
display_name:
title: Display Name
type: string
Expand Down