-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Azure Search] Add Get Documents API (a.k.a. Lookup) to data plane AP…
…I spec (#5169) * [Azure Search] Add Get Documents (a.k.a. Lookup) API to data plane spec Note that this API already exists in the .NET SDK, but is currently implemented as custom code. We need to add transform directives for the generated code because otherwise there's no way to pass custom JsonSerializerSettings into the generated code (which is a requirement for our data plane). Also renamed some example files to be more consistent with existing naming conventions. * [Azure Search] Fixing a few Swagger validation errors * [Azure Search] Fixing another validation error
- Loading branch information
1 parent
277de73
commit be85078
Showing
5 changed files
with
94 additions
and
6 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...crosoft.Azure.Search.Data/preview/2017-11-11-preview/examples/SearchIndexGetDocument.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"parameters": { | ||
"searchServiceName": "myservice", | ||
"searchDnsSuffix": "search.windows.net", | ||
"indexName": "myindex", | ||
"api-version": "2017-11-11-Preview", | ||
"key": "1", | ||
"$select": ["docId", "title", "description"] | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"description": "Cheapest hotel in town", | ||
"docId": "1", | ||
"title": "Nice Hotel" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters