title: How do you change the date format in Swagger documentation?
body: <p>I have the following in my model as described in <a href="https://stackoverflow.com/a/34750537/148844">https://stackoverflow.com/a/34750537/148844</a></p>
  
  <pre><code>@ApiModelProperty(required = true, dataType = "java.time.LocalDate")
  @JsonFormat(pattern="yyyy-MM-dd")
  private Date mCreatedAt;
  </code></pre>
  
  <p>However Swagger is still displaying the date as a date-time-with-zone. I also tried <code>org.joda.time.LocalDate</code>. How do I change the documentation date format example?</p>
  
  <p><a href="https://i.stack.imgur.com/hzvqL.png" rel="noreferrer"><img src="https://i.stack.imgur.com/hzvqL.png" alt="swagger api docs"></a></p>
  
  <p>Here is the documentation on the property.</p>
  
  <p><a href="http://docs.swagger.io/swagger-core/v1.3.12/apidocs/index.html?com/wordnik/swagger/annotations/ApiModelProperty.html" rel="noreferrer">http://docs.swagger.io/swagger-core/v1.3.12/apidocs/index.html?com/wordnik/swagger/annotations/ApiModelProperty.html</a></p>
  
  <p>SpringFox-Swagger-UI 2.9.2</p>
  
  <hr>
  
  <p>I noticed this error at top of Swagger UI when run.</p>
  
  <blockquote>
    <p>Errors<br>
    Resolver error at paths./getTrackingDataByUserID.post.responses.200.schema.properties.items.items.properties.mCreatedAt.$ref<br>
    Could not resolve reference because of: Could not resolve pointer: /definitions/LocalDate does not exist in document</p>
  </blockquote>