users@wadl.java.net

Suppressing detail in generated WADL

From: <michaelw_at_articulatedesign.us.com>
Date: Tue, 13 May 2014 20:29:33 +0000 (UTC)

The Jersey 2.8 UG states:

"Since Jersey 2.5.1 the WADL generated by default is WADL in shorter
form without additional extension resources (OPTIONS methods, WADL
resource). In order to get full WADL use the query parameter
detail=true"

However, GlassFish 4 always generates the full WADL, even with
detail=false. GET requests to the following URLs return the same full
WADL (including OPTIONS methods, etc.):

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

Is there any other way to suppress the detail in the generated WADL?

Thanks,
Mike