mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 18:21:10 +00:00
Improves OpenApi documentation
This commit is contained in:
1 parent
f2703b86c5
commit
77f95708b9
101 files changed
+2336
-294
No files matched your search
@@ -7,10 +7,10 @@ namespace Lumina.Contracts.Requests.Authentication;
|
||||
/// <summary>
|
||||
/// Represents the request model for user registration.
|
||||
/// </summary>
|
||||
/// <param name="Username">The desired username for the new account.</param>
|
||||
/// <param name="Password">The password for the new account.</param>
|
||||
/// <param name="PasswordConfirm">The confirmation of the entered password, used to ensure consistency.</param>
|
||||
/// <param name="Use2fa">Indicates whether two-factor authentication (2FA) should be enabled for the new account.</param>
|
||||
/// <param name="Username">The desired username for the new account. Required.</param>
|
||||
/// <param name="Password">The password for the new account. Required.</param>
|
||||
/// <param name="PasswordConfirm">The confirmation of the entered password, used to ensure consistency. Required.</param>
|
||||
/// <param name="Use2fa">Indicates whether two-factor authentication (2FA) should be enabled for the new account. Optional.</param>
|
||||
[DebuggerDisplay("Username: {Username}")]
|
||||
public record RegistrationRequest(
|
||||
string? Username = null,
|
||||
|
||||
Reference in new issue
Block a user