Skip to content

Commit 66d52ec

Browse files
authored
Fix SecurityInsights Go SDK versioning (#14030)
* Fix SecurityInsights Go SDK versioning * rename stable api version tag * remove 'only' from tags with full functionality
1 parent a51292f commit 66d52ec

File tree

2 files changed

+16
-24
lines changed

2 files changed

+16
-24
lines changed

specification/securityinsights/resource-manager/readme.go.md

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,24 @@ go:
1313
1414
```yaml $(go) && $(multiapi)
1515
batch:
16-
- tag: package-composite-v1
17-
- tag: package-2019-01-preview-only
16+
- tag: package-2020-01
17+
- tag: package-2019-01-preview
1818
```
1919
20-
### Tag: package-composite-v1 and go
20+
### Tag: package-2020-01 and go
2121
22-
These settings apply only when `--tag=package-composite-v1 --go` is specified on the command line.
22+
These settings apply only when `--tag=package-2020-01 --go` is specified on the command line.
2323
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
2424

25-
```yaml $(tag) == 'package-composite-v1' && $(go)
26-
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/v1.0/$(namespace)
25+
```yaml $(tag) == 'package-2020-01' && $(go)
26+
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-01-01/$(namespace)
2727
```
28-
### Tag: package-2021-03-preview-only and go
2928

30-
These settings apply only when `--tag=package-2021-03-preview-only --go` is specified on the command line.
31-
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
32-
33-
```yaml $(tag) == 'package-2019-01-preview-only' && $(go)
34-
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-01-01-preview/$(namespace)
35-
```
36-
37-
### Tag: package-2019-01-preview-only and go
29+
### Tag: package-2019-01-preview and go
3830

39-
These settings apply only when `--tag=package-2019-01-preview-only --go` is specified on the command line.
31+
These settings apply only when `--tag=package-2019-01-preview --go` is specified on the command line.
4032
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
4133

42-
```yaml $(tag) == 'package-2019-01-preview-only' && $(go)
34+
```yaml $(tag) == 'package-2019-01-preview' && $(go)
4335
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-01-01-preview/$(namespace)
4436
```

specification/securityinsights/resource-manager/readme.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ These are the global settings for the SecurityInsights API.
2626

2727
```yaml
2828
openapi-type: arm
29-
tag: package-composite-v1
29+
tag: package-2020-01
3030
```
3131
32-
### Tag: package-composite-v1
32+
### Tag: package-2020-01
3333
34-
These settings apply only when `--tag=package-composite-v1` is specified on the command line.
34+
These settings apply only when `--tag=package-2020-01` is specified on the command line.
3535

36-
```yaml $(tag) == 'package-composite-v1'
36+
```yaml $(tag) == 'package-2020-01'
3737
input-file:
3838
- Microsoft.SecurityInsights/stable/2020-01-01/SecurityInsights.json
3939
directive:
@@ -67,11 +67,11 @@ directive:
6767

6868
---
6969

70-
### Tag: package-2019-01-preview-only
70+
### Tag: package-2019-01-preview
7171

72-
These settings apply only when `--tag=package-2019-01-preview-only` is specified on the command line.
72+
These settings apply only when `--tag=package-2019-01-preview` is specified on the command line.
7373

74-
```yaml $(tag) == 'package-2019-01-preview-only'
74+
```yaml $(tag) == 'package-2019-01-preview'
7575
input-file:
7676
- Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json
7777
directive:

0 commit comments

Comments
 (0)