-
Notifications
You must be signed in to change notification settings - Fork 0
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
#41 Swagger Update
- Loading branch information
Showing
3 changed files
with
56 additions
and
3 deletions.
There are no files selected for viewing
8 changes: 6 additions & 2 deletions
8
src/main/java/com/dnd/dndtravel/auth/controller/request/AppleWithdrawRequest.java
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,14 +1,18 @@ | ||
package com.dnd.dndtravel.auth.controller.request; | ||
|
||
import static io.swagger.v3.oas.annotations.media.Schema.RequiredMode.REQUIRED; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import jakarta.validation.constraints.NotBlank; | ||
import jakarta.validation.constraints.Size; | ||
|
||
/* | ||
클라이언트에서 서버로 보내는 요청 | ||
*/ | ||
public record AppleWithdrawRequest( | ||
@NotBlank(message = "인증 코드가 존재하지 않습니다.") | ||
@Size(max = 300, message = "인증 코드 길이를 초과하였습니다.") | ||
@Schema(description = "authorization code", requiredMode = REQUIRED) | ||
@NotBlank(message = "authorization code는 필수 입니다.") | ||
@Size(max = 300, message = "authorization code 형식이 아닙니다.") | ||
String authorizationCode | ||
) { | ||
} |
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