Implements Hunt basic create and get, and adds field validation to controllers

This commit is contained in:
2025-12-22 08:44:14 -06:00
parent 04b61485ea
commit 5905882763
16 changed files with 230 additions and 5 deletions

View File

@@ -1,6 +1,10 @@
package net.halfbinary.scavengerhuntapi.model.request
import jakarta.validation.constraints.NotBlank
data class LoginRequest(
@field:NotBlank(message = "Email cannot be blank")
val email: String,
@field:NotBlank(message = "Password cannot be blank")
val password: String
)