-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* feat: μ΄λ Έν μ΄μ κΈ°λ°μ Spring validation μΆκ° * feat: λλ©μΈ validation μΆκ° * feat: lineUp μ null μΌ μ μλ€. * feat: dto validation μΆκ° * feat: MethodArgumentNotValidException μ λν custom νΈλ€λ§ * feat: dto μ μμΈ λ©μμ§ μ§μ νλ€ * fix: Member μ profileImage κ° null μΈ κ²½μ°μ null check μ κ±° * feat: length κ²μ¦ μ null check κ° μ νλλλ‘ λ³κ²½ * refactor: Objects.isNull -> == null νμΈμΌλ‘ λ³κ²½ * feat: Service Entity μμ± λ‘μ§ μμ * feat: socialType Enumerated μΆκ° * feat: @RequestBody validate μΆκ° * feat: dto @Valid μ€ν¨μ 400 response
- Loading branch information
Showing
21 changed files
with
283 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
package com.festago.auth.dto; | ||
|
||
import com.festago.auth.domain.SocialType; | ||
import jakarta.validation.constraints.NotNull; | ||
|
||
public record LoginRequest(SocialType socialType, String accessToken) { | ||
public record LoginRequest( | ||
@NotNull(message = "socialType μ null μΌ μ μμ΅λλ€.") SocialType socialType, | ||
@NotNull(message = "acessToken μ null μΌ μ μμ΅λλ€.") String accessToken) { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.