1. Go to Web link https://www.nuget.org/packages/Swashbuckle/ and check which version do we want.

2. Open Vs project and go to NuGet Tool Console, type "Install-Package Swashbuckle -Version 5.3.2".

3. It will generate a new file "SwaggerConfig" in App_Start folder. You can change the Description by this line " c.SingleApiVersion("v1", "Libaray.Web");"

4. run the application then redirect to http://localhost:49919/swagger, you will get your API document. 

相关文章:

  • 2021-07-17
  • 2021-05-19
  • 2021-05-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-11
  • 2021-04-09
  • 2022-01-29
相关资源
相似解决方案