It really depends on which REST framework you use in Java. Jersey? RESTEasy? 
Spring? Something else?

 

 

 

From: <swagger-swaggersocket@googlegroups.com> on behalf of 
"rpa...@zymergen.com" <rpa...@zymergen.com>
Reply-To: "swagger-swaggersocket@googlegroups.com" 
<swagger-swaggersocket@googlegroups.com>
Date: Tuesday, December 12, 2017 at 19:13
To: Swagger <swagger-swaggersocket@googlegroups.com>
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 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.

Reply via email to