swagger
This commit is contained in:
@@ -227,11 +227,11 @@ app.UseForwardedHeaders(new ForwardedHeadersOptions
|
||||
});
|
||||
|
||||
// Swagger/SwaggerUI f<>r API-Dokumentation aktivieren
|
||||
if (app.Environment.IsDevelopment())
|
||||
{
|
||||
//if (app.Environment.IsDevelopment())
|
||||
//{
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI();
|
||||
}
|
||||
//}
|
||||
|
||||
// app.UseHttpsRedirection(); // Auskommentiert f<>r Docker HTTP-Entwicklung
|
||||
|
||||
|
||||
Reference in New Issue
Block a user