This PR makes the swagger plugin to recognize the javax.ws.rs.core.Application instance and pass it to the swagger reader. The application class may be explicitly specified by using the "applicationClass" parameter; if this is not specified, a classpath is scanned for any instance of javax.ws.rs.core.Application, and if only one such class is found, it is used.
This PR makes the swagger plugin to recognize the javax.ws.rs.core.Application instance and pass it to the swagger reader. The application class may be explicitly specified by using the "applicationClass" parameter; if this is not specified, a classpath is scanned for any instance of javax.ws.rs.core.Application, and if only one such class is found, it is used.