Skip to content

Commit

Permalink
Create readme.python.md (#21972)
Browse files Browse the repository at this point in the history
* Create readme.python.md

* Update readme.md
  • Loading branch information
msyyc authored Jan 3, 2023
1 parent 0b1c0be commit e687f78
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
16 changes: 16 additions & 0 deletions specification/servicenetworking/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,19 @@ These settings apply only when `--tag=package-2022-10-01-preview` is specified o
input-file:
- Microsoft.ServiceNetworking/preview/2022-10-01-preview/TrafficController.json
```

# Code Generation

## Swagger to SDK

This section describes what SDK should be generated by the automatic system.
This is not used by Autorest itself.

```yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python-track2
```

## Python

See configuration in [readme.python.md](./readme.python.md)
19 changes: 19 additions & 0 deletions specification/servicenetworking/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## Python

These settings apply only when `--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 $(python)
title: ServiceNetworkingMgmtClient
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-servicenetworking
namespace: azure.mgmt.servicenetworking
package-version: 1.0.0b1
clear-output-folder: true
```
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/servicenetworking/azure-mgmt-servicenetworking/azure/mgmt/servicenetworking
```

0 comments on commit e687f78

Please sign in to comment.