Highlighted

Swagger Implementation using Apache sling to generate Json file dynamically for different End points

gopishettyk20

15-11-2019

I'm Implementing Swagger to AEM API by developing a sling servelt method and updating the swagger specifications uisng OSGI config manager to generate the JSon file dynamically. But this works only for single endpoint and the whole process needs to be repeated when there's a new end point or any modifications to the existing endpoint. I reffered to https://github.com/headwirecom/sling-swagger-ui for my implementation. Can anyone Suggest me on how to make the swagger Json dynamic whenever a new end point is implemented without updating the whole code.