I would like to set @ClientHeaderParam's value with @ConfigProperty like below;
@ClientHeaderParam(name = "Authorization", value = @ConfigProperty("auth.key"))
However it says:
Incompatible types. Found: 'org.eclipse.microprofile.config.inject.ConfigProperty', required: 'java.lang.String[]'
is there a way to set value with @ConfigProperty like above?
Thanks.