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 @@ -17,18 +17,22 @@ openapi-type: data-plane
These settings apply only when `--tag=release_1_0` is specified on the command line.

``` yaml $(tag) == 'release_1_0'
input-file: stable/v1.1/Prediction.json
input-file: stable/v2.0/Prediction.json
```

# Code Generation
# Validation

## Suppression

``` yaml
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
reason: Live service and portal doesn't use came case properties
- suppress: R3017 # GuidUsage
reason:
- Existing service and previous versions use Guid as ids.
```

# Code Generation

## Swagger to SDK

This section describes what SDK should be generated by the automatic system.
Expand All @@ -44,7 +48,7 @@ swagger-to-sdk:
These settings apply only when `--csharp` is specified on the command line.
``` yaml $(csharp)
csharp:
sync-methods: None
sync-methods: all
license-header: MICROSOFT_MIT_NO_VERSION
azure-arm: false
namespace: Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction
Expand Down
Loading