학습데이터관리 api 문구 수정
This commit is contained in:
@@ -16,7 +16,7 @@ import lombok.RequiredArgsConstructor;
|
|||||||
import org.springframework.data.domain.Page;
|
import org.springframework.data.domain.Page;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
@Tag(name = "데이터셋 관리", description = "어드민 홈 > 학습데이터관리 > 전체데이터 API")
|
@Tag(name = "학습데이터 관리", description = "어드민 홈 > 학습데이터관리 > 전체데이터 API")
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/api/datasets")
|
@RequestMapping("/api/datasets")
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
@@ -24,7 +24,7 @@ public class DatasetApiController {
|
|||||||
|
|
||||||
private final DatasetService datasetService;
|
private final DatasetService datasetService;
|
||||||
|
|
||||||
@Operation(summary = "데이터셋 목록 조회", description = "데이터셋(회차) 목록을 조회합니다.")
|
@Operation(summary = "학습데이터 관리 목록 조회", description = "학습데이터 목록을 조회합니다.")
|
||||||
@ApiResponses(
|
@ApiResponses(
|
||||||
value = {
|
value = {
|
||||||
@ApiResponse(
|
@ApiResponse(
|
||||||
@@ -55,7 +55,7 @@ public class DatasetApiController {
|
|||||||
return ApiResponseDto.ok(datasetService.searchDatasets(searchReq));
|
return ApiResponseDto.ok(datasetService.searchDatasets(searchReq));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Operation(summary = "데이터셋 상세 조회", description = "데이터셋 상세 정보를 조회합니다.")
|
@Operation(summary = "학습데이터관리 상세 조회", description = "학습데이터관리 상세 정보를 조회합니다.")
|
||||||
@ApiResponses(
|
@ApiResponses(
|
||||||
value = {
|
value = {
|
||||||
@ApiResponse(
|
@ApiResponse(
|
||||||
@@ -73,7 +73,7 @@ public class DatasetApiController {
|
|||||||
return ApiResponseDto.ok(datasetService.getDatasetDetail(uuid));
|
return ApiResponseDto.ok(datasetService.getDatasetDetail(uuid));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Operation(summary = "데이터셋 등록", description = "신규 데이터셋(회차)을 생성합니다.")
|
@Operation(summary = "학습데이터 등록", description = "학습데이터 파일 업로드")
|
||||||
@ApiResponses(
|
@ApiResponses(
|
||||||
value = {
|
value = {
|
||||||
@ApiResponse(
|
@ApiResponse(
|
||||||
@@ -93,7 +93,7 @@ public class DatasetApiController {
|
|||||||
return ApiResponseDto.createOK(id);
|
return ApiResponseDto.createOK(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Operation(summary = "데이터셋 수정", description = "데이터셋 정보를 수정합니다.")
|
@Operation(summary = "학습데이터 수정", description = "학습데이터 제목, 메모 수정")
|
||||||
@ApiResponses(
|
@ApiResponses(
|
||||||
value = {
|
value = {
|
||||||
@ApiResponse(
|
@ApiResponse(
|
||||||
@@ -114,7 +114,7 @@ public class DatasetApiController {
|
|||||||
return ApiResponseDto.ok(uuid);
|
return ApiResponseDto.ok(uuid);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Operation(summary = "데이터셋 삭제", description = "데이터셋을 삭제합니다.")
|
@Operation(summary = "학습데이터 삭제", description = "학습데이터를 삭제합니다.(납품 데이터는 삭제 불가)")
|
||||||
@ApiResponses(
|
@ApiResponses(
|
||||||
value = {
|
value = {
|
||||||
@ApiResponse(responseCode = "201", description = "삭제 성공", content = @Content),
|
@ApiResponse(responseCode = "201", description = "삭제 성공", content = @Content),
|
||||||
|
|||||||
Reference in New Issue
Block a user