Skip to content

Commit

Permalink
fix(specs): different summaries for saveObject/addOrUpdate methods (g…
Browse files Browse the repository at this point in the history
…enerated)

algolia/api-clients-automation#4223

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Kai Welke <[email protected]>
  • Loading branch information
algolia-bot and kai687 committed Dec 10, 2024
1 parent 6b888a9 commit 3d3931b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/main/scala/algoliasearch/api/SearchClient.scala
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,10 @@ class SearchClient(
}

/** If a record with the specified object ID exists, the existing record is replaced. Otherwise, a new record is added
* to the index. To update _some_ attributes of an existing record, use the [`partial`
* operation](#tag/Records/operation/partialUpdateObject) instead. To add, update, or replace multiple records, use
* the [`batch` operation](#tag/Records/operation/batch).
* to the index. If you want to use auto-generated object IDs, use the [`saveObject`
* operation](#tag/Records/operation/saveObject). To update _some_ attributes of an existing record, use the
* [`partial` operation](#tag/Records/operation/partialUpdateObject) instead. To add, update, or replace multiple
* records, use the [`batch` operation](#tag/Records/operation/batch).
*
* Required API Key ACLs:
* - addObject
Expand Down Expand Up @@ -1331,7 +1332,7 @@ class SearchClient(
execute[AddApiKeyResponse](request, requestOptions)
}

/** Adds a record to an index or replace it. - If the record doesn't have an object ID, a new record with an
/** Adds a record to an index or replaces it. - If the record doesn't have an object ID, a new record with an
* auto-generated object ID is added to your index. - If a record with the specified object ID exists, the existing
* record is replaced. - If a record with the specified object ID doesn't exist, a new record is added to your index.
* \- If you add a record to an index that doesn't exist yet, a new index is created. To update _some_ attributes of
Expand Down

0 comments on commit 3d3931b

Please sign in to comment.