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
41 changes: 41 additions & 0 deletions specification/cognitiveservices/data-plane/NewsSearch/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Cognitive Services News Search SDK

> see https://aka.ms/autorest

Configuration for generating News Search SDK.

The current release is `release_1_0`.

``` yaml

tag: release_1_0
add-credentials: true
openapi-type: data-plane
```
# Releases

### Release 1.0
These settings apply only when `--tag=release_1_0` is specified on the command line.

``` yaml $(tag) == 'release_1_0'
input-file: v1.0/NewsSearch.json
```

Copy link
Contributor

@fearthecowboy fearthecowboy Nov 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a section in the readme.md that looks like this:

## Suppressions 

Suppressing errors due to API design: 
``` yaml 
directive:
  - suppress: R3016
    reason: _type is a polymorphic discriminator that can't be changed. 
```

## Suppressions

Suppressing errors due to API design:
``` yaml
directive:
- suppress: R3016
reason: _type is a polymorphic discriminator that can't be changed.
```

## CSharp Settings
These settings apply only when `--csharp` is specified on the command line.
``` yaml $(csharp)
csharp:
namespace: Microsoft.Azure.CognitiveServices.Search.NewsSearch
output-folder: $(csharp-sdks-folder)/CognitiveServices/dataPlane/Search/Search/Generated/NewsSearch
sync-methods: none
```

Loading