In my code, I have several uses of the same annotation which has three property values, one of which always has the same value.
@ApiModelProperty(value = "some value",
allowableValues = "available,pending,sold", dataType="myclass.Payload")
dataType="myclass.Payload" is always the same value.
Is there anyway I can get a bit of code reuse here?