From ae7b7a1922370bbeb66911e0bf1ac9141b494edd Mon Sep 17 00:00:00 2001 From: ziiyouth Date: Tue, 9 Jan 2024 20:44:53 +0900 Subject: [PATCH] =?UTF-8?q?[feat]=20#27=20=EC=84=A0=EB=AC=BC=EB=B0=A9=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=20=ED=8E=B8=EC=A7=91=20=EC=A1=B0=ED=9A=8C=20?= =?UTF-8?q?=EA=B8=B0=EB=8A=A5=20swagger=20code=20=EA=B5=AC=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sweet/domain/room/controller/RoomApi.java | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/main/java/org/sopt/sweet/domain/room/controller/RoomApi.java b/src/main/java/org/sopt/sweet/domain/room/controller/RoomApi.java index c3decc1..cfdea2e 100644 --- a/src/main/java/org/sopt/sweet/domain/room/controller/RoomApi.java +++ b/src/main/java/org/sopt/sweet/domain/room/controller/RoomApi.java @@ -109,4 +109,30 @@ ResponseEntity> getRoomMainInfo( ) @PathVariable Long roomId ); + @Operation( + summary = "선물방 설정 편집 조회 API", + responses = { + @ApiResponse( + responseCode = "200", + content = @Content( + mediaType = "application/json", + schema = @Schema(implementation = SuccessResponse.class) + ) + ) + }, + security = @SecurityRequirement(name = "token") + ) + ResponseEntity> getRoomDetailInfo( + @Parameter( + description = "authorization token에서 얻은 userId, 임의입력하면 대체됩니다.", + required = true, + example = "12345" + ) @UserId Long userId, + @Parameter( + description = "room 고유 id", + required = true, + example = "1" + ) @PathVariable Long roomId + ); + }