Skip to content

Commit

Permalink
feat: 커스텀 응답 기능 구현 (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
이재혁 authored Jan 30, 2024
1 parent 23da69a commit a9134cf
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/main/java/com/api/ttoklip/global/success/Messaage.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package com.api.ttoklip.global.success;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;

@ToString
@Data
public class Messaage {

@Schema(type = "string", example = "메시지 문구를 출력합니다.", description = "메시지 입니다.")
private String message;

public Messaage() {
}

@Builder
public Messaage(String message) {
this.message = message;
}

}

0 comments on commit a9134cf

Please sign in to comment.