title: How to update REST API Client from a Swagger file in Visual Studio
body: <p>How do I update a REST API Client from a Swagger file in Visual Studio?  I created my REST API Client via the "Add -> REST API Client" menu option when right-clicking on the project.  See screenshot below.  I now have an updated version of the Swagger file and need to also update the auto-generated client code.  How do I do this in Visual Studio?</p>
  
  <p>I have not been able to find a way to update the auto-generated code without completely deleting the code first and then re-adding the REST API Client.  I am looking for something similar to the "Update Service Reference" functionality for a WSDL.</p>
  
  <p><a href="https://i.stack.imgur.com/P1zzI.png" rel="noreferrer"><img src="https://i.stack.imgur.com/P1zzI.png" alt="Add REST API Client menu option"></a>
  <a href="https://i.stack.imgur.com/MBzuA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/MBzuA.png" alt="Add REST API Client popup"></a></p>