Using editor.swagger.io, I've been able to build a specification and then generated a JAX-RS server and then run that in Jetty, all pretty quickly after getting the hang of the tools. Very slick. Now, I'd like to take that and build an OSGI bundle and run it in Karaf. Seems like it should be simple enough. I actually had it working with Jersey 1, but I really need it working on Jersey 2 and I haven't been able to make that happen. I've modified the generated pom.xml to use apache felix bundle plugin and then I instruct the bundle plugin to generate a web archive, but when I feed that into Karaf (after installing dependency bundles), either I get errors, some of which I've been able to resolve (by playing with imports, exports, web.xml, trying to create activators and applications) and some which I haven't but ultimately my endpoints don't work.
Does anyone have any tips or tricks on this or maybe someone has done this successfully and could share the changes I need to make to generated code to make this work? -- 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.
