Skip to content

Commit

Permalink
Merge pull request #50 from dongkyun0713/dongkyun
Browse files Browse the repository at this point in the history
deploy test
  • Loading branch information
dongkyun0713 authored Feb 12, 2024
2 parents d70483b + 0aa71ba commit 706dd22
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 77 deletions.
Binary file modified Titto_Backend/.DS_Store
Binary file not shown.
23 changes: 0 additions & 23 deletions Titto_Backend/appspec.yml

This file was deleted.

Binary file removed Titto_Backend/scripts/.DS_Store
Binary file not shown.
22 changes: 0 additions & 22 deletions Titto_Backend/scripts/start.sh

This file was deleted.

19 changes: 0 additions & 19 deletions Titto_Backend/scripts/stop.sh

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
package com.example.titto_backend.matchingBoard.controller;

import com.example.titto_backend.matchingBoard.dto.request.MatchingPostRequest.MatchingPostPagingRequestDto;
import com.example.titto_backend.matchingBoard.dto.response.matchingPostResponse.MatchingPostPagingResponseDto;
import com.example.titto_backend.matchingBoard.service.matchingBoard.MatchingBoardService;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

Expand All @@ -11,18 +16,18 @@
@RequiredArgsConstructor
@Tag(name = "Matching Board Controller", description = "๋งค์นญ ๊ฒŒ์‹œํŒ ๊ด€๋ จ API")
public class MatchingBoardController {
private final MatchingBoardService matchingBoardService;
private final MatchingBoardService matchingBoardService;

/* @GetMapping("/posts")
@Operation(
summary = "๋งค์นญ ๊ฒŒ์‹œํŒ ์ „์ฒด ์กฐํšŒ",
description = "๋งค์นญ ๊ฒŒ์‹œํŒ์˜ ์ „์ฒด ๊ฒŒ์‹œ๊ธ€์„ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค",
responses = {
@ApiResponse(responseCode = "200", description = "์š”์ฒญ ์„ฑ๊ณต"),
@ApiResponse(responseCode = "403", description = "์ธ์ฆ ๋ฌธ์ œ ๋ฐœ์ƒ"),
@ApiResponse(responseCode = "500", description = "๊ด€๋ฆฌ์ž ๋ฌธ์˜")
})
public MatchingPostPagingResponseDto getAllMatchingPosts(MatchingPostPagingRequestDto matchingPostPagingRequestDto) {
return matchingBoardService.findAllPosts(matchingPostPagingRequestDto);
}*/
@GetMapping("/posts")
@Operation(
summary = "๋งค์นญ ๊ฒŒ์‹œํŒ ์ „์ฒด ์กฐํšŒ",
description = "๋งค์นญ ๊ฒŒ์‹œํŒ์˜ ์ „์ฒด ๊ฒŒ์‹œ๊ธ€์„ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค",
responses = {
@ApiResponse(responseCode = "200", description = "์š”์ฒญ ์„ฑ๊ณต"),
@ApiResponse(responseCode = "403", description = "์ธ์ฆ ๋ฌธ์ œ ๋ฐœ์ƒ"),
@ApiResponse(responseCode = "500", description = "๊ด€๋ฆฌ์ž ๋ฌธ์˜")
})
public MatchingPostPagingResponseDto getAllMatchingPosts(MatchingPostPagingRequestDto matchingPostPagingRequestDto) {
return matchingBoardService.findAllPosts(matchingPostPagingRequestDto);
}
}

0 comments on commit 706dd22

Please sign in to comment.