Skip to content

Commit

Permalink
[REFACTOR] 구독 결제 토큰 validation 추가(#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
eunsol-an committed Oct 2, 2024
1 parent 615fdfa commit 9100665
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

import io.swagger.v3.oas.annotations.media.Schema;
import java.util.List;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
Expand Down Expand Up @@ -116,6 +118,7 @@ public SubscriptionPlan(Product product) {
@NoArgsConstructor(force = true)
public static class PurchaseSubscription {
@Schema(description = "purchaseToken(결제 토큰)")
@NotBlank(message = "결제 토큰을 입력해 주세요.")
private final String purchaseToken;
}
}

0 comments on commit 9100665

Please sign in to comment.