There’s a community maven plugin - https://github.com/kongchen/swagger-maven-plugin.
From: <swagger-swaggersocket@googlegroups.com> on behalf of Charles Capps <char...@premise.com> Reply-To: "swagger-swaggersocket@googlegroups.com" <swagger-swaggersocket@googlegroups.com> Date: Friday, 31 March 2017 at 12:15 To: Swagger <swagger-swaggersocket@googlegroups.com> Subject: How to generate swagger.json from Java class files and JAX-RS (no running server)? Hello, I am thrilled about the great support for generating Swagger from JAX-RS and frameworks like Jersey2. However, it would be best for our CI/CD process if it were possible to generate the swagger.json without starting up a local server. Is there a command line utility to generate swagger given a WAR or Java class files? Thanks, Charles -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.