Skip to content

Commit 43eaf37

Browse files
committed
Test-1-complete
1 parent 48ce974 commit 43eaf37

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Startup.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public void ConfigureServices(IServiceCollection services)
3434
services.AddDbContext<ClaimsContext>(opt => opt.UseSqlServer(Configuration.GetConnectionString("SqlServerDb")));
3535
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_2);
3636

37-
37+
/**
3838
// Register the Swagger generator, defining 1 or more Swagger documents
3939
services.AddSwaggerGen(c =>
4040
{
@@ -61,7 +61,7 @@ public void ConfigureServices(IServiceCollection services)
6161
var xmlPath = Path.Combine(AppContext.BaseDirectory, xmlFile);
6262
c.IncludeXmlComments(xmlPath);
6363
});
64-
64+
**/
6565
}
6666

6767
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
@@ -76,15 +76,15 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env)
7676
app.UseHsts();
7777
}
7878

79-
79+
/**
8080
// Enable middleware to serve generated Swagger as a JSON end-point
8181
app.UseSwagger();
8282
// Enable middleware to serve Swagger-ui, specifying Swagger JSON end-point.
8383
app.UseSwaggerUI(c =>
8484
{
8585
c.SwaggerEndpoint("/swagger/v1/swagger.json", "Claims API");
8686
});
87-
87+
**/
8888

8989
// app.UseHttpsRedirection();
9090
// Add MVC middleware

0 commit comments

Comments
 (0)