2
2
3
3
> see https://aka.ms/autorest
4
4
5
- Configuration for generating Speaker Verification SDK.
5
+ Configuration for generating Speaker Identification SDK.
6
+
7
+ The current release is ` release_2021-09-05 ` .
6
8
7
9
``` yaml
8
- tag : identification_2_0_preview
10
+ tag : release_2021-09-05
9
11
add-credentials : true
10
12
openapi-type : data-plane
11
13
` ` `
12
14
13
- The current release for the Authoring Endpoint is ` identification_2_0_preview`.
15
+ ` ` ` yaml
16
+ tag : identification_2_0_preview
17
+ add-credentials : true
18
+ openapi-type : data-plane
19
+ ` ` `
14
20
15
21
# Releases
16
22
17
- # # Identification 2.0
23
+ ## Identification 2021-09-05
24
+ These settings apply only when ` --tag=release_2021-09-05` is specified on the command line.
25
+
26
+ ` ` ` yaml $(tag) == 'release_2021-09-05'
27
+ input-file: stable/2021-09-05/Identification.json
28
+ ` ` `
29
+
30
+ # # Identification 2.0 Preview
18
31
These settings apply only when `--tag=identification_2_0_preview` is specified on the command line.
19
32
20
33
` ` ` yaml $(tag) == 'identification_2_0_preview'
21
34
input-file: preview/v2.0/Identification.json
22
35
` ` `
23
36
37
+ ` ` ` yaml $(multiapi)
38
+ batch:
39
+ - tag: release_2021-09-05
40
+ - tag: identification_2_0_preview
41
+ ` ` `
42
+
24
43
---
25
44
26
45
# Code Generation
@@ -33,14 +52,24 @@ This is not used by Autorest itself.
33
52
34
53
` ` ` yaml $(swagger-to-sdk)
35
54
swagger-to-sdk:
55
+ - repo: azure-sdk-for-go
36
56
- repo: azure-sdk-for-python
37
- - repo: azure-sdk-for-js
38
57
- repo: azure-sdk-for-node
39
58
` ` `
40
59
41
60
# ## CSharp Settings
42
61
These settings apply only when `--csharp` is specified on the command line.
43
- ` ` ` yaml $(csharp)
62
+ ` ` ` yaml $(csharp) && $(tag) == 'release_2021-09-05'
63
+ csharp:
64
+ sync-methods: None
65
+ license-header: MICROSOFT_MIT_NO_VERSION
66
+ azure-arm: false
67
+ namespace: Microsoft.Azure.CognitiveServices.speech.speaker.identification
68
+ output-folder: $(csharp-sdks-folder)/CognitiveServices/speech.speaker.identification/src/Generated
69
+ clear-output-folder: true
70
+ ` ` `
71
+
72
+ ` ` ` yaml $(csharp) && $(tag) == 'identification_2_0_preview'
44
73
csharp:
45
74
sync-methods: None
46
75
license-header: MICROSOFT_MIT_NO_VERSION
@@ -55,7 +84,7 @@ csharp:
55
84
These settings apply only when `--java` is specified on the command line.
56
85
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`.
57
86
58
- ` ` ` yaml $(java)
87
+ ` ` ` yaml $(java) && $(tag) == 'release_2021-09-05'
59
88
java:
60
89
azure-arm: true
61
90
namespace: com.microsoft.azure.cognitiveservices.speech.speaker.identification
66
95
with-single-async-method: true
67
96
` ` `
68
97
69
- # # Multi-API/Profile support for AutoRest v3 generators
98
+ ` ` ` yaml $(java) && $(tag) == 'identification_2_0_preview'
99
+ java:
100
+ azure-arm: true
101
+ namespace: com.microsoft.azure.cognitiveservices.speech.speaker.identification
102
+ license-header: MICROSOFT_MIT_NO_CODEGEN
103
+ payload-flattening-threshold: 1
104
+ output-folder: $(azure-libraries-for-java-folder)/cognitiveservices/data-plane/speech/speaker/identification
105
+ with-optional-parameters: true
106
+ with-single-async-method: true
107
+ ` ` `
108
+
109
+ # # Python
110
+
111
+ See configuration in [readme.python.md](./readme.python.md)
112
+
113
+ # # Go
114
+
115
+ See configuration in [readme.go.md](./readme.go.md)
116
+
117
+ # # Multi-API/Profile support for AutoRest v3 generators
70
118
71
119
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
72
120
@@ -78,15 +126,16 @@ require: $(this-folder)/../../../../../profiles/readme.md
78
126
79
127
# all the input files across all versions
80
128
input-file:
129
+ - $(this-folder)/stable/2021-09-05/Identification.json
81
130
- $(this-folder)/preview/v2.0/Identification.json
82
131
83
132
` ` `
84
133
85
- If there are files that should not be in the `all-api-versions` set,
134
+ If there are files that should not be in the `all-api-versions` set,
86
135
uncomment the `exclude-file` section below and add the file paths.
87
136
88
137
` ` ` yaml $(tag) == 'all-api-versions'
89
- #exclude-file:
138
+ #exclude-file:
90
139
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
91
140
` ` `
92
141
0 commit comments