|
@@ -11,6 +11,7 @@ import com.persagy.service.models.responses.SCreateResponse
|
|
|
import com.persagy.service.models.responses.SQueryResponse
|
|
|
import io.swagger.v3.oas.annotations.Operation
|
|
|
import io.swagger.v3.oas.annotations.tags.Tag
|
|
|
+import org.springframework.beans.factory.annotation.Autowired
|
|
|
import org.springframework.web.bind.annotation.PostMapping
|
|
|
import org.springframework.web.bind.annotation.RequestBody
|
|
|
import org.springframework.web.bind.annotation.RequestMapping
|
|
@@ -25,7 +26,7 @@ import org.springframework.web.bind.annotation.RestController
|
|
|
@RestController
|
|
|
@RequestMapping("/relation")
|
|
|
class RelationController {
|
|
|
-
|
|
|
+ @Autowired
|
|
|
lateinit var relationLogicService: RelationLogicService
|
|
|
|
|
|
/**
|