From 403c8329b3bc8cbcb89e273dd1353903bb1ed4ae Mon Sep 17 00:00:00 2001 From: Zed <601306339@qq.com> Date: Tue, 13 Apr 2021 14:26:47 +0800 Subject: [PATCH 1/2] web readme t2 config --- specification/web/resource-manager/readme.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/web/resource-manager/readme.md b/specification/web/resource-manager/readme.md index 0e4bc4ce2515..179c9fffd530 100644 --- a/specification/web/resource-manager/readme.md +++ b/specification/web/resource-manager/readme.md @@ -1263,6 +1263,10 @@ swagger-to-sdk: See configuration in [readme.go.md](./readme.go.md) +## Python + +See configuration in [readme.python.md](./readme.python.md) + ## Java From a8b4ff5974a31eef24aed1140a31dc1d30722f38 Mon Sep 17 00:00:00 2001 From: Zed <601306339@qq.com> Date: Tue, 13 Apr 2021 17:27:03 +0800 Subject: [PATCH 2/2] web readme.python t2 config --- .../web/resource-manager/readme.python.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/specification/web/resource-manager/readme.python.md b/specification/web/resource-manager/readme.python.md index 596c7df35490..c99a8a4f99a8 100644 --- a/specification/web/resource-manager/readme.python.md +++ b/specification/web/resource-manager/readme.python.md @@ -30,6 +30,7 @@ Generate all API versions currently shipped for this package ```yaml $(python) && $(multiapi) && !$(track2) batch: + - tag: package-2020-12-only - tag: package-2020-09-only - tag: package-2020-06-only - tag: package-2019-08-only @@ -45,6 +46,7 @@ batch: ```yaml $(python) && $(multiapi) && $(track2) clear-output-folder: true batch: + - tag: package-2020-12-only - tag: package-2020-09-only - tag: package-2020-06-only - tag: package-2019-08-only @@ -63,6 +65,18 @@ output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/ clear-output-folder: false perform-load: false ``` +### Tag: package-2020-12-only and python + +These settings apply only when `--tag=package-2020-12-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2020-12-only' && $(python) +namespace: azure.mgmt.web.v2020_12_01 +output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01 +python: + namespace: azure.mgmt.web.v2020_12_01 + output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2020_12_01 +``` ### Tag: package-2020-09-only and python