From 90139d9c1253276553e52f70a83fa2cebd9a1532 Mon Sep 17 00:00:00 2001 From: kamonwan taengsuk Date: Mon, 1 Aug 2022 11:57:15 +0700 Subject: [PATCH] add tag --- Startup.cs | 3 ++- wwwroot/reports/summary_building_construction.frx | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) 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 - +