spring-hateoas - changing the mapping
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ import static org.springframework.hateoas.mvc.ControllerLinkBuilder.linkTo;
|
||||
import static org.springframework.hateoas.mvc.ControllerLinkBuilder.methodOn;
|
||||
|
||||
@RestController
|
||||
@RequestMapping(value = "/customer")
|
||||
@RequestMapping(value = "/customers")
|
||||
public class CustomerController {
|
||||
@Autowired
|
||||
private CustomerService customerService;
|
||||
|
||||
Reference in New Issue
Block a user