diff --git a/specification/web/resource-manager/readme.md b/specification/web/resource-manager/readme.md index 39767fe0d766..e6984a0c25c9 100644 --- a/specification/web/resource-manager/readme.md +++ b/specification/web/resource-manager/readme.md @@ -39,9 +39,10 @@ tag: package-2019-08 ### Tag: package-2019-08 -These settings apply only when `--tag=package-2019-08` is specified on the command line. +These settings apply only when `--tag=package-2019-08` or `--tag=package-2019-08-only` is specified on the command line. +NOTE: Currently these tags are the same, but it will need to be split if any files from folders other than 2019-08-01 are included. -``` yaml $(tag) == 'package-2019-08' +``` yaml $(tag) == 'package-2019-08' || $(tag) == 'package-2019-08-only' input-file: - Microsoft.CertificateRegistration/stable/2019-08-01/AppServiceCertificateOrders.json @@ -1017,8 +1018,11 @@ This is not used by Autorest itself. swagger-to-sdk: - repo: azure-sdk-for-net - repo: azure-sdk-for-python + autorest_options: + use: "@microsoft.azure/autorest.python@4.0.70" after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-web + - python ./scripts/trim_aio.py ./sdk/appservice/azure-mgmt-web - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node diff --git a/specification/web/resource-manager/readme.python.md b/specification/web/resource-manager/readme.python.md index 148b1766e8dd..6225fec349d4 100644 --- a/specification/web/resource-manager/readme.python.md +++ b/specification/web/resource-manager/readme.python.md @@ -10,7 +10,6 @@ python: azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION payload-flattening-threshold: 2 - namespace: azure.mgmt.web package-name: azure-mgmt-web package-version: 0.42.0 clear-output-folder: true @@ -23,6 +22,7 @@ Generate all API versions currently shipped for this package ```yaml $(python) && $(multiapi) batch: + - tag: package-2019-08-only - tag: package-2018-11-only - tag: package-2018-02-only - tag: package-2016-09-only @@ -32,6 +32,17 @@ batch: - tag: package-2015-04-only ``` +### Tag: package-2019-08-only and python + +These settings apply only when `--tag=package-2019-08-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2019-08-only' && $(python) +python: + namespace: azure.mgmt.web.v2019_08_01 + output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/v2019_08_01 +``` + ### Tag: package-2018-11-only and python These settings apply only when `--tag=package-2018-11-only --python` is specified on the command line.