nyx/tests/dynamic_fixtures/surface/java_quarkus/GreetResource.java

18 lines
313 B
Java
Raw Normal View History

2026-06-05 10:16:30 -05:00
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";
}
}