You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
466 B
19 lines
466 B
package cc.bnblogs.swagger_study.controller; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
/** |
|
* @description: |
|
* @author: zfp@bnblogs.cc |
|
* @date: 2023/3/5 15:24 |
|
*/ |
|
@RestController |
|
@RequestMapping("/hello/") |
|
public class HelloController { |
|
@GetMapping |
|
public String greet() { |
|
return "Hello, World"; |
|
} |
|
}
|
|
|