Was looking for something that didn't pull in JAX-RS and just leveraged the swagger annotations. I found the swagger-servlet module helped me understand what needs to be done to just scan for swagger annotations and build the Swagger model for output to json.
On Tuesday, July 19, 2016 at 1:15:04 PM UTC+10, Ron wrote: > > Have you seen the wiki - > https://github.com/swagger-api/swagger-core/wiki/Swagger-Core-JAX-RS-Project-Setup-1.5.X > > and the samples - https://github.com/swagger-api/swagger-samples? > > > > > > > > > > *From: *<[email protected] <javascript:>> on behalf of > Kallen <[email protected] <javascript:>> > *Reply-To: *"[email protected] <javascript:>" < > [email protected] <javascript:>> > *Date: *Monday, 18 July 2016 at 19:57 > *To: *Swagger <[email protected] <javascript:>> > *Subject: *Generate Swagger json from Swagger annotations > > > > I'm looking for a way to generate the swagger json files from swagger > annotated java classes. All the examples seem to revolve around serving > from within a web container where swagger scans with reflection at run > time. Seems like this is possible to do but no clear examples. > > > > Thanks in advance > > -- > 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] <javascript:>. > 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.
