Merge pull request #7775 from crobibero/openapi-version

pull/7785/head
Cody Robibero 2 years ago committed by GitHub
commit 4c0510ee6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -440,6 +440,12 @@ namespace Jellyfin.Server.Extensions
.Cast<IOpenApiAny>()
.ToArray()
});
// Swashbuckle doesn't use JsonOptions to describe responses, so we need to manually describe it.
options.MapType<Version>(() => new OpenApiSchema
{
Type = "string"
});
}
}
}

Loading…
Cancel
Save