title: Swagger Codegen Java client Date format
body: <p>I have a java client in swagger who's swagger.json includes the following:</p>
  
  <pre><code>"updatedTime":{"type":"string","format":"date-time"}
  </code></pre>
  
  <p><a href="https://github.com/swagger-api/swagger-codegen/issues/1035" rel="nofollow noreferrer">This</a> issue from 2015 says specifying the format as <code>date-time</code> doesn't use <code>Joda DateTime</code>. For my client I want to have the property represented as <code>java.util.Date</code> rather than the <code>Joda</code> representation. I tried using <code>-DdateLibrary=java8</code>, but that prevents the client from using the feign builder when I generate my client using the following command:</p>
  
  <pre><code>java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate -i http://localhost:8080/swagger.json -l java --library feign -DdateLibrary=java8 -o samples/client/my-service/java
  </code></pre>
  
  <p>How can I specify what data type swagger should use for the response object? In fact on the service, the property is already represented as <code>java.util.Date</code>. </p>