quarkus-app/start/src/main/java/org/acme/GreetingResource.java
<reponame>Parsaloi/gcp-cloud-architect<gh_stars>0package org.acme;

import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.Produces;
import jakarta.ws.rs.core.MediaType;

@Path("/hello")
public class GreetingResource {

    @GET
    @Produces(MediaType.TEXT_PLAIN)
    public String hello() {
        return "Hello from Quarkus guru";
    }
}
