Compare commits
3 Commits
master
...
IAmATeapot
Author | SHA1 | Date | |
---|---|---|---|
4d78738b84 | |||
bcf9b00a2f | |||
eb9e702545 |
@ -105,4 +105,14 @@ public class EmployeeController {
|
||||
return employeeService.getEmployeeByLogin(login);
|
||||
}
|
||||
|
||||
@GetMapping("/coffee")@Operation(description = "I Am A Teapot", summary = "I Am A Teapot")
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(responseCode = "418", description = "I Am A Teapot"),
|
||||
@ApiResponse(responseCode = "401", description = "Unauthorized"),
|
||||
})
|
||||
|
||||
public ResponseEntity<String> coffee() {
|
||||
return new ResponseEntity<>("<center><h1>I Am A Teapot</h1></center>", HttpStatus.I_AM_A_TEAPOT);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user