diff --git a/components/apimgt-extensions/io.entgra.device.mgt.core.apimgt.webapp.publisher/src/main/java/io/entgra/device/mgt/core/apimgt/webapp/publisher/APIPublisherUtil.java b/components/apimgt-extensions/io.entgra.device.mgt.core.apimgt.webapp.publisher/src/main/java/io/entgra/device/mgt/core/apimgt/webapp/publisher/APIPublisherUtil.java index df9f76b285..f8d7638480 100644 --- a/components/apimgt-extensions/io.entgra.device.mgt.core.apimgt.webapp.publisher/src/main/java/io/entgra/device/mgt/core/apimgt/webapp/publisher/APIPublisherUtil.java +++ b/components/apimgt-extensions/io.entgra.device.mgt.core.apimgt.webapp.publisher/src/main/java/io/entgra/device/mgt/core/apimgt/webapp/publisher/APIPublisherUtil.java @@ -357,6 +357,14 @@ public class APIPublisherUtil { apiConfig.setUriTemplates(templates); } + /** + * This method will extract and retrieve the API resource configuration by processing the API resources + * @param standardContext {@link StandardContext} + * @param servletContext {@link ServletContext} + * @return Extracted {@link APIResourceConfiguration} list describing from the servlet context + * @throws IOException Throws when error occurred while processing the swagger annotations + * @throws ClassNotFoundException Throws when error occurred while extracting api configurations + */ public static List getAPIResourceConfiguration(StandardContext standardContext, ServletContext servletContext) throws IOException, ClassNotFoundException { List apiResourceConfigurations = new ArrayList<>();