-
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.
* feat: 스페이스에 속한 커스텀 폼 목록 조회 * fix: schema example 수정 * chore: custom template response spaceId 제거
- Loading branch information
Showing
8 changed files
with
100 additions
and
22 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
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
15 changes: 15 additions & 0 deletions
15
...c/main/java/org/layer/domain/form/controller/dto/response/CustomTemplateListResponse.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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package org.layer.domain.form.controller.dto.response; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import jakarta.validation.constraints.NotNull; | ||
import lombok.Builder; | ||
import org.springframework.data.domain.Page; | ||
|
||
@Builder | ||
@Schema(name = "CustomFormGetResponse", description = "커스텀 템플릿 조회 응답 Dto") | ||
public record CustomTemplateListResponse( | ||
@NotNull | ||
@Schema(description = "커스템 템플릿 객체 목록") | ||
Page<CustomTemplateResponse> customTemplateList | ||
) { | ||
} |
22 changes: 22 additions & 0 deletions
22
...i/src/main/java/org/layer/domain/form/controller/dto/response/CustomTemplateResponse.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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package org.layer.domain.form.controller.dto.response; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import jakarta.validation.constraints.NotNull; | ||
import lombok.Builder; | ||
|
||
import java.time.LocalDateTime; | ||
|
||
@Builder | ||
@Schema(name = "DefaultFormGetResponse", description = "커스텀 템플릿 조회 간단 정보 응답 Dto") | ||
public record CustomTemplateResponse( | ||
@NotNull | ||
@Schema(description = "회고폼 이름", example = "Mad Sad Glad 커스텀 템플릿") | ||
String title, | ||
@NotNull | ||
@Schema(description = "태그", example = "Mad Sad Glad") | ||
String formTag, | ||
@NotNull | ||
@Schema(description = "폼 생성일자", example = "2024-08-03T21:40:52.880535") | ||
LocalDateTime createdAt | ||
) { | ||
} |
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