Фикс декортаора для контроллера Subscribe
This commit is contained in:
parent
2941c30add
commit
69ff864dc4
@ -2,6 +2,8 @@ package com.example.nekontakte.subscribes.api;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.example.nekontakte.core.configurations.Constants;
|
||||
|
||||
import org.modelmapper.ModelMapper;
|
||||
import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
@ -9,12 +11,16 @@ import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.PutMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import com.example.nekontakte.subscribes.model.SubscribeEntity;
|
||||
import com.example.nekontakte.subscribes.service.SubscribeService;
|
||||
|
||||
import jakarta.validation.Valid;
|
||||
|
||||
@RestController
|
||||
@RequestMapping(Constants.API_URL + "/subscribe")
|
||||
public class SubscribeController {
|
||||
private final SubscribeService subscribeService;
|
||||
private final ModelMapper modelMapper;
|
||||
|
Loading…
x
Reference in New Issue
Block a user