https://www.reddit.com/r/dotnet/comments/a2181x/swashbuckle_vs_nswag/
Swashbuckle
https://github.com/aspnet/Docs/issues/4258
在官方的文檔中引入NSwag的時機
https://github.com/domaindrivendev/Swashbuckle 這個項目不維護了
With the introduction of ASP.NET Core, I've now shifted my focus to the Core-specific project - Swashbuckle.AspNetCore.
That will be receiving most of my (already limited) personal time, and so I won't have the capacity to maintain this one at a sufficient rate.
https://github.com/domaindrivendev/Swashbuckle.AspNetCore
應該還是這個好用一點 但是這個不支持傳統的asp.net web api,上面的Swashbuckle是支持的(因為不維護了,所以還是考慮用NSwag)。
NSwag
https://github.com/RSuter/NSwag
Tutorials:
- Video Tutorial: How to integrate NSwag into your ASP.NET Core Web API project (5 mins)
- Integrate the NSwag toolchain into your ASP.NET Web API project 直接用在傳統的asp.net web api項目上
- Generate an Angular TypeScript client from an existing ASP.NET Web API web assembly
