try
continuous-integration/drone/push Build is passing Details

pull/10/head
David D'ALMEIDA 1 year ago
parent 56b65ff45b
commit 05c0484514

@ -186,9 +186,7 @@ public class AppBootstrap(IConfiguration configuration)
{ {
var apiVersionDescriptionProvider = app.Services.GetRequiredService<IApiVersionDescriptionProvider>(); var apiVersionDescriptionProvider = app.Services.GetRequiredService<IApiVersionDescriptionProvider>();
app.UseSwagger(); app.UseSwagger();
app.UseSwaggerUI(c => { app.UseSwaggerUI();
c.SwaggerEndpoint($"./v1/swagger.json", "SapWeb v1");
});
app.MapSwagger(); app.MapSwagger();
/* app.UseSwaggerUI(options => /* app.UseSwaggerUI(options =>
{ {

Loading…
Cancel
Save