Skip to content

Commit

Permalink
multiapi for commerce (Azure#10659)
Browse files Browse the repository at this point in the history
  • Loading branch information
changlong-liu authored Sep 2, 2020
1 parent 23a83bf commit b8fa1c5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions specification/commerce/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ python:
namespace: azure.mgmt.commerce
package-name: azure-mgmt-commerce
clear-output-folder: true
no-namespace-folders: true
```
``` yaml $(python) && $(python-mode) == 'update'
python:
Expand All @@ -91,6 +92,27 @@ python:
output-folder: $(python-sdks-folder)/commerce/azure-mgmt-commerce
```

### Python multi-api

Generate all API versions currently shipped for this package

```yaml $(python) && $(multiapi)
batch:
- tag: package-2015-06-preview
```


### Tag: package-2015-06-preview and python

These settings apply only when `--tag=package-2015-06-preview --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-2020-05-preview' && $(python)
python:
namespace: azure.mgmt.databoxedge.v2016_06_01_preview
output-folder: $(python-sdks-folder)/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2016_06_01_preview
```

## Go

See configuration in [readme.go.md](./readme.go.md)
Expand Down

0 comments on commit b8fa1c5

Please sign in to comment.