mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
fix formatting
This commit is contained in:
parent
5da88fac4d
commit
72745f4722
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@ namespace Jellyfin.Server.Extensions
|
||||||
// Enable middleware to serve swagger-ui (HTML, JS, CSS, etc.),
|
// Enable middleware to serve swagger-ui (HTML, JS, CSS, etc.),
|
||||||
// specifying the Swagger JSON endpoint.
|
// specifying the Swagger JSON endpoint.
|
||||||
const string specEndpoint = "/swagger/v1/swagger.json";
|
const string specEndpoint = "/swagger/v1/swagger.json";
|
||||||
return applicationBuilder.UseSwagger()
|
return applicationBuilder
|
||||||
|
.UseSwagger()
|
||||||
.UseSwaggerUI(c =>
|
.UseSwaggerUI(c =>
|
||||||
{
|
{
|
||||||
c.SwaggerEndpoint(specEndpoint, "Jellyfin API V1");
|
c.SwaggerEndpoint(specEndpoint, "Jellyfin API V1");
|
||||||
|
|
Loading…
Reference in a new issue