Expand my Community achievements bar.

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

Avatar

Level 1

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.

0 Replies