Skip to content

Commit

Permalink
Dev kubernetesconfiguration microsoft.kubernetes configuration 2019 1…
Browse files Browse the repository at this point in the history
…1 01 preview (Azure#9170)

* Remove x-ms-parameter-location for api-version parameter to fix CLI issue

* revert accidental updates to 2 readme files
  • Loading branch information
NarayanThiru authored and 00Kai0 committed Oct 12, 2020
1 parent 2c5a31c commit 5bc96f8
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,7 @@
"in": "query",
"required": true,
"type": "string",
"description": "The API version to be used with the HTTP request.",
"x-ms-parameter-location": "method"
"description": "The API version to be used with the HTTP request."
},
"SourceControlConfigurationNameParameter": {
"name": "sourceControlConfigurationName",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ go:
clear-output-folder: true
```
### Go multi-api
### Go multi-api
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2019-11-01-preview
```
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2019-11-01-preview
```
### Tag: package-2019-11-01-preview and go
Expand Down
33 changes: 16 additions & 17 deletions specification/kubernetesconfiguration/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,27 +78,26 @@ See configuration in [readme.typescript.md](./readme.typescript.md)

See configuration in [readme.csharp.md](./readme.csharp.md)

## Multi-API/Profile support for AutoRest v3 generators
## Multi-API/Profile support for AutoRest v3 generators

AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.

This block is updated by an automatic script. Edits may be lost!
This block is updated by an automatic script. Edits may be lost!

``` yaml $(tag) == 'all-api-versions' /* autogenerated */
# include the azure profile definitions from the standard location
require: $(this-folder)/../../../profiles/readme.md
``` yaml $(tag) == 'all-api-versions' /* autogenerated */
# include the azure profile definitions from the standard location
require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.KubernetesConfiguration/preview/2019-11-01-preview/kubernetesconfiguration.json
```
# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.KubernetesConfiguration/preview/2019-11-01-preview/kubernetesconfiguration.json
If there are files that should not be in the `all-api-versions` set,
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
```
If there are files that should not be in the `all-api-versions` set,
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
```

0 comments on commit 5bc96f8

Please sign in to comment.