I would like to change REST api path dynamically Under OH2
e.g default /rest/ to custom [randomtoken]/rest/ once a day. This layer of security I would like to obtain. Through Karaf Command I can change new path at run time but when I reboot
automatically default rest path [ /rest/] becomes available along with custom [ /[randomtoken]/rest/].
How could I can permanently removed default path .
I have changed root of the service pid com.eclipsesource.jaxrs.connector and swagger.basePath
\openhab-offline-2.0.0-SNAPSHOT\runtime\karaf\etc perfectly reflect custom cfg [com.eclipsesource.jaxrs.connector.cfg and com.eclipsesource.jaxrs.swagger.config.cfg] but default path always exist even I have changed it from service.cfg [\openhab-offline-2.0.0-SNAPSHOT\runtime\etc] file
at start up it throws this exception :
Updating property root of configuration com.eclipsesource.jaxrs.connector caused a problem: Root path does not start with a /