title: .Net Core 2.2 / Kestrel / Swagger disabling Chunking / Encoding
body: <p>I'm being a REST api in .Net Core 2.2 / Kestrel / Swagger 3 (OpenAPI). I've noticed in Fiddler that my responses are all marked as Encoded with the yellow banner, have Chunked Encoding enabled and the Json is littered with 5J, etc. How can I disable that?</p>
  
  <p>I've seen a few threads on SO, but they are for older versions...</p>
  
  <p>Also, my guess is that I'd like to do this through middleware some how... so I don't have to change any controls and Swagger all plugs in through that.</p>
  
  <p>There was one SO response that linked to a GitHub project that supposedly did it, but the project was deleted.</p>
  
  <p>It comes back like this in Fiddler (with the 51 and the 0):</p>
  
  <pre><code>51
  {
    "": [
      "Content-Type must be application/x-www-form-urlencoded."
    ]
  }
  0
  </code></pre>
  
  <p>Header:</p>
  
  <pre><code>Transfer-Encoding: chunked
  X-SourceFiles: =?UTF-8?B?QzpcVXNlcnNcR2lsIFJvc2luXERvY3VtZW50c1xWaXN1YWwgU3R1ZGlvIDIwMTdcUHJvamVjdHNcRFRNUzJcdG9rZW4=?=
  Server: Kestrel
  Content-Type: application/json
  </code></pre>