How to refresh an OpenAPI service reference in Visual Studio - Stack Overflow

In Visual Studio, I have added an OpenAPI service reference to my .NET project, so that I can use it as

In Visual Studio, I have added an OpenAPI service reference to my .NET project, so that I can use it as a client for that service.

So far all is well, but now something has changed in the service definition, and I need to re-import the OpenAPI file. From the Connected Services window, I tried the Refresh service references button (and also … > Refresh, which I think does the same)

The OpenAPIs\swagger.json file is not updated, and also the generated C# code does not change.

Is it possible to refresh a service reference, or do I have to remove the existing one and recreate it from scratch?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744660948a4586460.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信