fix formatting

This commit is contained in:
crobibero 2020-04-19 11:28:56 -06:00
parent 5da88fac4d
commit 72745f4722
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@ namespace Jellyfin.Server.Extensions
// Enable middleware to serve swagger-ui (HTML, JS, CSS, etc.),
// specifying the Swagger JSON endpoint.
const string specEndpoint = "/swagger/v1/swagger.json";
return applicationBuilder.UseSwagger()
return applicationBuilder
.UseSwagger()
.UseSwaggerUI(c =>
{
c.SwaggerEndpoint(specEndpoint, "Jellyfin API V1");