Open madhugarimilla opened 8 years ago
I think that the intention is that you download the swagger UI from io.swagger. The trouble then is that you have a CORS issue and have to set up the CORS headers appropriately. I haven't figured out how to do this bit yet. It would be much better to have the UI bundled.
Look at Amdatu Web. They do much the same as this, but it all works out of the box (though it doesn't use the swagger annotations, it uses their own for some reason, possibly they predate the swagger ones). In fact Amdatu Web is almost exactly the same as this project, it's just it uses Apache Wink instead of jersey, and hence only supports JAXRS 1
@madhugarimilla it is really easy to create your own swagger-ui bundle. If you still have not done this contact me and I will show you how.
@jmacauley Hey John, Thanks for the reply. I haven't done this. Could you please help me with this.
I have added some rest apis using this connector. I have the swagger documentation available for my apis but those are displayed in JSON format right now. I would like to display my swagger documentation using the swagger ui. Any help on how to go about this is appreciated. Do i need a osgi bundle for swagger ui as well ?