LoginController.java 991 Bytes

package etunicorn.generated;

import etunicorn.generated.model.UpdateLoginRequest;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;


/**
 * No description
 * (Generated with springmvc-raml-parser v.0.8.9)
 * 
 */
@RestController
@RequestMapping("/v1/login")
public interface LoginController {


    /**
     * Instancie une nouvelle connexion
     * 
     */
    @RequestMapping(value = "", method = RequestMethod.POST)
    ResponseEntity<?> updateLogin(
            @Valid
            @RequestBody
                    UpdateLoginRequest updateLoginRequest);

    /**
     * Se déconnecter
     * 
     */
    @RequestMapping(value = "", method = RequestMethod.DELETE)
    ResponseEntity<?> deleteLogin();

}