Startup.cs
@@ -38,7 +38,7 @@ var xmlFile = $"{Assembly.GetExecutingAssembly().GetName().Name}.xml"; var xmlPath = Path.Combine(AppContext.BaseDirectory, xmlFile); c.IncludeXmlComments(xmlPath, true); //c.IncludeXmlComments(xmlPath, true); }); //配置JSON.NET