Endpoints can either specify an HTTP method or can use a specific JAX-RS annotation, such as @GET
, @HttpMethod
, @PATCH
, and so on. Endpoints are methods on a resource that can be invoked by a client. An endpoint method may have its own @Path
annotation that appends to the resource path. Endpoints should never specify an empty path. Should that be necessary, remove the annotation.