Include swagger in release build
continuous-integration/drone/push Build is passing Details

master
Xander Sigler 3 years ago
parent 9294581824
commit 5fea499da4

@ -45,11 +45,10 @@ namespace AOC2021
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
app.UseSwagger();
app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "AOC2021 v1"));
}
app.UseHttpsRedirection();
app.UseSwagger();
app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "AOC2021 v1"));
app.UseRouting();

Loading…
Cancel
Save