From 5bc96f8b7c5778fa304ef3424e315653124e9f64 Mon Sep 17 00:00:00 2001 From: NarayanThiru Date: Sun, 26 Apr 2020 23:47:12 -0700 Subject: [PATCH] Dev kubernetesconfiguration microsoft.kubernetes configuration 2019 11 01 preview (#9170) * Remove x-ms-parameter-location for api-version parameter to fix CLI issue * revert accidental updates to 2 readme files --- .../kubernetesconfiguration.json | 3 +- .../resource-manager/readme.go.md | 10 +++--- .../resource-manager/readme.md | 33 +++++++++---------- 3 files changed, 22 insertions(+), 24 deletions(-) diff --git a/specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/preview/2019-11-01-preview/kubernetesconfiguration.json b/specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/preview/2019-11-01-preview/kubernetesconfiguration.json index 7aaa1f02ce13..225c0f0d9d08 100644 --- a/specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/preview/2019-11-01-preview/kubernetesconfiguration.json +++ b/specification/kubernetesconfiguration/resource-manager/Microsoft.KubernetesConfiguration/preview/2019-11-01-preview/kubernetesconfiguration.json @@ -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", diff --git a/specification/kubernetesconfiguration/resource-manager/readme.go.md b/specification/kubernetesconfiguration/resource-manager/readme.go.md index 502ead02e2b4..2e168bef03b1 100644 --- a/specification/kubernetesconfiguration/resource-manager/readme.go.md +++ b/specification/kubernetesconfiguration/resource-manager/readme.go.md @@ -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 diff --git a/specification/kubernetesconfiguration/resource-manager/readme.md b/specification/kubernetesconfiguration/resource-manager/readme.md index ff656db0746e..d4c580b683fa 100644 --- a/specification/kubernetesconfiguration/resource-manager/readme.md +++ b/specification/kubernetesconfiguration/resource-manager/readme.md @@ -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 +``` \ No newline at end of file