首先添加"SwaggerGenerator": "1.1.0","SwaggerUi": "1.1.0" 需要注意的是这两个组件是我对Swashbuckle的重新封装,因为当前版本对泛型会报错. 在ConfigureServices 中添加: services.ConfigureSwaggerGen(options => { options.SwaggerDoc("v1", new Info { Ve
World's Most Popular API Framework | Swagger https://swagger.io/ Swagger is the world’s largest framework of API developer tools for the OpenAPI Specification(OAS), enabling development across the entire API lifecycle, from design and documentation,