diff --git a/API_SQLuedo/API/Program.cs b/API_SQLuedo/API/Program.cs index 0c518d1..f4e19f8 100644 --- a/API_SQLuedo/API/Program.cs +++ b/API_SQLuedo/API/Program.cs @@ -116,15 +116,8 @@ using (var scope = app.Services.CreateScope()) } -app.UseSwagger(options => -{ - options.RouteTemplate = "containers/johnnyratton-sqluedo-api/{documentName}/swagger.json"; -}); -app.UseSwaggerUI(option => -{ - option.SwaggerEndpoint("/containers/johnnyratton-sqluedo-api/swagger/v1/swagger.json", "Demo API v1"); - option.RoutePrefix = "containers/johnnyratton-sqluedo-api"; -}); +app.UseSwagger(); +app.UseSwaggerUI(); app.UseHttpsRedirection();