nyx/tests/dynamic_fixtures/surface/java_quarkus/GreetResource.java
2026-06-05 10:16:30 -05:00

17 lines
313 B
Java

package com.example;
import io.quarkus.runtime.Quarkus;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
@ApplicationScoped
@Path("/api")
public class GreetResource {
@GET
@Path("/hello")
public String hello() {
return "hi";
}
}