title: How to put header information in swagger json
body: <p>I followed the following link from swagger documentation to create swagger json for my rest api. </p>
  
  <p><a href="https://swagger.io/docs/specification/2-0/describing-request-body/" rel="nofollow noreferrer">https://swagger.io/docs/specification/2-0/describing-request-body/</a></p>
  
  <p>In my rest api, I have request body and  http headers like Content-Type and Authorization that go along with the service request.</p>
  
  <p>I was wondering if there is a way to include request body and http header information in the swagger json ? I don't see that information in the swagger docs.</p>