diff --git a/specification/search/data-plane/Microsoft.Search/preview/2015-02-28-preview/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Index/preview/2015-02-28-preview/searchindex.json similarity index 100% rename from specification/search/data-plane/Microsoft.Search/preview/2015-02-28-preview/searchindex.json rename to specification/search/data-plane/Microsoft.Azure.Search.Index/preview/2015-02-28-preview/searchindex.json diff --git a/specification/search/data-plane/Microsoft.Search/preview/2015-02-28/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Index/preview/2015-02-28/searchindex.json similarity index 100% rename from specification/search/data-plane/Microsoft.Search/preview/2015-02-28/searchindex.json rename to specification/search/data-plane/Microsoft.Azure.Search.Index/preview/2015-02-28/searchindex.json diff --git a/specification/search/data-plane/Microsoft.Search/preview/2016-09-01-preview/examples/SearchIndexCountDocuments.json b/specification/search/data-plane/Microsoft.Azure.Search.Index/preview/2016-09-01-preview/examples/SearchIndexCountDocuments.json similarity index 100% rename from specification/search/data-plane/Microsoft.Search/preview/2016-09-01-preview/examples/SearchIndexCountDocuments.json rename to specification/search/data-plane/Microsoft.Azure.Search.Index/preview/2016-09-01-preview/examples/SearchIndexCountDocuments.json diff --git a/specification/search/data-plane/Microsoft.Search/preview/2016-09-01-preview/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Index/preview/2016-09-01-preview/searchindex.json similarity index 100% rename from specification/search/data-plane/Microsoft.Search/preview/2016-09-01-preview/searchindex.json rename to specification/search/data-plane/Microsoft.Azure.Search.Index/preview/2016-09-01-preview/searchindex.json diff --git a/specification/search/data-plane/Microsoft.Search/preview/2016-09-01/searchindex.json b/specification/search/data-plane/Microsoft.Azure.Search.Index/preview/2016-09-01/searchindex.json similarity index 100% rename from specification/search/data-plane/Microsoft.Search/preview/2016-09-01/searchindex.json rename to specification/search/data-plane/Microsoft.Azure.Search.Index/preview/2016-09-01/searchindex.json diff --git a/specification/search/data-plane/readme.index.md b/specification/search/data-plane/Microsoft.Azure.Search.Index/readme.md similarity index 77% rename from specification/search/data-plane/readme.index.md rename to specification/search/data-plane/Microsoft.Azure.Search.Index/readme.md index d34e3f34c5e8..5bbb2d36beda 100644 --- a/specification/search/data-plane/readme.index.md +++ b/specification/search/data-plane/Microsoft.Azure.Search.Index/readme.md @@ -5,12 +5,12 @@ This is the AutoRest configuration file for SearchIndexClient. - --- ## Getting Started + To build the SDK for SearchIndexClient, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: -> `autorest --index` +> `autorest` To see additional help and options, run: @@ -19,13 +19,21 @@ To see additional help and options, run: ## Configuration +### Basic Information +These are the global settings for SearchIndexClient. + +``` yaml +openapi-type: data-plane +tag: package-2016-09-preview +``` + ### Tag: package-2016-09-preview These settings apply only when `--tag=package-2016-09-preview` is specified on the command line. ``` yaml $(tag) == 'package-2016-09-preview' input-file: -- Microsoft.Search/preview/2016-09-01-preview/searchindex.json +- preview/2016-09-01-preview/searchindex.json ``` ### Tag: package-2016-09 @@ -34,7 +42,7 @@ These settings apply only when `--tag=package-2016-09` is specified on the comma ``` yaml $(tag) == 'package-2016-09' input-file: -- Microsoft.Search/preview/2016-09-01/searchindex.json +- preview/2016-09-01/searchindex.json ``` ### Tag: package-2015-02-preview @@ -43,7 +51,7 @@ These settings apply only when `--tag=package-2015-02-preview` is specified on t ``` yaml $(tag) == 'package-2015-02-preview' input-file: -- Microsoft.Search/preview/2015-02-28-preview/searchindex.json +- preview/2015-02-28-preview/searchindex.json ``` ### Tag: package-2015-02 @@ -52,10 +60,9 @@ These settings apply only when `--tag=package-2015-02` is specified on the comma ``` yaml $(tag) == 'package-2015-02' input-file: -- Microsoft.Search/preview/2015-02-28/searchindex.json +- preview/2015-02-28/searchindex.json ``` - --- # Code Generation @@ -63,6 +70,7 @@ input-file: This swagger is not yet ready for languages other than C#. !!! READ THIS !!! + ## C# These settings apply only when `--csharp` is specified on the command line. @@ -70,5 +78,9 @@ Please also specify `--csharp-sdks-folder= `autorest --service` +> `autorest` To see additional help and options, run: @@ -19,13 +19,21 @@ To see additional help and options, run: ## Configuration +### Basic Information +These are the global settings for SearchServiceClient. + +``` yaml +openapi-type: data-plane +tag: package-2016-09-preview +``` + ### Tag: package-2016-09-preview These settings apply only when `--tag=package-2016-09-preview` is specified on the command line. ``` yaml $(tag) == 'package-2016-09-preview' input-file: -- Microsoft.Search/preview/2016-09-01-preview/searchservice.json +- preview/2016-09-01-preview/searchservice.json ``` ### Tag: package-2016-09 @@ -34,7 +42,7 @@ These settings apply only when `--tag=package-2016-09` is specified on the comma ``` yaml $(tag) == 'package-2016-09' input-file: -- Microsoft.Search/preview/2016-09-01/searchservice.json +- preview/2016-09-01/searchservice.json ``` ### Tag: package-2015-02-preview @@ -43,19 +51,18 @@ These settings apply only when `--tag=package-2015-02-preview` is specified on t ``` yaml $(tag) == 'package-2015-02-preview' input-file: -- Microsoft.Search/preview/2015-02-28-preview/searchservice.json +- preview/2015-02-28-preview/searchservice.json ``` - + ### Tag: package-2015-02 These settings apply only when `--tag=package-2015-02` is specified on the command line. ``` yaml $(tag) == 'package-2015-02' input-file: -- Microsoft.Search/preview/2015-02-28/searchservice.json +- preview/2015-02-28/searchservice.json ``` - --- # Code Generation @@ -63,6 +70,7 @@ input-file: This swagger is not yet ready for languages other than C#. !!! READ THIS !!! + ## C# These settings apply only when `--csharp` is specified on the command line. @@ -70,5 +78,9 @@ Please also specify `--csharp-sdks-folder= see https://aka.ms/autorest - -This is the AutoRest configuration file for the Azure Search data plane. - - - ---- -## Getting Started -The Azure Search data plane SDK is comprised of two clients: SearchServiceClient, and SearchIndexClient. To build the data plane SDK for Azure Search, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: - -> `autorest --service` -> `autorest --index` - -To see additional help and options, run: - -> `autorest --help` ---- - -## Configuration - - - -### Basic Information -These are the global settings for the Azure Search data plane API. - -C# packages this service a little different from the others, so the following defaults don't apply to it. - -``` yaml !$(csharp) -title: SearchClient -description: Search Client -openapi-type: data-plane -tag: package-2016-09-preview -``` - ---- -# Code Generation - -!!! READ THIS !!! -This swagger is not yet ready for languages other than C#. -!!! READ THIS !!! - -## C# - -These settings apply only when `--csharp` is specified on the command line. -Please also specify `--csharp-sdks-folder=`. - -``` yaml $(csharp) -csharp: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - namespace: Microsoft.Azure.Search - clear-output-folder: true -```