swagger
This commit is contained in:
@@ -255,11 +255,11 @@ app.UseForwardedHeaders(new ForwardedHeadersOptions
|
||||
app.UseStaticFiles();
|
||||
|
||||
// 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