winform+dev的前后台分离标准项目
lg
2024-08-27 94e53b9394aa981f0d6a1cd80edac9a9ba1ba97c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using Microsoft.AspNetCore.Mvc.ApiExplorer;
 
namespace Gs.Toolbox
{
    /// <summary>
    /// swagger分组特性
    /// </summary>
    public class ApiGroupAttribute : Attribute, IApiDescriptionGroupNameProvider
    {
        public ApiGroupAttribute(ApiGroupNames name)
        {
            GroupName = name.ToString();
        }
        public string GroupName { get; set; }
    }
}