-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Address API review feedback #11645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Address API review feedback #11645
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -91,15 +91,6 @@ HttpPipeline getHttpPipeline() { | |
| return this.httpPipeline; | ||
| } | ||
|
|
||
| /** | ||
| * Gets search service version. | ||
| * | ||
| * @return the search service version value. | ||
| */ | ||
| public SearchServiceVersion getServiceVersion() { | ||
| return this.serviceVersion; | ||
| } | ||
|
|
||
| /** | ||
| * Gets the endpoint for the Azure Cognitive Search service. | ||
| * | ||
|
|
@@ -268,6 +259,15 @@ PagedFlux<SearchIndex> listIndexes(RequestOptions requestOptions, Context contex | |
| } | ||
| } | ||
|
|
||
| /** | ||
| * Lists all indexes names for an Azure Cognitive Search service. | ||
| * | ||
| * @return a reactive response emitting the list of index names. | ||
| */ | ||
| public PagedFlux<String> listIndexNames() { | ||
| return listIndexNames(null); | ||
| } | ||
|
|
||
| /** | ||
| * Lists all indexes names for an Azure Cognitive Search service. | ||
| * | ||
|
|
@@ -542,6 +542,15 @@ PagedFlux<SynonymMap> listSynonymMaps(RequestOptions requestOptions, Context con | |
| } | ||
| } | ||
|
|
||
| /** | ||
| * Lists all synonym map names for an Azure Cognitive Search service. | ||
| * | ||
| * @return a reactive response emitting the list of synonym map names. | ||
| */ | ||
| public PagedFlux<String> listSynonymMapNames() { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All APIs in this client are missing @ServiceMethod annotation. Also, add codesnippets where appropriate.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I will add @ServiceMethod. Can improve JavaDoc and other documents in preview 5. |
||
| return listIndexNames(null); | ||
| } | ||
|
|
||
| /** | ||
| * Lists all synonym map names for an Azure Cognitive Search service. | ||
| * | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sync client APIs are missing @ServiceMethod annotation and codesnippets too.