Swagger-ui with Websphere Application Server
April 28, 2016 1 Comment
To deploy the swagger-ui on WebSphere Application Server get the source code from github first. Create a Simple Web Project in Eclipse and copy the content of the ‘dist’ folder from the zip archive into WebContent folder. Make sure you have the WebSphere Development Tools plugin installed in Eclipse. You can find it in the Eclipse Marketplace.
Now set the root context to /swagger in ibm-web-ext.xml. Export the project as WAR and deploy on the Application Server.
To point by default to your own RESTful API with swagger annotations change the url in the index.html file.