Is there a more programmatic way equivalent to the config below:
@ApplicationPath("api")
public class MyResourceConfig extends ResourceConfig {
set application path for jersey application? I wanted to configure it and maybe use something like:
property("jersey.config.<application.path>", api);
with addtitinal:
@ConfigurationProperties(prefix = "jersey")
public class MyResourceConfig extends ResourceConfig {
@Setter @Getter protected String api;
source
share