Skip to content

Commit

Permalink
Add code generation setting for csharp and documentation typos (Azure…
Browse files Browse the repository at this point in the history
…#1500)

* Add code generation setting for csharp and documentation typos

* Remove payload flattening option.

* Fix linter issue in ListBackend examples
  • Loading branch information
solankisamir authored and olydis committed Aug 2, 2017
1 parent 521c0e6 commit 013a6de
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -527,12 +527,12 @@
"BackendTlsProperties": {
"properties": {
"validateCertificateChain": {
"description": "Flag indicating whether SSL certificate chain validation should be skipped when using self-signed certificates for this backend host.",
"description": "Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for this backend host.",
"type": "boolean",
"default": true
},
"validateCertificateName": {
"description": "Flag indicating whether SSL certificate name validation should be skipped when using self-signed certificates for this backend host.",
"description": "Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for this backend host.",
"type": "boolean",
"default": true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -458,17 +458,17 @@
"startDate": {
"type": "string",
"format": "date-time",
"description": "Subscription activation date. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n"
"description": "Subscription activation date. The setting is for audit purposes only and the subscription is not automatically activated. The subscription lifecycle can be managed by using the `state` property. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n"
},
"expirationDate": {
"type": "string",
"format": "date-time",
"description": "Subscription expiration date. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n"
"description": "Subscription expiration date. The setting is for audit purposes only and the subscription is not automatically expired. The subscription lifecycle can be managed by using the `state` property. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n"
},
"endDate": {
"type": "string",
"format": "date-time",
"description": "Date when subscription was cancelled or expired. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n"
"description": "Date when subscription was cancelled or expired. The setting is for audit purposes only and the subscription is not automatically cancelled. The subscription lifecycle can be managed by using the `state` property. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.\n"
},
"notificationDate": {
"type": "string",
Expand Down Expand Up @@ -586,7 +586,7 @@
"expirationDate": {
"type": "string",
"format": "date-time",
"description": "New subscription expiration date."
"description": "Subscription expiration date. The setting is for audit purposes only and the subscription is not automatically expired. The subscription lifecycle can be managed by using the `state` property. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard."
},
"displayName": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@
"modelAsString": true,
"name": "configurationIdName"
},
"description": "The identifier of the Git Configuraion Operation.",
"description": "The identifier of the Git Configuration Operation.",
"x-ms-parameter-location": "method"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
"issuerCertificateThumbprint": "IssuerCertificateThumbprint1"
}
],
"partitionResolutionRequestTimeout": "00:05:00",
"maxPartitionResolutionRetries": 5
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"properties": {
"publisherEmail": "admin@live.com",
"publisherName": "contoso",
"notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com",
"provisioningState": "Succeeded",
"targetProvisioningState": "",
"createdAtUtc": "2017-05-27T15:33:55.5426123Z",
Expand Down Expand Up @@ -57,6 +58,7 @@
"properties": {
"publisherEmail": "admin@live.com",
"publisherName": "MS",
"notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com",
"provisioningState": "Succeeded",
"targetProvisioningState": "",
"createdAtUtc": "2017-05-26T23:55:31.1405115Z",
Expand Down Expand Up @@ -85,6 +87,7 @@
"properties": {
"publisherEmail": "admin@live.com",
"publisherName": "contoso",
"notificationSenderEmail": "apimgmt-noreply@mail.windowsazure.com",
"provisioningState": "Succeeded",
"targetProvisioningState": "",
"createdAtUtc": "2017-05-26T18:13:02.0196315Z",
Expand Down
18 changes: 18 additions & 0 deletions specification/apimanagement/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,21 @@ input-file:
- Microsoft.ApiManagement/2016-07-07/apimanagement.json
- Microsoft.ApiManagement/2016-07-07/apimdeployment.json
```

---
# Code Generation


## 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.ApiManagement
output-folder: $(csharp-sdks-folder)/ApiManagement/Management.ApiManagement/Generated
clear-output-folder: true
```

0 comments on commit 013a6de

Please sign in to comment.