users@jersey.java.net

[Jersey] Suppressing detail in WADL generated by GlassFish 4

From: <michaelw_at_articulatedesign.us.com>
Date: Wed, 14 May 2014 12:39:23 +0000 (UTC)

For a JAX-RS service, GlassFish 4 always generates the full WADL. Is
there any way to suppress the OPTIONS method and WADL resource? The
Jersey user guide mentions a "detail" query parameter in Jersey 2.5.1
and later, but that doesn't have any effect in GlassFish; GET requests
to the following URLs yield the same full WADL:

http://host/app/application.wadl
http://host/app/application.wadl?detail=false

Is there any way to configure GlassFish or my service to suppress the
detail in the generated WADL?

Thanks,
Mike