diff --git a/DocumentOperator.API/Configuration/SwaggerSettings.cs b/DocumentOperator.API/Configuration/SwaggerSettings.cs new file mode 100644 index 0000000..19959a7 --- /dev/null +++ b/DocumentOperator.API/Configuration/SwaggerSettings.cs @@ -0,0 +1,33 @@ +namespace DocumentOperator.API.Configuration; + +/// +/// Configuration settings for Swagger/OpenAPI documentation. +/// +public class SwaggerSettings +{ + /// + /// + /// + public const string SectionName = "SwaggerSettings"; + + /// + /// Enable Swagger UI in Production environment. + /// Default: true (allows production testing/debugging). + /// + public bool EnableInProduction { get; set; } = true; + + /// + /// API title displayed in Swagger UI. + /// + public string Title { get; set; } = "DocumentOperator API"; + + /// + /// API version. + /// + public string Version { get; set; } = "v1"; + + /// + /// API description displayed in Swagger UI. + /// + public string Description { get; set; } = "PDF document processing service"; +}