I'm trying to invoke this method:
public Response getWithPathParam(@ApiParam(
value = "Service group to check",
allowableValues = ApiConstants.components,
required = true )
but want that allowableValues attribute will get a value that can be varying.
what I mean that I assuming allowableValues is a String.
I wondering if there is a way of reading a string from configuration and pass it into the attributes.
my attempt so far just led into the error of:
"Attribute value must be constant"
can you help please?