Thanks for the reply. I downloaded swagger editor package and is working on it. Now I am able to launch the swagger editor through Tomcat.
As a next step, I launched this swagger editor from my website. But the swagger editor is getting opened with a default yaml. Is there any way to open the swagger editor with any of my yaml files ? i.e, whenever user clicks on API, corresponding yaml should get opened in swagger editor.. Please help. On Monday, October 31, 2016 at 4:36:09 PM UTC-5, Ron wrote: > > Should be, yes. > > > > > > *From: *<swagger-sw...@googlegroups.com <javascript:>> on behalf of Meera > nyjen <meera...@gmail.com <javascript:>> > *Reply-To: *"swagger-sw...@googlegroups.com <javascript:>" < > swagger-sw...@googlegroups.com <javascript:>> > *Date: *Wednesday, 26 October 2016 at 8:39 > *To: *"swagger-sw...@googlegroups.com <javascript:>" < > swagger-sw...@googlegroups.com <javascript:>> > *Subject: *Embedding swagger editor in my website > > > > I am trying to organize all the available REST api's in different projects > into a single location. So any user can access the rest api documentation > of all these API's of different projects through a browser. > > > > As a start up , I followed the below steps to do it: > > 1. Installed Apache Tomcat server in my machine > > 2. Downloaded swagger ui project from github > > 3. Made use of dist folder by copying it to webapps of Tomcat installtion > folder > > 4. Created a yaml using swagger editor > > 5. Modified the index.html in dist folder by adding my yaml in index html > > 6. Then I am able to access it through the url. (http://locahost:8080/dist) > and able to view the API defined in my yaml. > > > > My next step is to embed swagger-editor into my website so that users can > edit the existing API documentation and view it live. > > > > In such an environment with Apache tomcat and swagger ui, is it possible > to do such a thing? > > > > > > > > > > > > > > > > -- > 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 <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 swagger-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.