Blame view

src/main/java/etunicorn/generated/LoginController.java 814 Bytes
d167a387   Geoffrey PREUD'HOMME   On génère mieux
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  
  package etunicorn.generated;
  
  import org.springframework.http.ResponseEntity;
  import org.springframework.web.bind.annotation.*;
  
  
  /**
   * 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)
      public ResponseEntity<?> updateLogin(
              @RequestParam
                      String login,
              @RequestParam(required = false)
                      String password);
  
      /**
       * Se déconnecter
       */
      @RequestMapping(value = "/{token}", method = RequestMethod.DELETE)
      public ResponseEntity<?> deleteLoginByToken(
              @PathVariable
                      String token);
  
  }