OSGI and WMPlatform changes to swagger