Skip to content

Commit

Permalink
fix(specs): API key description will be obfuscated (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#3840

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Kai Welke <[email protected]>
  • Loading branch information
algolia-bot and kai687 committed Sep 27, 2024
1 parent 26bfa52 commit c6d110a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions algoliasearch/src/main/java/com/algolia/api/SearchClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -2014,7 +2014,8 @@ public CompletableFuture<DeletedAtResponse> deleteSynonymAsync(@Nonnull String i
/**
* Gets the permissions and restrictions of an API key. When authenticating with the admin API
* key, you can request information for any of your application's keys. When authenticating with
* other API keys, you can only retrieve information for that key.
* other API keys, you can only retrieve information for that key, with the description replaced
* by `<redacted>`.
*
* @param key API key. (required)
* @param requestOptions The requestOptions to send along with the query, they will be merged with
Expand All @@ -2028,7 +2029,8 @@ public GetApiKeyResponse getApiKey(@Nonnull String key, RequestOptions requestOp
/**
* Gets the permissions and restrictions of an API key. When authenticating with the admin API
* key, you can request information for any of your application's keys. When authenticating with
* other API keys, you can only retrieve information for that key.
* other API keys, you can only retrieve information for that key, with the description replaced
* by `<redacted>`.
*
* @param key API key. (required)
* @throws AlgoliaRuntimeException If it fails to process the API call
Expand All @@ -2040,7 +2042,8 @@ public GetApiKeyResponse getApiKey(@Nonnull String key) throws AlgoliaRuntimeExc
/**
* (asynchronously) Gets the permissions and restrictions of an API key. When authenticating with
* the admin API key, you can request information for any of your application's keys. When
* authenticating with other API keys, you can only retrieve information for that key.
* authenticating with other API keys, you can only retrieve information for that key, with the
* description replaced by `<redacted>`.
*
* @param key API key. (required)
* @param requestOptions The requestOptions to send along with the query, they will be merged with
Expand All @@ -2059,7 +2062,8 @@ public CompletableFuture<GetApiKeyResponse> getApiKeyAsync(@Nonnull String key,
/**
* (asynchronously) Gets the permissions and restrictions of an API key. When authenticating with
* the admin API key, you can request information for any of your application's keys. When
* authenticating with other API keys, you can only retrieve information for that key.
* authenticating with other API keys, you can only retrieve information for that key, with the
* description replaced by `<redacted>`.
*
* @param key API key. (required)
* @throws AlgoliaRuntimeException If it fails to process the API call
Expand Down

0 comments on commit c6d110a

Please sign in to comment.