Files
DocprintService/src/YhCore.Common/Config/SwaggerConfig.cs
T
2026-09-02 10:23:24 +08:00

18 lines
562 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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 };
}
}