Skip to content

feat: Create Auth DTOs for login and register #58

@annikaholmqvist94

Description

@annikaholmqvist94

public record RegisterRequest(
@notblank String name,
@notblank @Email String email,
@notblank @SiZe(min = 8) String password
) {}

public record LoginRequest(
@notblank @Email String email,
@notblank String password
) {}

public record AuthResponse(
String token
) {}

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions