8000 add a [JsonProperty("caption")] attribute to ensure proper serialization · notion-dotnet/notion-sdk-net@28d6b21 · GitHub
[go: up one dir, main page]

Skip to content

Commit 28d6b21

Browse files
add a [JsonProperty("caption")] attribute to ensure proper serialization
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent dd4e517 commit 28d6b21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Src/Notion.Client/Models/File/FIleInput/ExternalFileInput.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public class ExternalFileInput : IFileObjectInput
1111
[JsonProperty("name")]
1212
public string Name { get; set; }
1313

14+
[JsonProperty("caption")]
1415
public IEnumerable<RichTextBaseInput> Caption { get; set; }
1516

1617
public class Data

0 commit comments

Comments
 (0)
0