JavaQ/code-with-quarkus/src/main/java/org/acme/SaludoResource.java
package org.acme;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

@Path("/greeting")
public class SaludoResource {

    @GET
    @Produces(MediaType.TEXT_PLAIN)
    @Path("{name}")
    public String saludar(String name) {
        return "Hello " + name; 
    }
}


