분석결과 상세 파라미터 변경
This commit is contained in:
@@ -103,9 +103,9 @@ public class InferenceResultApiController {
|
|||||||
@ApiResponse(responseCode = "400", description = "잘못된 검색 조건", content = @Content),
|
@ApiResponse(responseCode = "400", description = "잘못된 검색 조건", content = @Content),
|
||||||
@ApiResponse(responseCode = "500", description = "서버 오류", content = @Content)
|
@ApiResponse(responseCode = "500", description = "서버 오류", content = @Content)
|
||||||
})
|
})
|
||||||
@GetMapping("/detail")
|
@GetMapping("/detail/{id}")
|
||||||
public ApiResponseDto<InferenceResultDto.Detail> getInferenceDetail(
|
public ApiResponseDto<InferenceResultDto.Detail> getInferenceDetail(
|
||||||
@Parameter(description = "목록 id", example = "1") @RequestParam Long id) {
|
@Parameter(description = "목록 id", example = "1") @PathVariable Long id) {
|
||||||
return ApiResponseDto.ok(inferenceResultService.getDetail(id));
|
return ApiResponseDto.ok(inferenceResultService.getDetail(id));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user