fix: Update webdav models for proper serialization

This commit is contained in:
Chris Coutinho
2025-10-24 06:01:02 +02:00
parent 2f1bd1bbe9
commit 81ca799410
2 changed files with 24 additions and 5 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ class DirectoryListing(BaseResponse):
"""Response model for directory listings."""
path: str = Field(description="Directory path")
items: List[FileInfo] = Field(description="Files and directories in the path")
files: List[FileInfo] = Field(description="Files and directories in the path")
total_count: int = Field(description="Total number of items")
directories_count: int = Field(description="Number of directories")
files_count: int = Field(description="Number of files")