There’s a community maven plugin - 
https://github.com/kongchen/swagger-maven-plugin.

 

 

 

From: <[email protected]> on behalf of Charles Capps 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Friday, 31 March 2017 at 12:15
To: Swagger <[email protected]>
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 [email protected].
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to