|
|
@@ -6,6 +6,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.http.ResponseEntity;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import es.uv.saic.dto.ArchiveOrganDTO;
|
|
|
@@ -16,8 +17,8 @@ import es.uv.saic.service.DocumentService;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
|
|
|
-
|
|
|
@RestController
|
|
|
+@RequestMapping("/docs")
|
|
|
public class DocumentController {
|
|
|
@Autowired
|
|
|
private DocumentService ds;
|