Skip to content

Commit

Permalink
Fix schemas readme (#10615)
Browse files Browse the repository at this point in the history
* Exclude tags which failed to generate schemas

* skip beta version for schema generation

* exclude private apiversions for schemas generation
  • Loading branch information
leni-msft authored Aug 28, 2020
1 parent dbf859c commit 909b2c3
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 142 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ These settings apply only when `--azureresourceschema` is specified on the comma
``` yaml $(azureresourceschema) && $(multiapi)
batch:
- tag: package-2017-08
- tag: package-2017-08-beta
- tag: package-2017-07
- tag: package-2016-05
```
Expand All @@ -21,15 +20,6 @@ Please also specify `--azureresourceschema-folder=<path to the root directory of
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2017-08-beta and azureresourceschema

These settings apply only when `--tag=package-2017-08-beta --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2017-08-beta' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2017-07 and azureresourceschema

These settings apply only when `--tag=package-2017-07 --azureresourceschema` is specified on the command line.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ batch:
- tag: package-2019-05-15
- tag: package-2019-01-21
- tag: package-2018-09-07-preview
- tag: package-2017-09-07-privatepreview
- tag: schema-2019-09-07
- tag: schema-2019-05-15
- tag: schema-2019-01-21
- tag: schema-2018-09-07-preview
- tag: schema-2017-09-07-privatepreview
```
### Tag: package-2020-06-14 and azureresourceschema
Expand Down Expand Up @@ -84,15 +82,6 @@ Please also specify `--azureresourceschema-folder=<path to the root directory of
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2017-09-07-privatepreview and azureresourceschema

These settings apply only when `--tag=package-2017-09-07-privatepreview --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2017-09-07-privatepreview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: schema-2019-09-07 and azureresourceschema

These settings apply only when `--tag=schema-2019-09-07 --azureresourceschema` is specified on the command line.
Expand Down Expand Up @@ -128,13 +117,3 @@ Please also specify `--azureresourceschema-folder=<path to the root directory of
``` yaml $(tag) == 'schema-2018-09-07-preview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: schema-2017-09-07-privatepreview and azureresourceschema

These settings apply only when `--tag=schema-2017-09-07-privatepreview --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'schema-2017-09-07-privatepreview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ These settings apply only when `--azureresourceschema` is specified on the comma
``` yaml $(azureresourceschema) && $(multiapi)
batch:
- tag: package-2015-01-preview
- tag: package-2015-01-privatepreview
```
### Tag: package-2015-01-preview and azureresourceschema
Expand All @@ -18,13 +17,3 @@ Please also specify `--azureresourceschema-folder=<path to the root directory of
``` yaml $(tag) == 'package-2015-01-preview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2015-01-privatepreview and azureresourceschema

These settings apply only when `--tag=package-2015-01-privatepreview --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2015-01-privatepreview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ These settings apply only when `--azureresourceschema` is specified on the comma
``` yaml $(azureresourceschema) && $(multiapi)
batch:
- tag: package-2018-09-01
- tag: package-2017-07-01-privatepreview
```
### Tag: package-2018-09-01 and azureresourceschema
Expand All @@ -18,13 +17,3 @@ Please also specify `--azureresourceschema-folder=<path to the root directory of
``` yaml $(tag) == 'package-2018-09-01' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2017-07-01-privatepreview and azureresourceschema

These settings apply only when `--tag=package-2017-07-01-privatepreview --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2017-07-01-privatepreview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ These settings apply only when `--azureresourceschema` is specified on the comma
batch:
- tag: package-2018-06-01-preview
- tag: package-2018-06-01
- tag: package-2018-06-01-privatepreview
- tag: package-2020-01-01-privatepreview
- tag: package-2020-01-01
```
Expand All @@ -31,24 +29,6 @@ Please also specify `--azureresourceschema-folder=<path to the root directory of
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2018-06-01-privatepreview and azureresourceschema

These settings apply only when `--tag=package-2018-06-01-privatepreview --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2018-06-01-privatepreview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2020-01-01-privatepreview and azureresourceschema

These settings apply only when `--tag=package-2020-01-01-privatepreview --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2020-01-01-privatepreview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2020-01-01 and azureresourceschema

These settings apply only when `--tag=package-2020-01-01 --azureresourceschema` is specified on the command line.
Expand Down
31 changes: 0 additions & 31 deletions specification/mysql/resource-manager/readme.azureresourceschema.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@ These settings apply only when `--azureresourceschema` is specified on the comma
batch:
- tag: package-2017-12-01-preview
- tag: package-2017-12-01
- tag: package-2018-06-01-privatepreview
- tag: package-2018-06-01
- tag: package-2020-01-01-privatepreview
- tag: package-2020-01-01
- tag: package-2020-07-01-privatepreview
```
### Tag: package-2017-12-01-preview and azureresourceschema
Expand All @@ -33,15 +30,6 @@ Please also specify `--azureresourceschema-folder=<path to the root directory of
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2018-06-01-privatepreview and azureresourceschema

These settings apply only when `--tag=package-2018-06-01-privatepreview --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2018-06-01-privatepreview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2018-06-01 and azureresourceschema

These settings apply only when `--tag=package-2018-06-01 --azureresourceschema` is specified on the command line.
Expand All @@ -51,15 +39,6 @@ Please also specify `--azureresourceschema-folder=<path to the root directory of
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2020-01-01-privatepreview and azureresourceschema

These settings apply only when `--tag=package-2020-01-01-privatepreview --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2020-01-01-privatepreview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2020-01-01 and azureresourceschema

These settings apply only when `--tag=package-2020-01-01 --azureresourceschema` is specified on the command line.
Expand All @@ -68,13 +47,3 @@ Please also specify `--azureresourceschema-folder=<path to the root directory of
``` yaml $(tag) == 'package-2020-01-01' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2020-07-01-privatepreview and azureresourceschema

These settings apply only when `--tag=package-2020-07-01-privatepreview --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2020-07-01-privatepreview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

Original file line number Diff line number Diff line change
Expand Up @@ -6,33 +6,12 @@ These settings apply only when `--azureresourceschema` is specified on the comma

``` yaml $(azureresourceschema) && $(multiapi)
batch:
- tag: package-2020-02-14-privatepreview
- tag: package-2020-01-01-privatepreview
- tag: package-2020-01-01
- tag: package-2018-06-01-privatepreview
- tag: package-2018-06-01
- tag: package-2017-12-01-preview
- tag: package-2017-12-01
```
### Tag: package-2020-02-14-privatepreview and azureresourceschema
These settings apply only when `--tag=package-2020-02-14-privatepreview --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2020-02-14-privatepreview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2020-01-01-privatepreview and azureresourceschema

These settings apply only when `--tag=package-2020-01-01-privatepreview --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2020-01-01-privatepreview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2020-01-01 and azureresourceschema
These settings apply only when `--tag=package-2020-01-01 --azureresourceschema` is specified on the command line.
Expand All @@ -42,15 +21,6 @@ Please also specify `--azureresourceschema-folder=<path to the root directory of
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2018-06-01-privatepreview and azureresourceschema

These settings apply only when `--tag=package-2018-06-01-privatepreview --azureresourceschema` is specified on the command line.
Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

``` yaml $(tag) == 'package-2018-06-01-privatepreview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

### Tag: package-2018-06-01 and azureresourceschema

These settings apply only when `--tag=package-2018-06-01 --azureresourceschema` is specified on the command line.
Expand All @@ -77,4 +47,3 @@ Please also specify `--azureresourceschema-folder=<path to the root directory of
``` yaml $(tag) == 'package-2017-12-01' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```

Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,10 @@ These settings apply only when `--azureresourceschema` is specified on the comma

``` yaml $(azureresourceschema) && $(multiapi)
batch:
- tag: package-composite-v1
- tag: package-composite-v2
- tag: package-composite-v3
- tag: package-2015-06-preview-only
- tag: package-2017-08-preview-only
- tag: package-2019-01-preview-only
- tag: package-2020-01-preview-only
- tag: package-2017-08-only
- tag: package-2018-06-only
- tag: package-2019-01-only
- tag: package-2019-08-only
- tag: package-package-2020-01-preview-only
- tag: package-2020-01-only
```
Expand Down

0 comments on commit 909b2c3

Please sign in to comment.