Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -414,14 +414,6 @@
"$ref": "#/definitions/BillingDetails",
"description": "Represents additional details about billing for the inventory",
"readOnly": true
},
"inventorySecrets": {
"description": "Represents secrets on the inventory",
"type": "object",
"additionalProperties": {
"type": "string"
},
"readOnly": true
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@
"billing": {
"billingType": "Pav2",
"status": "InProgress"
},
"inventorySecrets": {
"PublicCert": "<PublicCert>"
}
}
}
Expand Down
26 changes: 26 additions & 0 deletions specification/edgeorderpartner/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## Go

These settings apply only when `--go` is specified on the command line.

``` yaml $(go)
go:
license-header: MICROSOFT_MIT_NO_VERSION
clear-output-folder: true
namespace: edgeorderpartner
```

### Go multi-api

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2020-12-preview
```

### Tag: package-2020-12-preview and go

These settings apply only when `--tag=package-2020-12-preview --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag)=='package-2020-12-preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-12-01-preview/$(namespace)
```
42 changes: 40 additions & 2 deletions specification/edgeorderpartner/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ To see additional help and options, run:
These are the global settings for the EdgeOrderPartner API.

``` yaml
title: Edge Order Partner API's
title: EdgeOrderPartnerManagementClient
description: Edge Order Partner API's
openapi-type: arm
tag: package-2020-12-preview
```
Expand All @@ -38,4 +39,41 @@ These settings apply only when `--tag=package-2020-12-preview` is specified on t
input-file:
- Microsoft.EdgeOrderPartner/preview/2020-12-01-preview/edgeorderpartner.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-net
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-go
```

## C#

These settings apply only when `--csharp` is specified on the command line.
Please also specify `--csharp-sdks-folder=<path to "SDKs" directory of your azure-sdk-for-net clone>`.

``` yaml $(csharp)
csharp:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.EdgeOrderPartner
output-folder: $(csharp-sdks-folder)/edgeorder/Microsoft.Azure.Management.EdgeOrderPartner/src/Generated
clear-output-folder: true
```

## Python

See configuration in [readme.python.md](./readme.python.md)

## Go

See configuration in [readme.go.md](./readme.go.md)
27 changes: 27 additions & 0 deletions specification/edgeorderpartner/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
## 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>`.
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
These settings apply only when `--track2` is specified on the command line.

``` yaml $(track2)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-edgeorderpartner
no-namespace-folders: true
package-version: 1.0.0
payload-flattening-threshold: 1
title: EdgeOrderPartnerClient
description: Edge-Order Partner Client
clear-output-folder: true
```

```yaml $(python) && $(python-mode) == 'update' && $(track2)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/edgeorder/azure-mgmt-edgeorder/azure/mgmt/edgeorderpartner
```

```yaml $(python) && $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/edgeorder/azure-mgmt-edgeorder