Skip to content

Commit

Permalink
LUIS Authoring V3.0 GA (#15364)
Browse files Browse the repository at this point in the history
* v3.0 swagger

* Unchange the preview folder

* Changes in the readme

* readme.go changes

* Readme.md changes

* Changes in th readme

* Changing all v2 to v3

* Editing LUIS.authoring

* Editing readme

* Adding "fuzzyMatchingEnabled" property to some objects

* solving syntax errors

* Deleting SDK files

* Solving errors

* Editing package.json

* Changes according to the comments

* Changing the default value of some properties

* Adding prettier check

* Change

* Revert "Change"

This reverts commit ca991fb.

* Add missing parts

* Changes for the SDK

Co-authored-by: MIDDLEEAST\v-mariamel <v-mariamel@microsoft.com>
  • Loading branch information
mariam606 and MIDDLEEAST\v-mariamel authored Aug 11, 2021
1 parent 8753415 commit 09b2582
Show file tree
Hide file tree
Showing 175 changed files with 19,672 additions and 13 deletions.
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

0 comments on commit 09b2582

Please sign in to comment.