readd swagger version

This commit is contained in:
crobibero 2020-06-12 14:37:55 -06:00
parent 2fe65d99f6
commit 720fff30a4
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ namespace Jellyfin.Server.Extensions
{
return serviceCollection.AddSwaggerGen(c =>
{
c.SwaggerDoc("api-docs", new OpenApiInfo { Title = "Jellyfin API" });
c.SwaggerDoc("api-docs", new OpenApiInfo { Title = "Jellyfin API", Version = "v1" });
c.AddSecurityDefinition(AuthenticationSchemes.CustomAuthentication, new OpenApiSecurityScheme
{
Type = SecuritySchemeType.ApiKey,