最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin3浏览0评论

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?

发布评论

评论列表(0)

  1. 暂无评论