This commit implements a complete rebranding of the project: - Updated all namespaces from `DocumentOperator` to `DocumentService`. - Renamed file paths, embedded resources, and test data references. - Updated configuration keys, logging paths, and Redis instance names. - Revised documentation to reflect the new project name. - Modified project and solution files to align with the new structure. - Updated class names, DTOs, commands, queries, and handlers. - Adjusted middleware, controllers, and API endpoints. - Updated Swagger metadata and API titles to `DocumentService API`. - Refactored test namespaces, resource paths, and embedded resources. - Updated build and deployment configurations for the new name. - Replaced all references to `DocumentOperator` in comments and literals. These changes ensure consistency across the codebase and documentation.
34 lines
901 B
C#
34 lines
901 B
C#
namespace DocumentService.API.Configuration;
|
|
|
|
/// <summary>
|
|
/// Configuration settings for Swagger/OpenAPI documentation.
|
|
/// </summary>
|
|
public class SwaggerSettings
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public const string SectionName = "SwaggerSettings";
|
|
|
|
/// <summary>
|
|
/// Enable Swagger UI in Production environment.
|
|
/// Default: true (allows production testing/debugging).
|
|
/// </summary>
|
|
public bool EnableInProduction { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// API title displayed in Swagger UI.
|
|
/// </summary>
|
|
public string Title { get; set; } = "DocumentService API";
|
|
|
|
/// <summary>
|
|
/// API version.
|
|
/// </summary>
|
|
public string Version { get; set; } = "v1";
|
|
|
|
/// <summary>
|
|
/// API description displayed in Swagger UI.
|
|
/// </summary>
|
|
public string Description { get; set; } = "PDF document processing service";
|
|
}
|