Updated samples to match naming conventions. Split Storage into multiple samples per service.
This commit is contained in:
Родитель
513f39e261
Коммит
a28bc10de1
|
@ -6,5 +6,5 @@
|
|||
title: AppConfiguration
|
||||
require: $(this-folder)/../readme.samples.md
|
||||
input-file: appconfiguration.json
|
||||
namespace: Microsoft.Azure.AppConfiguration
|
||||
namespace: Azure.AppConfiguration
|
||||
```
|
|
@ -10,5 +10,5 @@ require:
|
|||
- https://github.com/Azure/azure-rest-api-specs/blob/resource-hybrid-profile/specification/commerce/resource-manager/readme.md
|
||||
- https://github.com/Azure/azure-rest-api-specs/blob/resource-hybrid-profile/specification/consumption/resource-manager/readme.md
|
||||
profile: latest-2019-04-30
|
||||
namespace: Microsoft.Azure.Billing
|
||||
namespace: Azure.Billing
|
||||
```
|
|
@ -8,5 +8,5 @@ require:
|
|||
- $(this-folder)/../readme.samples.md
|
||||
- https://github.com/Azure/azure-rest-api-specs/blob/resource-hybrid-profile/specification/dns/resource-manager/readme.md
|
||||
profile: latest-2019-04-30
|
||||
namespace: Microsoft.Azure.Dns
|
||||
namespace: Azure.Dns
|
||||
```
|
|
@ -6,5 +6,5 @@
|
|||
title: KeyVault
|
||||
require: $(this-folder)/../readme.samples.md
|
||||
input-file: keyvault.json
|
||||
namespace: Microsoft.Azure.KeyVault
|
||||
namespace: Azure.KeyVault
|
||||
```
|
|
@ -8,5 +8,5 @@ require:
|
|||
- $(this-folder)/../readme.samples.md
|
||||
- https://github.com/Azure/azure-rest-api-specs/blob/resource-hybrid-profile/specification/mediaservices/resource-manager/readme.md
|
||||
profile: latest-2019-04-30
|
||||
namespace: Microsoft.Azure.Media
|
||||
namespace: Azure.Media
|
||||
```
|
|
@ -6,5 +6,5 @@
|
|||
title: Redis
|
||||
require: $(this-folder)/../readme.samples.md
|
||||
input-file: redis.json
|
||||
namespace: Microsoft.Azure.Redis
|
||||
namespace: Azure.Redis
|
||||
```
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,11 @@
|
|||
# Storage
|
||||
### AutoRest Configuration
|
||||
> see https://aka.ms/autorest
|
||||
|
||||
``` yaml
|
||||
title: Storage.Blobs
|
||||
require:
|
||||
- $(this-folder)/../readme.samples.md
|
||||
- https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/storage/Azure.Storage.Blobs/swagger/readme.md
|
||||
namespace: Azure.Storage.Blobs
|
||||
```
|
|
@ -0,0 +1,11 @@
|
|||
# Storage
|
||||
### AutoRest Configuration
|
||||
> see https://aka.ms/autorest
|
||||
|
||||
``` yaml
|
||||
title: Storage.DataLake
|
||||
require:
|
||||
- $(this-folder)/../readme.samples.md
|
||||
- https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/storage/Azure.Storage.Files.DataLake/swagger/readme.md
|
||||
namespace: Azure.Storage.DataLake
|
||||
```
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,11 @@
|
|||
# Storage
|
||||
### AutoRest Configuration
|
||||
> see https://aka.ms/autorest
|
||||
|
||||
``` yaml
|
||||
title: Storage.Files
|
||||
require:
|
||||
- $(this-folder)/../readme.samples.md
|
||||
- https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/storage/Azure.Storage.Files.Shares/swagger/readme.md
|
||||
namespace: Azure.Storage.Files
|
||||
```
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,11 @@
|
|||
# Storage
|
||||
### AutoRest Configuration
|
||||
> see https://aka.ms/autorest
|
||||
|
||||
``` yaml
|
||||
title: Storage.Queues
|
||||
require:
|
||||
- $(this-folder)/../readme.samples.md
|
||||
- https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/storage/Azure.Storage.Queues/swagger/readme.md
|
||||
namespace: Azure.Storage.Queues
|
||||
```
|
|
@ -1,10 +0,0 @@
|
|||
# Storage
|
||||
### AutoRest Configuration
|
||||
> see https://aka.ms/autorest
|
||||
|
||||
``` yaml
|
||||
title: Storage
|
||||
require: $(this-folder)/../readme.samples.md
|
||||
input-file: DataLakeStorage.json
|
||||
namespace: Microsoft.Azure.Storage
|
||||
```
|
|
@ -128,9 +128,6 @@ namespace AutoRest.CSharp.V3.CodeGen
|
|||
.Select(ns => $"using {ns};")
|
||||
.ToArray();
|
||||
var usingBlock = usingLines.Any() ? String.Join(Environment.NewLine, usingLines) + Environment.NewLine + Environment.NewLine : String.Empty;
|
||||
//var usingBlock = String.Join(Environment.NewLine, usingLines);
|
||||
//var removeLine = usingBlock.Any() ? String.Empty : Environment.NewLine;
|
||||
//var extraLine = usingBlock.Any() ? Environment.NewLine : String.Empty;
|
||||
Replace(usingBlockIdentifier + Environment.NewLine, usingBlock);
|
||||
});
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче