Jersey and DropWizard are the frameworks. It turns out that the engineers can already use Swagger (presumably some utility in Codegen), but many of the Java REST annotations are in subclasses that Swagger misses.
On Tue, Dec 12, 2017 at 5:50 PM, Ron Ratovsky <[email protected]> wrote: > It really depends on which REST framework you use in Java. Jersey? > RESTEasy? Spring? Something else? > > > > > > > > *From: *<[email protected]> on behalf of " > [email protected]" <[email protected]> > *Reply-To: *"[email protected]" < > [email protected]> > *Date: *Tuesday, December 12, 2017 at 19:13 > *To: *Swagger <[email protected]> > *Subject: *Java to JSON to HTML? > > > > Hello, > > > > I'm new to Swagger, and although I've done some trivial Java coding, I'm > not a "real" programmer. My goal is to convert Java annotations that define > a REST API to a JSON file, and then convert the JSON file to HTML > documentation for the API. There's lots of information about what the JSON > file format should be, and Swagger UI appears to be the right tool for the > second conversion, but I'm unclear about the first. I'm probably missing > something that would be obvious to a "real" programmer. > > > > Codegen is described as a tool that "creates server stubs and client > SDKs". Compared with what I'm hoping to do, this seems backwards. The REST > API definitions are already in the Java code. I might need to make sure > they are sufficiently complete to be used with Swagger, but they exist > already. What should I do? > > > > Rebecca > > -- > 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 a topic in the > Google Groups "Swagger" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/swagger-swaggersocket/3LTjMsT8sIg/unsubscribe. > To unsubscribe from this group and all its topics, 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.
