title: NSwag for Asp.Net Web Api 2 show security in swagger gui
body: <p>We have installed nswag in our project and it works fine so far. </p>
  
  <p>But all our functions are secured with an api-key.</p>
  
  <p>when I take a look on the demo page from swagger, I can see the lock a the end of each api call where I need to Authorize (I think thats the lock for)</p>
  
  <p><a href="https://petstore.swagger.io/#/" rel="nofollow noreferrer">https://petstore.swagger.io/#/</a></p>
  
  <p><a href="https://i.stack.imgur.com/wdTN8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wdTN8.png" alt="enter image description here"></a></p>
  
  <p>In our local installation we got the "Authorize" Button and we can set the Key but I don't know how to activate the lock sign in api calls? Is there an Attribute I need to set?</p>