Skip to content

Commit

Permalink
docs: 해시값으로 비디오 정보 불러오는 API Swagger 문서화 완료
Browse files Browse the repository at this point in the history
  • Loading branch information
quiet-honey committed Nov 16, 2023
1 parent 98cd4b4 commit 33a79c7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions BE/src/video/controller/video.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,16 @@ export class VideoController {
}

@Get('/hash/:hash')
@ApiOperation({
summary: '해시값으로 비디오 정보 불러오기',
})
@ApiResponse(
createApiResponseOption(
200,
'해시값을 사용하여 비디오 정보 조회 완료',
VideoDetailResponse,
),
)
async getVideoDetailByHash(@Param('hash') hash: string) {
return await this.videoService.getVideoDetailByHash(hash);
}
Expand Down

0 comments on commit 33a79c7

Please sign in to comment.