Please see this test for more information: https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=blob;f=rt/rs/description/src/test/java/org/apache/cxf/jaxrs/model/wadl/WadlGeneratorJsonTest.java;h=cf368062059d21624cab45bd7614c6789c02f41e;hb=HEAD
A JAXB generation needs to be disabled and the external JSON schema referenced.
I guess I'll need to update the code to ignore JAXB generation if _json is set...
Cheers, Sergey On 09/05/15 17:49, las wrote:
Hi Sergey, I have annotated my service classes with produces application/json and my models don't have any annotations. I have also included cxf-rt-rs-service-description - 3.0.0 dependency. I am sending HTTP Accept header as application/json and ?_wadl=&_type=json, it doesn't give the wadl in json format but in xml with escaped characters. I am not sure if i have to do anything in particular. Appreciate your response. Regards. -- View this message in context: http://cxf.547215.n5.nabble.com/Auto-generation-of-WADL-tp5756919p5757159.html Sent from the cxf-user mailing list archive at Nabble.com.