Project

General

Profile

1
package eu.dnetlib.repo.manager.service.controllers;
2

    
3
import io.swagger.annotations.Api;
4
import org.springframework.http.ResponseEntity;
5
import org.springframework.web.bind.annotation.RequestMapping;
6
import org.springframework.web.bind.annotation.RequestMethod;
7
import org.springframework.web.bind.annotation.RestController;
8

    
9
@RestController
10
@RequestMapping(value = "/user")
11
@Api(description = "User API",  tags = {"user"})
12
public interface UserApi {
13

    
14
    @RequestMapping(value = "/login" , method = RequestMethod.GET)
15
    ResponseEntity<Object> login();
16

    
17

    
18
}
(16-16/19)