> -----Original Message----- > From: Francesco Chicchiriccò [mailto:[email protected]] > Sent: Monday, October 21, 2013 3:08 AM > > Oh yes, I've tried Swagger (via their JAX-RS / CXF sample [1]) and I > really like its output; however, the final WAR from such very basic > sample is about 40 MB, mainly due to Scala compiler and other > artifacts: > definitely too loaded for my needs, so I gave up. > > Regards. > > [1] > https://github.com/wordnik/swagger-core/tree/master/samples/java-jaxrs- > cxf
Yes, I had the same thought initially too, I didn't want all of those runtime dependencies. So I thought about compile-time generation. On their wiki[1] they list swagger-jaxrs-doclet[2] and Enunciate. I tried the doclet and found it was incomplete, and that's how I ended up going down the Enunciate path. Going back to a different wiki[3] I actually see a few more options I didn't notice before: SoapUI and swagger-maven-plugin[4]. [1] https://github.com/wordnik/swagger-core/wiki/Java-Integrations [2] https://github.com/ryankennedy/swagger-jaxrs-doclet [3] https://github.com/wordnik/swagger-core/wiki/No-server-Integrations [4] https://github.com/kongchen/swagger-maven-plugin Jason ---------------------------------------------------------------------- This email message and any attachments are for the sole use of the intended recipient(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message and any attachments.
