Mise à jour de 'API_SQLuedo/API/Program.cs'
continuous-integration/drone/push Build is passing Details

deploiement
Clement CHIEU 1 year ago
parent 06640b6530
commit 951ba2c941

@ -116,15 +116,8 @@ using (var scope = app.Services.CreateScope())
} }
app.UseSwagger(options => app.UseSwagger();
{ app.UseSwaggerUI();
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.UseHttpsRedirection(); app.UseHttpsRedirection();

Loading…
Cancel
Save