8000 add a [JsonProperty("caption")] attribute for the Caption property to… · notion-dotnet/notion-sdk-net@93ad965 · GitHub
[go: up one dir, main page]

Skip to content

Commit 93ad965

Browse files
add a [JsonProperty("caption")] attribute for the Caption property to ensure it serializes consistently with the interface
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 4af4559 commit 93ad965

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

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

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

1718
public class Data

0 commit comments

Comments
 (0)
0