diff --git a/src/main/java/org/ntlab/acanthus_server/resources/HelloWorld.java b/src/main/java/org/ntlab/acanthus_server/resources/HelloWorld.java new file mode 100644 index 0000000..19b7932 --- /dev/null +++ b/src/main/java/org/ntlab/acanthus_server/resources/HelloWorld.java @@ -0,0 +1,15 @@ +package org.ntlab.acanthus_server.resources; + +import org.springframework.stereotype.Component; + +import javax.ws.rs.GET; +import javax.ws.rs.Path; + +@Component +@Path("hello_world") +public class HelloWorld { + @GET + public String getHelloWorld() { + return "Hello World"; + } +}