{ return this.postService.getPostInfo(postId); } @Get("/search") @ApiQuery({ name: "hashtagId", required: true }) @ApiQuery({ name: "groupId", required: true }) @ApiResponse({ type: Number, status: 200 }) GetSearchPosts(@Query("groupId") groupId: number, @Query("hashtagId") hashtagId: number) { }"> { return this.postService.getPostInfo(postId); } @Get("/search") @ApiQuery({ name: "hashtagId", required: true }) @ApiQuery({ name: "groupId", required: true }) @ApiResponse({ type: Number, status: 200 }) GetSearchPosts(@Query("groupId") groupId: number, @Query("hashtagId") hashtagId: number) { }"> { return this.postService.getPostInfo(postId); } @Get("/search") @ApiQuery({ name: "hashtagId", required: true }) @ApiQuery({ name: "groupId", required: true }) @ApiResponse({ type: Number, status: 200 }) GetSearchPosts(@Query("groupId") groupId: number, @Query("hashtagId") hashtagId: number) { }">
  @Get("/:postId")
  @ApiParam({ name: "postId", type: Number })
  @ApiResponse({ type: GetPostInfoResponseDto, status: 200 })
  GetPostInfo(@Param("postId") postId: number): Promise<GetPostInfoResponseDto> {
    return this.postService.getPostInfo(postId);
  }

  @Get("/search")
  @ApiQuery({ name: "hashtagId", required: true })
  @ApiQuery({ name: "groupId", required: true })
  @ApiResponse({ type: Number, status: 200 })
  GetSearchPosts(@Query("groupId") groupId: number, @Query("hashtagId") hashtagId: number) {
    
  }
@Get("/search")
  @ApiQuery({ name: "hashtagId", required: true })
  @ApiQuery({ name: "groupId", required: true })
  @ApiResponse({ type: Number, status: 200 })
  GetSearchPosts(@Query("groupId") groupId: number, @Query("hashtagId") hashtagId: number) {
    
  }

  @Get("/:postId")
  @ApiParam({ name: "postId", type: Number })
  @ApiResponse({ type: GetPostInfoResponseDto, status: 200 })
  GetPostInfo(@Param("postId") postId: number): Promise<GetPostInfoResponseDto> {
    return this.postService.getPostInfo(postId);
  }