18 lines
562 B
C#
18 lines
562 B
C#
namespace YhCore.Common.Config
|
||
{
|
||
/// <summary>
|
||
/// Swagger 配置(对应 appsettings Swagger 节,对齐 Java config.SwaggerConfig)。
|
||
/// </summary>
|
||
public class SwaggerConfig
|
||
{
|
||
public string Title { get; set; } = "YhCore API";
|
||
|
||
public string Description { get; set; }
|
||
|
||
public string Version { get; set; } = "v1";
|
||
|
||
/// <summary>分组(api / mobiapi / oapi)</summary>
|
||
public string[] Groups { get; set; } = { ApiPathConfig.ApiPath, ApiPathConfig.MobiApiPath, ApiPathConfig.OApiPath };
|
||
}
|
||
}
|