Hi, I could imagine that integration with rest-plugin could make sense. Or maybe a swagger-plugin as alternative to rest-plugin?
regards, Christoph > > Isn't swagger a tool that describes API's. > > Does it make sense to have this as a tool/plugin on a struts2 application? > > Regards, > Stefaan Dutry (sdutry) > > 2017-07-19 23:30 GMT+02:00 Ken McWilliams <ken.mcwilli...@gmail.com>: > > Go fourth an conquer, once you write it, it will exist. > > Do you currently have swagger integrated into your project? Btw, I have no > > idea with swagger is... keep that in mind, as I go on. > > > > If you have swagger working in your project, then: > > > > Step 1: is to meditate on weather or not it makes sense as a plugin, as I'm > > ignorant on swagger, it should be something that affects the shape the the > > data sent back to the client, or perhaps how data is received. Other > > concerns such as security, or data access happen outside of struts2's > > intent, while those things wouldn't likely make good plugins, integration > > guides are still welcome. > > > > Step 2: Identify all the components that are useful, perhaps you have an > > interceptor stack and if you could share that stack you would be good. > > > > Step 3: Review the structure of other plugins, the most importaint part is > > the file "struts-plugin.xml", it is just your struts.xml file but these > > will be loaded first making whatever you put into it available to others, > > so constants, interceptors, packages, normal struts2 stuff you want to > > share. > > > > Step 4: Get it built, either do it yourself [4A]probably using: > > > > http://struts.apache.org/docs/struts-2-maven- > archetypes.html#Struts2MavenArchetypes-ThePluginArchetype(struts2- > archetype-plugin) > > > > Or [4B] prepare a basic demo, tell the people here it is the greatest thing > > since sliced bread and beg someone to do it. Someone might. If not goto 4A. > > > > > > On Wed, Jul 19, 2017 at 12:55 PM, Manmohan <manmohan.na...@gmail.com> wrote: > > > >> Hi > >> I am using Struts2 in my project since almost 2 years > >> I am wondering why there is no swagger plug in available. > >> If somebody helps me with some of the struts2 questions ,I can able to > >> write plug in so that others can use it. > >> > >> > >> Regards > >> Manmohan Nayak > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > >> For additional commands, e-mail: dev-h...@struts.apache.org > >> > >> > > > > > > -- > > Sent from my C64 using a 300 baud modem > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > This Email was scanned by Sophos Anti Virus