package cvut.fit.borrowsystem.web.API;

import cvut.fit.borrowsystem.service.UserManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by Jakub Tuček on 11.6.2016.
 */
public class UserRestController {
    private static final Logger log = LoggerFactory.getLogger(UserRestController.class);

    @Autowired
    UserManager userManager;

}

@@ -202,16 +202,142 @@
 towired;
+%0Aimport org.springframework.web.bind.annotation.RequestMapping;%0Aimport org.springframework.web.bind.annotation.RestController;
 %0A%0A/**%0A *
@@ -377,16 +377,63 @@
 016.%0A */
+%0A%0A@RestController%0A@RequestMapping(%22/api/users%22)
 %0Apublic 

Add user rest api controller annotation