[UPDATE] MinioAttachmentEntity refType 예시 및 API 설명 수정, 불필요한 공백 제거 (AttachmentController, WorkFlowController)

main
bjkim 9 months ago
parent 2624a87716
commit cb31bb11b6

@ -50,7 +50,12 @@ public class AttachmentController {
@GetMapping("/search")
public ResponseEntity<Page<MinioAttachmentEntity>> search(
@ParameterObject @ModelAttribute BaseSearchRequest request,
@RequestParam(value = "refType", required = false) String refType) {
@Parameter(
description = "첨부파일 구분자. 예: WORKFLOW_STEP, DATASET, TRAINING_SCRIPT",
example = "WORKFLOW_STEP"
)
@RequestParam(value = "refType", required = false) String refType
) {
Page<MinioAttachmentEntity> page = minioAttachmentService.search(request, refType);
return ResponseEntity.ok(page);
}

@ -46,7 +46,6 @@ public class WorkFlowController {
return ResponseEntity.ok(page);
}
@Operation(summary = "워크플로우 등록")
@PostMapping
public ResponseEntity<WorkflowEntity> createWorkflow(@RequestBody WorkflowEntity workflow) {

@ -35,7 +35,7 @@ public class MinioAttachmentEntity {
@Schema(description = "첨부파일 종류 (DATASET / SCRIPT)", example = "DATASET")
@Comment("첨부파일 종류")
@Column(nullable = false, length = 50)
private String refType; // 구분자 (예: DATASET, TRAINING_SCRIPT)
private String refType; // 구분자 (예: WORKFLOW_STEP,DATASET, TRAINING_SCRIPT)
@Schema(description = "원본 파일명", example = "step1.yaml")
@Comment("원본 파일명")

Loading…
Cancel
Save