Skip to content

Commit c6d110a

Browse files
algolia-botkai687
andcommitted
fix(specs): API key description will be obfuscated (generated)
algolia/api-clients-automation#3840 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Kai Welke <[email protected]>
1 parent 26bfa52 commit c6d110a

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

algoliasearch/src/main/java/com/algolia/api/SearchClient.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2014,7 +2014,8 @@ public CompletableFuture<DeletedAtResponse> deleteSynonymAsync(@Nonnull String i
20142014
/**
20152015
* Gets the permissions and restrictions of an API key. When authenticating with the admin API
20162016
* key, you can request information for any of your application's keys. When authenticating with
2017-
* other API keys, you can only retrieve information for that key.
2017+
* other API keys, you can only retrieve information for that key, with the description replaced
2018+
* by `<redacted>`.
20182019
*
20192020
* @param key API key. (required)
20202021
* @param requestOptions The requestOptions to send along with the query, they will be merged with
@@ -2028,7 +2029,8 @@ public GetApiKeyResponse getApiKey(@Nonnull String key, RequestOptions requestOp
20282029
/**
20292030
* Gets the permissions and restrictions of an API key. When authenticating with the admin API
20302031
* key, you can request information for any of your application's keys. When authenticating with
2031-
* other API keys, you can only retrieve information for that key.
2032+
* other API keys, you can only retrieve information for that key, with the description replaced
2033+
* by `<redacted>`.
20322034
*
20332035
* @param key API key. (required)
20342036
* @throws AlgoliaRuntimeException If it fails to process the API call
@@ -2040,7 +2042,8 @@ public GetApiKeyResponse getApiKey(@Nonnull String key) throws AlgoliaRuntimeExc
20402042
/**
20412043
* (asynchronously) Gets the permissions and restrictions of an API key. When authenticating with
20422044
* the admin API key, you can request information for any of your application's keys. When
2043-
* authenticating with other API keys, you can only retrieve information for that key.
2045+
* authenticating with other API keys, you can only retrieve information for that key, with the
2046+
* description replaced by `<redacted>`.
20442047
*
20452048
* @param key API key. (required)
20462049
* @param requestOptions The requestOptions to send along with the query, they will be merged with
@@ -2059,7 +2062,8 @@ public CompletableFuture<GetApiKeyResponse> getApiKeyAsync(@Nonnull String key,
20592062
/**
20602063
* (asynchronously) Gets the permissions and restrictions of an API key. When authenticating with
20612064
* the admin API key, you can request information for any of your application's keys. When
2062-
* authenticating with other API keys, you can only retrieve information for that key.
2065+
* authenticating with other API keys, you can only retrieve information for that key, with the
2066+
* description replaced by `<redacted>`.
20632067
*
20642068
* @param key API key. (required)
20652069
* @throws AlgoliaRuntimeException If it fails to process the API call

0 commit comments

Comments
 (0)