I'd like to be able to use:
@RESTClient
public static StarterResource appService;
but to use an Application from some other package.
import javax.ws.rs.core.Application;
@ApplicationPath("/api")
public class StarterApplication extends Application {
At the moment, MST will start from the Resource class and look for an Application in the same package, (understandably not wanting to scan the whole classloader tree).
Interested to hear ideas here on how this could fit into MST config or extension.
This basic mapping strikes me as maybe one that could have come up in other JAX-RS-related contexts, but admit I haven't done much resource to see if there's something already to build off of (completely separate from MST).