diff --git a/Startup.cs b/Startup.cs index 8c13533..8f19839 100644 --- a/Startup.cs +++ b/Startup.cs @@ -37,6 +37,7 @@ namespace rmutr_report }; services.AddSingleton(_setting); services.AddControllers(); + services.AddSwaggerGen(c => { c.SwaggerDoc("reports", new OpenApiInfo {Title = "Reports API", Version = "v1"}); @@ -44,7 +45,7 @@ namespace rmutr_report var xmlFile = $"{Assembly.GetExecutingAssembly().GetName().Name}.xml"; var xmlPath = Path.Combine(AppContext.BaseDirectory, xmlFile); c.IncludeXmlComments(xmlPath); - + c.EnableAnnotations(); // c.MapType(typeof(TimeSpan?), () => new OpenApiSchema // { // Type = "string", diff --git a/wwwroot/reports/summary_building_construction.frx b/wwwroot/reports/summary_building_construction.frx index de61215..b0a5703 100644 --- a/wwwroot/reports/summary_building_construction.frx +++ b/wwwroot/reports/summary_building_construction.frx @@ -1,5 +1,5 @@  - + using System; using System.Collections; using System.Collections.Generic; @@ -130,8 +130,8 @@ namespace FastReport - - + + @@ -176,7 +176,7 @@ namespace FastReport - +