Coverage Summary for Class: PublicController (org.example)
Class | Class, % | Method, % | Line, % |
---|---|---|---|
PublicController | 100% (1/1) | 100% (2/2) | 100% (2/2) |
1 package org.example 2 3 import org.springframework.web.bind.annotation.GetMapping 4 import org.springframework.web.bind.annotation.RestController 5 6 @RestController 7 class PublicController { 8 @GetMapping("/greetings") 9 fun homepage(): List<String> = listOf("hello") 10 }