开源DDD设计模式框架YMNNetCoreFrameWork第五篇-Swagger增加权限认证
2021-04-19 04:28
标签:directory uri clu cname 说明 attr options tac name 开源DDD设计模式框架YMNNetCoreFrameWork第五篇-Swagger增加权限认证 标签:directory uri clu cname 说明 attr options tac name 原文地址:https://www.cnblogs.com/topguntopgun/p/12271530.html配置文件
services.AddSwaggerGen(c =>
{
c.SwaggerDoc("v1", new OpenApiInfo
{
Version = "v0.1.0",//版本号
Title = "尹大师框架说明,QQ:1390788386",//文档标题
Description = "框架说明文档",//文档描述
Contact = new OpenApiContact { Name = "道法自然", Email = "1390788386@qq.com"}//联系人
});
// Assign scope requirements to operations based on AuthorizeAttribute
//options.OperationFilter
文章标题:开源DDD设计模式框架YMNNetCoreFrameWork第五篇-Swagger增加权限认证
文章链接:http://soscw.com/index.php/essay/76503.html