title: How can I get Swashbuckle to produce Swagger-properties with date (without time)?
body: <p>I have a class that is exposed through Swashbuckle that looks something like this:</p>
  
  <pre><code>public class Person
  {
       [JsonProperty("dateOfBirth")]
       [JsonConverter(typeof(DateFormatConverter))]
       public System.DateTime? DateOfBirth { get; set; }
  }
  
  internal class DateFormatConverter : Newtonsoft.Json.Converters.IsoDateTimeConverter
  {
      public DateFormatConverter()
      {
          DateTimeFormat = "yyyy-MM-dd";
      }
  }
  </code></pre>
  
  <p>(The class was generated by NSwag-studio)</p>
  
  <p>When I use <code>app.UseSwagger();</code> to generate a Swagger contract with Swashbuckle, the result looks like this:</p>
  
  <pre><code>"Person": {
      "dateOfBirth": {
        "format": "date-time",
        "type": "string"
      }
    }
  }
  </code></pre>
  
  <p>I would like to configure Swashbuckle to recognize my <code>DateFormatConverter</code> class and treat the format accordingly.</p>
  
  <p>I tried <code>options.SchemaFilter&lt;DateFormatSchemaFilter&gt;()</code> in my <code>Startup</code> class, but the filter doesn't have the context of the property, so unless I want <em>all</em> DateTime objects to be <code>date</code>, this isn't a viable option.</p>