Coverage Summary for Class: OkController (io.github.mkuchin.controller)
Class | Class, % | Method, % | Line, % |
---|---|---|---|
OkController | 100% (1/ 1) | 100% (2/ 2) | 100% (2/ 2) |
1 package io.github.mkuchin.controller;
2
3 import org.springframework.context.annotation.Profile;
4 import org.springframework.web.bind.annotation.GetMapping;
5 import org.springframework.web.bind.annotation.RequestMapping;
6 import org.springframework.web.bind.annotation.RestController;
7
8 @RestController
9 @RequestMapping("/ok")
10 @Profile("test")
11 public class OkController {
12
13 @GetMapping
14 public String ok() {
15 return "ok";
16 }
17 }