title: How to remove swagger production .net core 2.1
body: <p>I have swagger working on multiple microservices.
  When deploying to Azure we need to remove all together the option of swagger due to security best practices. 
  Working with .net core 2.1
  Looking for example of definitions.</p>