Our's project is of bit older archetype, having all servlets based out of SCR notations. The sling servlet based APIs are consumed internally by the components(which are all JSP based.).
There are few schedulers, event handlers and workflows which consumes APIs which are outside of AEM but internal to client network.
I need to generate swagger2 document out of all the Sling Servlet based APIs from our AEM Codebase. Is there any way I can configure a Swagger plugin in POM.xml and get the swagger documentation generated out of it(like that of in Spring boot application.)? OR Do I have to create it manually?