This commit is contained in:
wanghu
2026-09-02 10:23:24 +08:00
parent 5a414b14d2
commit ce436cbb32
117 changed files with 13768 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
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 };
}
}