File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
backend/src/main/java/com/backend/domain/analysis/controller Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,14 @@ public class AnalysisController {
2525 private final AnalysisService analysisService ;
2626 private final RepositoryService repositoryService ;
2727
28+ // POST: 분석 요청
2829 @ PostMapping
2930 public ResponseEntity <ApiResponse <Void >> analyzeRepository (@ RequestBody AnalysisRequest request ) {
3031 analysisService .analyze (request .githubUrl ());
3132 return ResponseEntity .ok (ApiResponse .success ());
3233 }
3334
35+ // GET: 사용자 히스토리 전체 목록 조회
3436 @ GetMapping ("/user/repository/{memberId}" )
3537 @ Transactional (readOnly = true )
3638 public ResponseEntity <List <HistoryResponseDto >> getMemberHistory (@ PathVariable Long memberId ){
@@ -60,6 +62,7 @@ public ResponseEntity<List<HistoryResponseDto>> getMemberHistory(@PathVariable L
6062 return ResponseEntity .ok (historyList );
6163 }
6264
65+ // GET: 사용자 분석 결과 조회
6366 @ GetMapping ("repository/{repositoriesId}" )
6467 @ Transactional (readOnly = true )
6568 public ResponseEntity <List <AnalysisResultResponseDto >> getAnalysisByRepositoriesId (@ PathVariable ("repositoriesId" ) Long repoId ){
You can’t perform that action at this time.
0 commit comments