package com.dbnt.kcscopensearch.opensearch.documentGroup;

import com.dbnt.kcscopensearch.opensearch.documentGroup.model.DocumentGroup;
import com.dbnt.kcscopensearch.opensearch.documentGroup.service.DocumentGroupService;
import lombok.RequiredArgsConstructor;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequiredArgsConstructor
@RequestMapping("/documentGroup")
public class DocumentGroupController {

  private final DocumentGroupService documentGroupService;

  /*@GetMapping(value = "/search", produces = MediaType.APPLICATION_JSON_VALUE)
  public List<DocumentGroup> search(@RequestParam(value="groupNm", required = true) String groupNm){
    return documentGroupService.search(groupNm);
  }*/

}
