Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 4105

How to update REST API Client from a Swagger file in Visual Studio

$
0
0

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?

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.

Add REST API Client menu optionAdd REST API Client popup


Viewing all articles
Browse latest Browse all 4105

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>