Package com.Server.controller
Class HelloController
java.lang.Object
com.Server.controller.HelloController
@RestController
public class HelloController
extends java.lang.Object
HelloController is use to check whether swagger library is work.
- Since:
- 2020-04-27.
- Version:
- 2.0.
- Author:
- Krystian Cwioro Kamil Bieniasz Damian Mierzynski.
-
Constructor Summary
Constructors Constructor Description HelloController() -
Method Summary
Modifier and Type Method Description java.lang.StringsayHello()This method return text Swagger Hello World This method use endpoint /api/javainuse.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
HelloController
public HelloController()
-
-
Method Details
-
sayHello
@GetMapping("/api/javainuse") public java.lang.String sayHello()This method return text Swagger Hello World This method use endpoint /api/javainuse.- Returns:
- Text Swagger Hello World.
-