Skip to content

Commit a7991bb

Browse files
committed
fix description
1 parent e2b4978 commit a7991bb

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

clients/algoliasearch-client-java-2/algoliasearch-core/com/algolia/search/SearchApi.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public okhttp3.Call addApiKeyAsync(
210210
/**
211211
* Build call for appendSource
212212
*
213-
* @param source The sources to allow (required)
213+
* @param source The source to add. (required)
214214
* @param _callback Callback for upload/download progress
215215
* @return Call to execute
216216
* @throws ApiException If fail to serialize the request body object
@@ -280,7 +280,7 @@ private okhttp3.Call appendSourceValidateBeforeCall(
280280
/**
281281
* Add a single source to the list of allowed sources.
282282
*
283-
* @param source The sources to allow (required)
283+
* @param source The source to add. (required)
284284
* @return AppendSourceResponse
285285
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the
286286
* response body
@@ -300,7 +300,7 @@ public AppendSourceResponse appendSource(Source source) throws ApiException {
300300
/**
301301
* Add a single source to the list of allowed sources.
302302
*
303-
* @param source The sources to allow (required)
303+
* @param source The source to add. (required)
304304
* @return ApiResponse<AppendSourceResponse>
305305
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the
306306
* response body
@@ -322,7 +322,7 @@ public ApiResponse<AppendSourceResponse> appendSourceWithHttpInfo(
322322
/**
323323
* (asynchronously) Add a single source to the list of allowed sources.
324324
*
325-
* @param source The sources to allow (required)
325+
* @param source The source to add. (required)
326326
* @param _callback The callback to be executed when the API call finishes
327327
* @return The request call
328328
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -4409,7 +4409,7 @@ public okhttp3.Call removeUserIdAsync(
44094409
/**
44104410
* Build call for replaceSources
44114411
*
4412-
* @param source The sources to allow (required)
4412+
* @param source The sources to allow. (required)
44134413
* @param _callback Callback for upload/download progress
44144414
* @return Call to execute
44154415
* @throws ApiException If fail to serialize the request body object
@@ -4479,7 +4479,7 @@ private okhttp3.Call replaceSourcesValidateBeforeCall(
44794479
/**
44804480
* Replace all allowed sources.
44814481
*
4482-
* @param source The sources to allow (required)
4482+
* @param source The sources to allow. (required)
44834483
* @return ReplaceSourceResponse
44844484
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the
44854485
* response body
@@ -4500,7 +4500,7 @@ public ReplaceSourceResponse replaceSources(List<Source> source)
45004500
/**
45014501
* Replace all allowed sources.
45024502
*
4503-
* @param source The sources to allow (required)
4503+
* @param source The sources to allow. (required)
45044504
* @return ApiResponse&lt;ReplaceSourceResponse&gt;
45054505
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the
45064506
* response body
@@ -4522,7 +4522,7 @@ public ApiResponse<ReplaceSourceResponse> replaceSourcesWithHttpInfo(
45224522
/**
45234523
* (asynchronously) Replace all allowed sources.
45244524
*
4525-
* @param source The sources to allow (required)
4525+
* @param source The sources to allow. (required)
45264526
* @param _callback The callback to be executed when the API call finishes
45274527
* @return The request call
45284528
* @throws ApiException If fail to process the API call, e.g. serializing the request body object

clients/algoliasearch-client-javascript/client-search/src/searchApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export class SearchApi {
171171
/**
172172
* Add a single source to the list of allowed sources.
173173
*
174-
* @param source - The sources to allow.
174+
* @param source - The source to add.
175175
*/
176176
appendSource(source: Source): Promise<AppendSourceResponse> {
177177
const path = '/1/security/sources/append';

specs/search/paths/vault/appendSource.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ post:
55
description: Add a single source to the list of allowed sources.
66
requestBody:
77
required: true
8-
description: The sources to allow.
8+
description: The source to add.
99
content:
1010
application/json:
1111
schema:

0 commit comments

Comments
 (0)