Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -52,23 +60,27 @@ 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

!!! 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=<path to "SDKs" directory of your azure-sdk-for-net clone>`.

``` yaml $(csharp)
csharp:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Search
clear-output-folder: true
output-folder: $(csharp-sdks-folder)/Search/DataPlane/Microsoft.Azure.Search/GeneratedSearchIndex
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
This is the AutoRest configuration file for SearchServiceClient.



---
## Getting Started

To build the SDK for SearchServiceClient, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:

> `autorest --service`
> `autorest`

To see additional help and options, run:

Expand All @@ -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
Expand All @@ -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
Expand All @@ -43,32 +51,36 @@ 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

!!! 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=<path to "SDKs" directory of your azure-sdk-for-net clone>`.

``` yaml $(csharp)
csharp:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Search
clear-output-folder: true
output-folder: $(csharp-sdks-folder)/Search/DataPlane/Microsoft.Azure.Search/GeneratedSearchService
```
55 changes: 0 additions & 55 deletions specification/search/data-plane/readme.md

This file was deleted.