title: Does swagger-jaxrs @ApiModelProperty AllowableValues work with "range[x,y]"?
body: <p>I haven't been able to get the following to produce any results:</p>
  
  <pre><code>@ApiModelProperty(allowableValues = "range[0,8]", required = true)
  private String myfield;
  </code></pre>
  
  <p>This works:</p>
  
  <pre><code>@ApiModelProperty(allowableValues = "Email, Post", required = true)
  private String multiValField;
  </code></pre>
  
  <p>and produces (in the UI):</p>
  
  <pre><code>multiValField(string) = ['Email' or ' Post']
  </code></pre>
  
  <p>I may be misreading the documentation, this is from the javadocs in ApiModelProperty:</p>
  
  <blockquote>
    <p>To set a range of values, start the value with "range", and
    surrounding by square brackets include the minimum and maximum values.
    For example: range[1, 5].  To set a minimum/maximum value, use
    the same format for range but use "infinity" or "-infinity" as the
    second value. For example, range[1, infinity] means the
    minimum allowable value of this parameter is 1.</p>
  </blockquote>
  
  <p>I can't find any examples of people doing this, though it seems like it would be common.  I did find this in modules/swagger-jaxrs/src/test/scala/testresources/ResourceWithReturnTypes.java which is an @ApiParam, but I wasn't able to get this working either on my GET endpoint.</p>
  
  <pre><code>@ApiParam(value = "sample param data", required = true, 
  allowableValues = "range[0,10]")
  @DefaultValue("1") @QueryParam("id") String id) {
  </code></pre>
  
  <p>Does anyone have some version of this working?</p>