.net core 3.1使用swagger生成接口文档
1、安装Nuget依赖包Install-Package Swashbuckle.AspNetCore -Version 5.0.0-rc42、配置Startuppublic void ConfigureServices(IServiceCollection services){ services.AddSwaggerGen(options =...