Skip to content

Commit

Permalink
fix(specs): body is not required in multiple batch request (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#3454

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Kai Welke <[email protected]>
  • Loading branch information
algolia-bot and kai687 committed Aug 3, 2024
1 parent b1ca605 commit 9547c9d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions algoliasearch/Models/Search/MultipleBatchRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,10 @@ public MultipleBatchRequest() { }
/// Initializes a new instance of the MultipleBatchRequest class.
/// </summary>
/// <param name="action">action (required).</param>
/// <param name="body">Operation arguments (varies with specified &#x60;action&#x60;). (required).</param>
/// <param name="indexName">Index name (case-sensitive). (required).</param>
public MultipleBatchRequest(Action? action, object body, string indexName)
public MultipleBatchRequest(Action? action, string indexName)
{
Action = action;
Body = body ?? throw new ArgumentNullException(nameof(body));
IndexName = indexName ?? throw new ArgumentNullException(nameof(indexName));
}

Expand Down

0 comments on commit 9547c9d

Please sign in to comment.