openapi-tools / swagger-maven-plugin

Maven plugin to activate the Swagger Core library to generate OpenAPI documentation.
MIT License
70 stars 45 forks source link

Issue #23 - take Application class into consideration #24

Closed tosix1988 closed 5 years ago

tosix1988 commented 5 years ago

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.

langecode commented 5 years ago

I have seen your pull request. Will get back to you, probably during the weekend :-)

langecode commented 5 years ago

Thank you very much for your contribution. I will do a release with this new feature soon.