You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tags are used to define what swagger files are used in specific client SDK. In Single-API client, only one tag can be used to generate SDK client.
26
26
A tag can contains a bunch of swagger files which are used to generate the SDK.
@@ -79,10 +79,8 @@ See configuration in [readme.go.md](./readme.go.md)
79
79
80
80
Go dedicated configurations are configured in `readme.go.md`.
81
81
82
-
The typical namespace/package-name in azure-sdk-for-go must start with a lower case letter and can only contain lower case letters and numbers.
83
-
And the typical output-folder in the azure-sdk-for-go is like `$(typescript-sdk-folder)/services/$(namespace)/mgmt/yyyy-mm-dd/$(namespace)` where the `yyyy-mm-dd` is the version of this package.
84
-
85
-
Go SDK supports multi-api by default, therefore you must add a batch section in the `readme.go.md`.
82
+
The typical module name in azure-sdk-for-go has prefix `sdk/`. Data plane packages always use pattern `sdk/$(rp)/az$(namespace)` as module name while management packages use pattern `sdk/resourcemanager/$(rp)/arm$(namespace)`.
83
+
Full module path in azure-sdk-for-go is like `github.com/Azure/azure-sdk-for-go/$(module-name)` and the typical output-folder in the azure-sdk-for-go is like `$(go-sdk-folder)/$(module-name)`.
86
84
87
85
A typical readme.go.md is like this:
88
86
~~~
@@ -92,200 +90,19 @@ A typical readme.go.md is like this:
92
90
93
91
These settings apply only when `--go` is specified on the command line.
94
92
95
-
```yaml $(go)
96
-
go:
97
-
license-header: MICROSOFT_APACHE_NO_VERSION
98
-
clear-output-folder: true
99
-
```
100
-
101
-
### Go multi-api
102
-
103
-
``` yaml $(go) && $(multiapi)
104
-
batch:
105
-
- tag: package-2019-12-01
106
-
```
107
-
108
-
### Tag: package-2019-12-01 and go
109
-
110
-
These settings apply only when `--tag=package-2019-12-01 --go` is specified on the command line.
111
-
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
0 commit comments