1
啊鑫
2025-04-23 5c6ab69f508b1bb88580536b0b65d3c27f5ca5e9
StandardPda/MESApplication/Startup.cs
@@ -1,10 +1,11 @@
using System.Reflection;
using MES.Service.Dto.@base;
using MES.Service.Dto.@base;
using MES.Service.util;
using MESApplication.Filter;
using Microsoft.OpenApi.Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using Swashbuckle.AspNetCore.SwaggerUI;
using System.Reflection;
namespace MESApplication;
@@ -35,7 +36,7 @@
        {
            c.SwaggerDoc("v1",
                new OpenApiInfo
                    { Title = "MESApplication.Api", Version = "v1" });
                { Title = "MESApplication.Api", Version = "v1" });
            var xmlFile =
                $"{Assembly.GetExecutingAssembly().GetName().Name}.xml";
            var xmlPath = Path.Combine(AppContext.BaseDirectory, xmlFile);