class HomeResource {

	@GET
	@Produces(MediaType.APPLICATION_JSON)
	@Operation(tags = "home")
	public SimplePluginEntity[] getPlugins() {
		List<IPlugin> pluginList = this.manager.getPlugins();
		SimplePluginEntity[] plugins = new SimplePluginEntity[pluginList.size()];
		for (int i = 0; i < pluginList.size(); i++) {
			plugins[i] = new SimplePluginEntity(pluginList.get(i));
			plugins[i].setLink(createPath(pluginList.get(i)));
		}
		return plugins;
	}

}