Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LUIS Authoring V3.0 GA #15364

Merged
merged 22 commits into from
Aug 11, 2021
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 @@ -10,27 +10,30 @@ go:
```

### Go multi-api

``` yaml $(go) && $(multiapi)
batch:
- tag: authoring_2_0
- tag: authoring_3_0_preview
- tag: authoring_3_0
```

### Tag: authoring_2_0 and go

These settings apply only when `--tag=authoring_2_0 --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'authoring_2_0' && $(go)
output-folder: $(go-sdk-folder)/services/cognitiveservices/v2.0/luis/$(namespace)
```

### Tag: authoring_3_0_preview and go

These settings apply only when `--tag=authoring_3_0_preview --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'authoring_3_0_preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/cognitiveservices/v3.0/luis/$(namespace)
```

### Tag: authoring_3_0 and go
These settings apply only when `--tag=authoring_3_0 --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
``` yaml $(tag) == 'authoring_3_0' && $(go)
output-folder: $(go-sdk-folder)/services/stable/cognitiveservices/v3.0/luis/$(namespace)
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
Configuration for generating LUIS Authoring SDK.

``` yaml
tag: authoring_3_0_preview
tag: authoring_3_0
add-credentials: true
openapi-type: data-plane
```

The current release for the Authoring Endpoint is `authoring_3_0_preview`.
The current release for the Authoring Endpoint is `authoring_3_0`.

# Releases

Expand Down Expand Up @@ -47,10 +47,9 @@ directive:
- suppress: DefinitionsPropertiesNamesCamelCase
reason: Changing casing will break existing clients/consumers
```

---

## Authoring 3.0
## Authoring 3.0-preview
These settings apply only when `--tag=authoring_3_0_preview` is specified on the command line.

``` yaml $(tag) == 'authoring_3_0_preview'
Expand All @@ -75,6 +74,25 @@ directive:

AutoRest-Linter Suppressions

``` yaml
# Ignore autorest-linter issues that cannot be resolve without updates to the API implementation
directive:
- suppress: DeleteMustNotHaveRequestBody
reason: Body is used to specify entity to delete
- suppress: DefinitionsPropertiesNamesCamelCase
reason: Changing casing will break existing clients/consumers
```
---

## Authoring 3.0
These settings apply only when `--tag=authoring_3_0` is specified on the command line.

``` yaml $(tag) == 'authoring_3_0'
input-file: stable/v3.0/LUIS-Authoring.json
```

AutoRest-Linter Suppressions

``` yaml
# Ignore autorest-linter issues that cannot be resolve without updates to the API implementation
directive:
Expand All @@ -88,15 +106,13 @@ directive:

# Code Generation


## Swagger to SDK

This section describes what SDK should be generated by the automatic system.
This is not used by Autorest itself.

``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-go
- repo: azure-sdk-for-python
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
Expand Down Expand Up @@ -157,5 +173,4 @@ uncomment the `exclude-file` section below and add the file paths.
``` yaml $(tag) == 'all-api-versions'
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```

```
Loading