Skip to content

Commit

Permalink
[feat] #27 선물방 설정 편집 조회 기능 swagger code 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
ziiyouth committed Jan 9, 2024
1 parent 4c399dd commit ae7b7a1
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/main/java/org/sopt/sweet/domain/room/controller/RoomApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,30 @@ ResponseEntity<SuccessResponse<?>> 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<SuccessResponse<?>> getRoomDetailInfo(
@Parameter(
description = "authorization token에서 얻은 userId, 임의입력하면 대체됩니다.",
required = true,
example = "12345"
) @UserId Long userId,
@Parameter(
description = "room 고유 id",
required = true,
example = "1"
) @PathVariable Long roomId
);

}

0 comments on commit ae7b7a1

Please sign in to comment.