diff --git a/RAGFlowSharp/Api/IFileApi.cs b/RAGFlowSharp/Api/IFileApi.cs index 777a0da..90f0351 100644 --- a/RAGFlowSharp/Api/IFileApi.cs +++ b/RAGFlowSharp/Api/IFileApi.cs @@ -3,6 +3,7 @@ using System.Net.Http; using System.Threading.Tasks; using RAGFlowSharp.Dtos.File; +using WebApiClientCore; using WebApiClientCore.Attributes; namespace RAGFlowSharp.Api @@ -66,7 +67,7 @@ [PathQuery] string documentId Task ListFilesAsync( [PathQuery] string datasetId, [PathQuery] int? page = null, - [PathQuery] int? pageSize = null, + [AliasAs("page_size")][PathQuery] int? pageSize = null, [PathQuery] string? orderBy = null, [PathQuery] bool? desc = null, [PathQuery] string? keywords = null,