jsr370-experts@jax-rs-spec.java.net

Default for missing _at_Path

From: <markus_at_headcrashing.eu>
Date: Mon, 29 Feb 2016 18:32:15 +0100

According to the current wording of the JAX-RS 2.0 specification, a
compliant JAX-RS resource class not necessarily must have a @Path
annotation (it is enough to have @GET for example). Maybe I am blind,
but I cannot see an explanation what the default path shall be in case
no @Path is found. So my question is:

How do Jersey / CXF / RestEasy handle this case currently, and won't
it be a good idea if we add a short note to the JAX-RS 2.1 spec how it
SHALL be like?

-Markus