File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public void ConfigureServices(IServiceCollection services)
34
34
services . AddDbContext < ClaimsContext > ( opt => opt . UseSqlServer ( Configuration . GetConnectionString ( "SqlServerDb" ) ) ) ;
35
35
services . AddMvc ( ) . SetCompatibilityVersion ( CompatibilityVersion . Version_2_2 ) ;
36
36
37
-
37
+ /**
38
38
// Register the Swagger generator, defining 1 or more Swagger documents
39
39
services.AddSwaggerGen(c =>
40
40
{
@@ -61,7 +61,7 @@ public void ConfigureServices(IServiceCollection services)
61
61
var xmlPath = Path.Combine(AppContext.BaseDirectory, xmlFile);
62
62
c.IncludeXmlComments(xmlPath);
63
63
});
64
-
64
+ **/
65
65
}
66
66
67
67
// 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)
76
76
app . UseHsts ( ) ;
77
77
}
78
78
79
-
79
+ /**
80
80
// Enable middleware to serve generated Swagger as a JSON end-point
81
81
app.UseSwagger();
82
82
// Enable middleware to serve Swagger-ui, specifying Swagger JSON end-point.
83
83
app.UseSwaggerUI(c =>
84
84
{
85
85
c.SwaggerEndpoint("/swagger/v1/swagger.json", "Claims API");
86
86
});
87
-
87
+ **/
88
88
89
89
// app.UseHttpsRedirection();
90
90
// Add MVC middleware
You can’t perform that action at this time.
0 commit comments