Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 1bc8c8e3

Přidáno uživatelem stepanekp před více než 1 rok

Zobrazit rozdíly:

src/main/java/cz/zcu/fav/kiv/antipatterndetectionapp/v2/controller/management/CategoryController.java
1
package cz.zcu.fav.kiv.antipatterndetectionapp.v2.controller.management;
2

  
3
import org.springframework.http.ResponseEntity;
4
import org.springframework.stereotype.Controller;
5
import org.springframework.web.bind.annotation.GetMapping;
6
import org.springframework.web.bind.annotation.PostMapping;
7
import org.springframework.web.bind.annotation.RequestMapping;
8

  
9
import java.util.List;
10

  
11
/**
12
 * This class contains all endpoints connected to Categories
13
 */
14
@Controller
15
@RequestMapping("v2/management")
16
public class CategoryController {
17

  
18
    @GetMapping("/getCategories")
19
    public ResponseEntity<String> getCategories() {
20
        //TODO
21
        return null;
22
    }
23

  
24
    @PostMapping("/changeCategory")
25
    public ResponseEntity<String> changeCategory() {
26
        //TODO
27
        return null;
28
    }
29
}

Také k dispozici: Unified diff