diff --git a/JsonFeedNet/JsonFeed.cs b/JsonFeedNet/JsonFeed.cs index fb5c1fe..27fb133 100644 --- a/JsonFeedNet/JsonFeed.cs +++ b/JsonFeedNet/JsonFeed.cs @@ -5,6 +5,9 @@ namespace JsonFeedNet; using System.Text; using System.Text.Json.Serialization; +/// +/// Represents a JSON Feed. +/// // ReSharper disable MemberCanBePrivate.Global // ReSharper disable UnusedMember.Global public class JsonFeed diff --git a/JsonFeedNet/JsonFeedItem.cs b/JsonFeedNet/JsonFeedItem.cs index 982120e..64c0dc1 100644 --- a/JsonFeedNet/JsonFeedItem.cs +++ b/JsonFeedNet/JsonFeedItem.cs @@ -95,6 +95,10 @@ public class JsonFeedItem [Obsolete("obsolete by specification version 1.1. Use `Authors`")] public JsonFeedAuthor Author { get; set; } //optional + /// + /// Feed item authors. + /// If not specified, then the top-level author, if present, is the author of the item. + /// [JsonPropertyName("authors")] public List Authors { get; set; } //optional diff --git a/JsonFeedNet/JsonFeedNet.csproj b/JsonFeedNet/JsonFeedNet.csproj index 33c0541..cc52428 100644 --- a/JsonFeedNet/JsonFeedNet.csproj +++ b/JsonFeedNet/JsonFeedNet.csproj @@ -25,6 +25,7 @@ true snupkg true + true diff --git a/JsonFeedNet/SourceGenerationContext.cs b/JsonFeedNet/SourceGenerationContext.cs index 60361db..0c59a26 100644 --- a/JsonFeedNet/SourceGenerationContext.cs +++ b/JsonFeedNet/SourceGenerationContext.cs @@ -12,6 +12,6 @@ namespace JsonFeedNet; [JsonSerializable(typeof(JsonFeedAuthor))] [JsonSerializable(typeof(JsonFeedHub))] [JsonSerializable(typeof(JsonFeedItem))] -internal partial class SourceGenerationContext : JsonSerializerContext +internal sealed partial class SourceGenerationContext : JsonSerializerContext { }