adding swagger to struts2 existing project

610 views
Skip to first unread message

AnoneMouses

unread,
Aug 13, 2014, 2:20:10 PM8/13/14
to swagger-sw...@googlegroups.com
Hi-I've newly came across swagger and would really like to try it out on a existing struts2 web-service I've written. However I'm a bit uncertain how to proceed as there seems little/no documentation on how to do this.
The URI's I would like swagger to document take the form of actions, and the controller is done from struts.xml file. 
Thank you for any help!!

Ron

unread,
Aug 15, 2014, 2:44:03 AM8/15/14
to swagger-sw...@googlegroups.com
I'm honestly not sure if/how you can use swagger-core with struts2, never really used it myself.

Officially, swagger-core supports 3 forms of exposing APIs - using JAX-RS, "pure" Servlets or the Play framework.
Spring-MVC for example is supported by a different library, swagger-springmvc.

I'm not sure how struts2 works, and we may be able to get it to work without adding new code, but you would have to give more information as to how the REST endpoints are written and exposed.




--
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-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages