Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version of Web API for Python SDK #7473

Merged
merged 5 commits into from
Oct 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions specification/web/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/[email protected]"
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
Expand Down
13 changes: 12 additions & 1 deletion specification/web/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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.
Expand Down