|
|
@ -9,6 +9,7 @@ using SiNan.Common.Extensions; |
|
|
|
using SiNan.Common.Http; |
|
|
|
using SiNan.Common.Log; |
|
|
|
using SiNan.Common.Models; |
|
|
|
using SiNan.Model; |
|
|
|
using System.Reflection; |
|
|
|
using System.Text; |
|
|
|
using Yitter.IdGenerator; |
|
|
@ -65,6 +66,7 @@ services.AddControllers(c => |
|
|
|
//setupAction.SerializerSettings.DefaultValueHandling = Newtonsoft.Json.DefaultValueHandling.Include;
|
|
|
|
}); |
|
|
|
|
|
|
|
services.AddMapper(new MappingProfiles()); |
|
|
|
services.AddEndpointsApiExplorer(); |
|
|
|
services.AddSwaggerGen(c => |
|
|
|
{ |
|
|
|