This commit is contained in:
Pavel Krymets 2020-02-07 17:10:27 -08:00
Родитель 0912093666
Коммит de83b3b752
26 изменённых файлов: 95 добавлений и 91 удалений

Просмотреть файл

@ -18,20 +18,4 @@
shared-source-folder: $(this-folder)/src/assets
save-code-model: true
use: $(this-folder)/artifacts/bin/AutoRest.CSharp.V3/Debug/netcoreapp3.0/
use-extension:
"@autorest/modelerfour": "4.4.162"
```
```yaml $(include-csproj)
pipeline:
csharpproj:
input: modelerfour/identity
csharpproj/emitter:
input: csharpproj
scope: output-scope
csharpproj/emitter/command:
input:
- csharpgen/emitter
- csharpproj/emitter
run: dotnet build $(title).csproj --verbosity quiet /nologo
```
```

Просмотреть файл

@ -70,7 +70,7 @@ schemas: !<!Schemas>
serializedName: '@nextLink'
language: !<!Languages>
default:
name: nextLink
name: NextLink
description: The URI that can be used to request the next set of paged results.
originalName: '@nextLink'
protocol: !<!Protocols> {}
@ -307,13 +307,13 @@ schemas: !<!Schemas>
language: !<!Languages>
default:
name: Dictionary of string
description: Dictionary of <paths·keys·get·parameters·0·schema>
description: Dictionary of <paths·2r06b2·keys·get·parameters·0·schema>
protocol: !<!Protocols> {}
serializedName: tags
language: !<!Languages>
default:
name: tags
description: Dictionary of <paths·keys·get·parameters·0·schema>
description: Dictionary of <paths·2r06b2·keys·get·parameters·0·schema>
originalName: tags
protocol: !<!Protocols> {}
- !<!Property>
@ -381,7 +381,7 @@ schemas: !<!Schemas>
serializedName: '@nextLink'
language: !<!Languages>
default:
name: nextLink
name: NextLink
description: The URI that can be used to request the next set of paged results.
originalName: '@nextLink'
protocol: !<!Protocols> {}
@ -461,7 +461,7 @@ schemas: !<!Schemas>
serializedName: '@nextLink'
language: !<!Languages>
default:
name: nextLink
name: NextLink
description: The URI that can be used to request the next set of paged results.
originalName: '@nextLink'
protocol: !<!Protocols> {}

Просмотреть файл

@ -16,7 +16,7 @@ namespace AppConfiguration.Models
public string ContentType { get; set; }
public string Value { get; set; }
public DateTimeOffset? LastModified { get; set; }
/// <summary> Dictionary of &lt;paths·keys·get·parameters·0·schema&gt;. </summary>
/// <summary> Dictionary of &lt;paths·2r06b2·keys·get·parameters·0·schema&gt;. </summary>
public IDictionary<string, string> Tags { get; set; }
public bool? Locked { get; set; }
public string Etag { get; set; }

18
samples/CognitiveSearch/CognitiveSearch/CodeModel.yaml сгенерированный
Просмотреть файл

@ -658,7 +658,7 @@ schemas: !<!Schemas>
version: '2019-05-06'
language: !<!Languages>
default:
name: components·schemas·facetresult·additionalproperties
name: components·1fm1tva·schemas·facetresult·additionalproperties
description: ''
namespace: Api20190506
protocol: !<!Protocols> {}
@ -1795,7 +1795,7 @@ schemas: !<!Schemas>
serializedName: '@odata.type'
language: !<!Languages>
default:
name: odataType
name: OdataType
description: ''
originalName: '@odata.type'
protocol: !<!Protocols> {}
@ -1902,7 +1902,7 @@ schemas: !<!Schemas>
serializedName: '@odata.type'
language: !<!Languages>
default:
name: odataType
name: OdataType
description: ''
originalName: '@odata.type'
protocol: !<!Protocols> {}
@ -5032,7 +5032,7 @@ schemas: !<!Schemas>
serializedName: '@odata.type'
language: !<!Languages>
default:
name: odataType
name: OdataType
description: ''
originalName: '@odata.type'
protocol: !<!Protocols> {}
@ -5383,7 +5383,7 @@ schemas: !<!Schemas>
serializedName: '@odata.type'
language: !<!Languages>
default:
name: odataType
name: OdataType
description: ''
originalName: '@odata.type'
protocol: !<!Protocols> {}
@ -8037,7 +8037,7 @@ schemas: !<!Schemas>
serializedName: '@odata.type'
language: !<!Languages>
default:
name: odataType
name: OdataType
description: ''
originalName: '@odata.type'
protocol: !<!Protocols> {}
@ -9537,7 +9537,7 @@ schemas: !<!Schemas>
serializedName: '@odata.type'
language: !<!Languages>
default:
name: odataType
name: OdataType
description: ''
originalName: '@odata.type'
protocol: !<!Protocols> {}
@ -12183,7 +12183,7 @@ schemas: !<!Schemas>
serializedName: '@odata.type'
language: !<!Languages>
default:
name: odataType
name: OdataType
description: ''
originalName: '@odata.type'
protocol: !<!Protocols> {}
@ -12377,7 +12377,7 @@ schemas: !<!Schemas>
serializedName: '@odata.type'
language: !<!Languages>
default:
name: odataType
name: OdataType
description: ''
originalName: '@odata.type'
protocol: !<!Protocols> {}

Просмотреть файл

@ -8,16 +8,16 @@ using Azure.Core;
namespace CognitiveSearch.Models
{
public partial class ComponentsSchemasFacetresultAdditionalproperties : IUtf8JsonSerializable
public partial class Components1fm1tvaSchemasFacetresultAdditionalproperties : IUtf8JsonSerializable
{
void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
{
writer.WriteStartObject();
writer.WriteEndObject();
}
internal static ComponentsSchemasFacetresultAdditionalproperties DeserializeComponentsSchemasFacetresultAdditionalproperties(JsonElement element)
internal static Components1fm1tvaSchemasFacetresultAdditionalproperties DeserializeComponents1fm1tvaSchemasFacetresultAdditionalproperties(JsonElement element)
{
ComponentsSchemasFacetresultAdditionalproperties result = new ComponentsSchemasFacetresultAdditionalproperties();
Components1fm1tvaSchemasFacetresultAdditionalproperties result = new Components1fm1tvaSchemasFacetresultAdditionalproperties();
foreach (var property in element.EnumerateObject())
{
}

Просмотреть файл

@ -0,0 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#nullable disable
namespace CognitiveSearch.Models
{
/// <summary> The components·1fm1tva·schemas·facetresult·additionalproperties. </summary>
public partial class Components1fm1tvaSchemasFacetresultAdditionalproperties
{
}
}

Просмотреть файл

@ -1,12 +0,0 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#nullable disable
namespace CognitiveSearch.Models
{
/// <summary> The components·schemas·facetresult·additionalproperties. </summary>
public partial class ComponentsSchemasFacetresultAdditionalproperties
{
}
}

Просмотреть файл

@ -445,7 +445,7 @@ namespace CognitiveSearch
/// <param name="selectedFields"> List of field names to retrieve for the document; Any field not retrieved will be missing from the returned document. </param>
/// <param name="clientRequestId"> The tracking ID sent with the request to help with debugging. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
public async ValueTask<Response<ComponentsSchemasFacetresultAdditionalproperties>> GetAsync(string key, IEnumerable<string> selectedFields, Guid? clientRequestId, CancellationToken cancellationToken = default)
public async ValueTask<Response<Components1fm1tvaSchemasFacetresultAdditionalproperties>> GetAsync(string key, IEnumerable<string> selectedFields, Guid? clientRequestId, CancellationToken cancellationToken = default)
{
if (key == null)
{
@ -463,7 +463,7 @@ namespace CognitiveSearch
case 200:
{
using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false);
var value = ComponentsSchemasFacetresultAdditionalproperties.DeserializeComponentsSchemasFacetresultAdditionalproperties(document.RootElement);
var value = Components1fm1tvaSchemasFacetresultAdditionalproperties.DeserializeComponents1fm1tvaSchemasFacetresultAdditionalproperties(document.RootElement);
return Response.FromValue(value, message.Response);
}
default:
@ -481,7 +481,7 @@ namespace CognitiveSearch
/// <param name="selectedFields"> List of field names to retrieve for the document; Any field not retrieved will be missing from the returned document. </param>
/// <param name="clientRequestId"> The tracking ID sent with the request to help with debugging. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
public Response<ComponentsSchemasFacetresultAdditionalproperties> Get(string key, IEnumerable<string> selectedFields, Guid? clientRequestId, CancellationToken cancellationToken = default)
public Response<Components1fm1tvaSchemasFacetresultAdditionalproperties> Get(string key, IEnumerable<string> selectedFields, Guid? clientRequestId, CancellationToken cancellationToken = default)
{
if (key == null)
{
@ -499,7 +499,7 @@ namespace CognitiveSearch
case 200:
{
using var document = JsonDocument.Parse(message.Response.ContentStream);
var value = ComponentsSchemasFacetresultAdditionalproperties.DeserializeComponentsSchemasFacetresultAdditionalproperties(document.RootElement);
var value = Components1fm1tvaSchemasFacetresultAdditionalproperties.DeserializeComponents1fm1tvaSchemasFacetresultAdditionalproperties(document.RootElement);
return Response.FromValue(value, message.Response);
}
default:

Просмотреть файл

@ -4,5 +4,4 @@
require: $(this-folder)/../readme.md
output-folder: $(this-folder)/$(title)/$(title)
clear-output-folder: false
include-csproj: true
```

Просмотреть файл

@ -30,10 +30,7 @@ namespace AutoRest.CSharp.V3.AutoRest.Plugins
";
public async Task<bool> Execute(IPluginCommunication autoRest, CodeModel codeModel, Configuration configuration)
{
if (configuration.IncludeCsProj)
{
await autoRest.WriteFile($"{configuration.Title}.csproj", _csProjContent, "source-file-csharp");
}
return true;
}

Просмотреть файл

@ -11,7 +11,6 @@ namespace AutoRest.CSharp.V3.AutoRest.Plugins
public string OutputFolder { get; }
public string Namespace { get; }
public string Title { get; }
public bool IncludeCsProj { get; }
public string SharedSourceFolder { get; }
public bool SaveCodeModel { get; }
@ -22,7 +21,6 @@ namespace AutoRest.CSharp.V3.AutoRest.Plugins
SharedSourceFolder = new Uri(GetRequiredOption(autoRest, "shared-source-folder")).LocalPath;
Namespace = autoRest.GetValue<string?>("namespace").GetAwaiter().GetResult() ?? "Sample";
Title = autoRest.GetValue<string?>("title").GetAwaiter().GetResult() ?? "Sample";
IncludeCsProj = autoRest.GetValue<bool?>("include-csproj").GetAwaiter().GetResult() ?? true;
SaveCodeModel = autoRest.GetValue<bool?>("save-code-model").GetAwaiter().GetResult() ?? false;
}

Просмотреть файл

@ -1,8 +1,21 @@
# Tests AutoRest Configuration
``` yaml
use: $(this-folder)/../../
require: $(this-folder)/../../readme.md
output-folder: $(this-folder)/$(title)
clear-output-folder: false
include-csproj: true
```
``` yaml
pipeline:
csharpproj:
input: modelerfour/identity
csharpproj/emitter:
input: csharpproj
scope: output-scope
csharpproj/emitter/command:
input:
- csharpgen/emitter
- csharpproj/emitter
run: dotnet build $(title).csproj --verbosity quiet /nologo
```

Просмотреть файл

@ -273,7 +273,7 @@ schemas: !<!Schemas>
language: !<!Languages>
default:
name: Dictionary of string
description: Dictionary of <components·schemas·petapstring·additionalproperties>
description: Dictionary of <components·gbcthw·schemas·petapstring·additionalproperties>
protocol: !<!Protocols> {}
immediate:
- *ref_4
@ -413,14 +413,14 @@ schemas: !<!Schemas>
language: !<!Languages>
default:
name: Dictionary of number
description: Dictionary of <components·schemas·petapinproperties·properties·additionalproperties·additionalproperties>
description: Dictionary of <components·ruixpu·schemas·petapinproperties·properties·additionalproperties·additionalproperties>
protocol: !<!Protocols> {}
required: false
serializedName: additionalProperties
language: !<!Languages>
default:
name: additionalProperties
description: Dictionary of <components·schemas·petapinproperties·properties·additionalproperties·additionalproperties>
description: Dictionary of <components·ruixpu·schemas·petapinproperties·properties·additionalproperties·additionalproperties>
originalName: additionalProperties
protocol: !<!Protocols> {}
language: !<!Languages>
@ -442,7 +442,7 @@ schemas: !<!Schemas>
language: !<!Languages>
default:
name: Dictionary of string
description: Dictionary of <components·schemas·petapstring·additionalproperties>
description: Dictionary of <components·gbcthw·schemas·petapstring·additionalproperties>
protocol: !<!Protocols> {}
immediate:
- *ref_6
@ -515,7 +515,7 @@ schemas: !<!Schemas>
serializedName: '@odata.location'
language: !<!Languages>
default:
name: odataLocation
name: OdataLocation
description: ''
originalName: '@odata.location'
protocol: !<!Protocols> {}
@ -526,14 +526,14 @@ schemas: !<!Schemas>
language: !<!Languages>
default:
name: Dictionary of number
description: Dictionary of <components·schemas·petapinproperties·properties·additionalproperties·additionalproperties>
description: Dictionary of <components·ruixpu·schemas·petapinproperties·properties·additionalproperties·additionalproperties>
protocol: !<!Protocols> {}
required: false
serializedName: additionalProperties
language: !<!Languages>
default:
name: additionalProperties
description: Dictionary of <components·schemas·petapinproperties·properties·additionalproperties·additionalproperties>
description: Dictionary of <components·ruixpu·schemas·petapinproperties·properties·additionalproperties·additionalproperties>
originalName: additionalProperties
protocol: !<!Protocols> {}
language: !<!Languages>

Просмотреть файл

@ -13,7 +13,7 @@ namespace additionalProperties.Models
public int Id { get; set; }
public string Name { get; set; }
public bool? Status { get; internal set; }
/// <summary> Dictionary of &lt;components·schemas·petapinproperties·properties·additionalproperties·additionalproperties&gt;. </summary>
/// <summary> Dictionary of &lt;components·ruixpu·schemas·petapinproperties·properties·additionalproperties·additionalproperties&gt;. </summary>
public IDictionary<string, float> AdditionalProperties { get; set; }
}
}

Просмотреть файл

@ -15,7 +15,7 @@ namespace additionalProperties.Models
public string Name { get; set; }
public bool? Status { get; internal set; }
public string OdataLocation { get; set; }
/// <summary> Dictionary of &lt;components·schemas·petapinproperties·properties·additionalproperties·additionalproperties&gt;. </summary>
/// <summary> Dictionary of &lt;components·ruixpu·schemas·petapinproperties·properties·additionalproperties·additionalproperties&gt;. </summary>
public IDictionary<string, float> AdditionalProperties { get; set; }
private readonly IDictionary<string, string> _additionalProperties = new System.Collections.Generic.Dictionary<string, string>();
/// <inheritdoc />

2
test/TestServerProjects/body-array/CodeModel.yaml сгенерированный
Просмотреть файл

@ -109,7 +109,7 @@ schemas: !<!Schemas>
language: !<!Languages>
default:
name: Dictionary of string
description: Dictionary of <paths·array-prim-string-foo1-foo2-foo3·get·responses·200·content·application-json·schema·items>
description: Dictionary of <paths·xsy81v·array-prim-string-foo1-foo2-foo3·get·responses·200·content·application-json·schema·items>
protocol: !<!Protocols> {}
choices:
- !<!ChoiceSchema> &ref_2

4
test/TestServerProjects/body-complex/CodeModel.yaml сгенерированный
Просмотреть файл

@ -698,13 +698,13 @@ schemas: !<!Schemas>
language: !<!Languages>
default:
name: Dictionary of string
description: Dictionary of <components·schemas·dictionary_wrapper·properties·defaultprogram·additionalproperties>
description: Dictionary of <components·1h82ak4·schemas·dictionary_wrapper·properties·defaultprogram·additionalproperties>
protocol: !<!Protocols> {}
serializedName: defaultProgram
language: !<!Languages>
default:
name: defaultProgram
description: Dictionary of <components·schemas·dictionary_wrapper·properties·defaultprogram·additionalproperties>
description: Dictionary of <components·1h82ak4·schemas·dictionary_wrapper·properties·defaultprogram·additionalproperties>
originalName: defaultProgram
protocol: !<!Protocols> {}
language: !<!Languages>

Просмотреть файл

@ -10,7 +10,7 @@ namespace body_complex.Models
/// <summary> The dictionary-wrapper. </summary>
public partial class DictionaryWrapper
{
/// <summary> Dictionary of &lt;components·schemas·dictionary_wrapper·properties·defaultprogram·additionalproperties&gt;. </summary>
/// <summary> Dictionary of &lt;components·1h82ak4·schemas·dictionary_wrapper·properties·defaultprogram·additionalproperties&gt;. </summary>
public IDictionary<string, string> DefaultProgram { get; set; }
}
}

Просмотреть файл

@ -127,7 +127,7 @@ schemas: !<!Schemas>
language: !<!Languages>
default:
name: Dictionary of string
description: Dictionary of <paths·dictionary-nullvalue·get·responses·200·content·application-json·schema·additionalproperties>
description: Dictionary of <paths·pyocdk·dictionary-nullvalue·get·responses·200·content·application-json·schema·additionalproperties>
protocol: !<!Protocols> {}
- !<!DictionarySchema> &ref_28
type: dictionary
@ -338,7 +338,7 @@ schemas: !<!Schemas>
protocol: !<!Protocols> {}
language: !<!Languages>
default:
name: DictionaryOfpaths·dictionary-array-null·get·responses·200·content·application-json·schema·additionalproperties
name: DictionaryOfpaths·1y9iid6·dictionary-array-null·get·responses·200·content·application-json·schema·additionalproperties
description: a null array
protocol: !<!Protocols> {}
- !<!DictionarySchema> &ref_52
@ -356,7 +356,7 @@ schemas: !<!Schemas>
protocol: !<!Protocols> {}
language: !<!Languages>
default:
name: DictionaryOfpaths·dictionary-array-empty·get·responses·200·content·application-json·schema·additionalproperties
name: DictionaryOfpaths·afa1hv·dictionary-array-empty·get·responses·200·content·application-json·schema·additionalproperties
description: 'An empty dictionary {}'
protocol: !<!Protocols> {}
- !<!DictionarySchema> &ref_53
@ -383,7 +383,7 @@ schemas: !<!Schemas>
protocol: !<!Protocols> {}
language: !<!Languages>
default:
name: DictionaryOfpaths·dictionary-array-valid·put·requestbody·content·application-json·schema·additionalproperties
name: DictionaryOfpaths·1dxz488·dictionary-array-valid·put·requestbody·content·application-json·schema·additionalproperties
description: 'An array of array of strings {"0": ["1", "2", "3"], "1": ["4", "5", "6"], "2": ["7", "8", "9"]}'
protocol: !<!Protocols> {}
- !<!DictionarySchema> &ref_55

Просмотреть файл

@ -4537,7 +4537,7 @@ namespace body_dictionary
return message;
}
/// <summary> Put An array of array of strings {&quot;0&quot;: [&quot;1&quot;, &quot;2&quot;, &quot;3&quot;], &quot;1&quot;: [&quot;4&quot;, &quot;5&quot;, &quot;6&quot;], &quot;2&quot;: [&quot;7&quot;, &quot;8&quot;, &quot;9&quot;]}. </summary>
/// <param name="arrayBody"> The DictionaryOfpaths·dictionary-array-valid·put·requestbody·content·application-json·schema·additionalproperties to use. </param>
/// <param name="arrayBody"> The DictionaryOfpaths·1dxz488·dictionary-array-valid·put·requestbody·content·application-json·schema·additionalproperties to use. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
public async ValueTask<Response> PutArrayValidAsync(IDictionary<string, ICollection<string>> arrayBody, CancellationToken cancellationToken = default)
{
@ -4567,7 +4567,7 @@ namespace body_dictionary
}
}
/// <summary> Put An array of array of strings {&quot;0&quot;: [&quot;1&quot;, &quot;2&quot;, &quot;3&quot;], &quot;1&quot;: [&quot;4&quot;, &quot;5&quot;, &quot;6&quot;], &quot;2&quot;: [&quot;7&quot;, &quot;8&quot;, &quot;9&quot;]}. </summary>
/// <param name="arrayBody"> The DictionaryOfpaths·dictionary-array-valid·put·requestbody·content·application-json·schema·additionalproperties to use. </param>
/// <param name="arrayBody"> The DictionaryOfpaths·1dxz488·dictionary-array-valid·put·requestbody·content·application-json·schema·additionalproperties to use. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
public Response PutArrayValid(IDictionary<string, ICollection<string>> arrayBody, CancellationToken cancellationToken = default)
{

Просмотреть файл

@ -241,13 +241,13 @@ schemas: !<!Schemas>
language: !<!Languages>
default:
name: Dictionary of string
description: Dictionary of <components·schemas·resource·properties·tags·additionalproperties>
description: Dictionary of <components·13oyrf9·schemas·resource·properties·tags·additionalproperties>
protocol: !<!Protocols> {}
serializedName: tags
language: !<!Languages>
default:
name: tags
description: Dictionary of <components·schemas·resource·properties·tags·additionalproperties>
description: Dictionary of <components·13oyrf9·schemas·resource·properties·tags·additionalproperties>
originalName: tags
protocol: !<!Protocols> {}
- !<!Property>
@ -620,7 +620,7 @@ schemas: !<!Schemas>
serializedName: '@odata.value'
language: !<!Languages>
default:
name: odataValue
name: OdataValue
description: URL value.
originalName: '@odata.value'
protocol: !<!Protocols> {}
@ -726,7 +726,7 @@ schemas: !<!Schemas>
serializedName: '@odata.value'
language: !<!Languages>
default:
name: odataValue
name: OdataValue
description: URL value.
originalName: '@odata.value'
protocol: !<!Protocols> {}
@ -761,7 +761,7 @@ schemas: !<!Schemas>
serializedName: '@odata.value'
language: !<!Languages>
default:
name: odataValue
name: OdataValue
description: URL value.
originalName: '@odata.value'
protocol: !<!Protocols> {}

Просмотреть файл

@ -14,7 +14,7 @@ namespace model_flattening.Models
public string Id { get; internal set; }
/// <summary> Resource Type. </summary>
public string Type { get; internal set; }
/// <summary> Dictionary of &lt;components·schemas·resource·properties·tags·additionalproperties&gt;. </summary>
/// <summary> Dictionary of &lt;components·13oyrf9·schemas·resource·properties·tags·additionalproperties&gt;. </summary>
public IDictionary<string, string> Tags { get; set; }
/// <summary> Resource Location. </summary>
public string Location { get; set; }

Просмотреть файл

@ -1,8 +1,21 @@
# Tests AutoRest Configuration
``` yaml
require: $(this-folder)/../readme.md
require: $(this-folder)/../../readme.md
output-folder: $(this-folder)/$(title)
clear-output-folder: true
include-csproj: true
```
``` yaml
pipeline:
csharpproj:
input: modelerfour/identity
csharpproj/emitter:
input: csharpproj
scope: output-scope
csharpproj/emitter/command:
input:
- csharpgen/emitter
- csharpproj/emitter
run: dotnet build $(title).csproj --verbosity quiet /nologo
```

6
test/TestServerProjects/xml-service/CodeModel.yaml сгенерированный
Просмотреть файл

@ -903,14 +903,14 @@ schemas: !<!Schemas>
language: !<!Languages>
default:
name: Dictionary of string
description: Dictionary of <paths·xml-headers·get·responses·200·headers·custom_header·schema>
description: Dictionary of <paths·1uz2c5v·xml-headers·get·responses·200·headers·custom_header·schema>
protocol: !<!Protocols> {}
required: false
serializedName: Metadata
language: !<!Languages>
default:
name: Metadata
description: Dictionary of <paths·xml-headers·get·responses·200·headers·custom_header·schema>
description: Dictionary of <paths·1uz2c5v·xml-headers·get·responses·200·headers·custom_header·schema>
originalName: Metadata
protocol: !<!Protocols> {}
language: !<!Languages>
@ -2390,7 +2390,7 @@ schemas: !<!Schemas>
language: !<!Languages>
default:
name: Metadata
description: Dictionary of <paths·xml-headers·get·responses·200·headers·custom_header·schema>
description: Dictionary of <paths·1uz2c5v·xml-headers·get·responses·200·headers·custom_header·schema>
originalName: Metadata
protocol: !<!Protocols> {}
serialization:

Просмотреть файл

@ -15,7 +15,7 @@ namespace xml_service.Models
public string Snapshot { get; set; }
/// <summary> Properties of a blob. </summary>
public BlobProperties Properties { get; set; } = new BlobProperties();
/// <summary> Dictionary of &lt;paths·xml-headers·get·responses·200·headers·custom_header·schema&gt;. </summary>
/// <summary> Dictionary of &lt;paths·1uz2c5v·xml-headers·get·responses·200·headers·custom_header·schema&gt;. </summary>
public IDictionary<string, string> Metadata { get; set; }
}
}

Просмотреть файл

@ -13,7 +13,7 @@ namespace xml_service.Models
public string Name { get; set; }
/// <summary> Properties of a container. </summary>
public ContainerProperties Properties { get; set; } = new ContainerProperties();
/// <summary> Dictionary of &lt;paths·xml-headers·get·responses·200·headers·custom_header·schema&gt;. </summary>
/// <summary> Dictionary of &lt;paths·1uz2c5v·xml-headers·get·responses·200·headers·custom_header·schema&gt;. </summary>
public IDictionary<string, string> Metadata { get; set; }
}
}