Update m4 4.13.346 (#732)
This commit is contained in:
Родитель
87e53c3c33
Коммит
2504423e19
|
@ -116,16 +116,18 @@ if (!($Exclude -contains "SmokeTests"))
|
|||
{
|
||||
foreach ($input in Get-Content (Join-Path $PSScriptRoot "SmokeTestInputs.txt"))
|
||||
{
|
||||
if ($input -match "^[^#].*?specification/([\w-]+(/[\w-]+)+)/readme.md")
|
||||
if ($input -match "^(?<input>[^#].*?specification/(?<name>[\w-]+(/[\w-]+)+)/readme.md)(:(?<args>.*))?")
|
||||
{
|
||||
$projectName = $Matches[1].Replace("/", "-");
|
||||
$input = $Matches["input"]
|
||||
$args = $Matches["args"]
|
||||
$projectName = $Matches["name"].Replace("/", "-");
|
||||
|
||||
$projectDirectory = Join-Path $repoRoot 'samples' 'smoketests' $projectName
|
||||
|
||||
$swaggerDefinitions[$projectName] = @{
|
||||
'projectName'=$projectName;
|
||||
'output'=$projectDirectory;
|
||||
'arguments'="--require=$configurationPath $input"
|
||||
'arguments'="--require=$configurationPath $args $input"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -67,13 +67,13 @@ https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b27
|
|||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/cognitiveservices/data-plane/WebSearch/readme.md - https://github.com/Azure/autorest/issues/3498
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/cognitiveservices/resource-manager/readme.md
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/commerce/resource-manager/readme.md - https://github.com/Azure/autorest.modelerfour/issues/257
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/compute/resource-manager/readme.md - https://github.com/Azure/autorest.modelerfour/issues/257
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/compute/resource-manager/readme.md
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/consumption/resource-manager/readme.md
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/containerinstance/resource-manager/readme.md - https://github.com/Azure/autorest.modelerfour/issues/257
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/containerregistry/data-plane/readme.md - https://github.com/Azure/autorest.csharp/issues/734
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/containerregistry/resource-manager/readme.md - https://github.com/Azure/autorest.modelerfour/issues/257
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/containerservice/resource-manager/readme.md - https://github.com/Azure/autorest.modelerfour/issues/257
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/cosmos-db/resource-manager/readme.md - https://github.com/Azure/autorest.modelerfour/issues/257
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/cosmos-db/resource-manager/readme.md:--modelerfour.lenient-model-deduplication
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/cost-management/resource-manager/readme.md - https://github.com/Azure/autorest.modelerfour/issues/283
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/customer-insights/resource-manager/readme.md
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/customerlockbox/resource-manager/readme.md - https://github.com/Azure/autorest.modelerfour/issues/257
|
||||
|
@ -145,7 +145,7 @@ https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b27
|
|||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/migrateprojects/resource-manager/readme.md
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/mixedreality/resource-manager/readme.md - https://github.com/Azure/autorest.modelerfour/issues/283
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/monitor/data-plane/readme.md
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/monitor/resource-manager/readme.md - https://github.com/Azure/autorest.modelerfour/issues/257
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/monitor/resource-manager/readme.md
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/msi/resource-manager/readme.md
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/mysql/resource-manager/readme.md - https://github.com/Azure/autorest.modelerfour/issues/257
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/netapp/resource-manager/readme.md
|
||||
|
@ -170,7 +170,7 @@ https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b27
|
|||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/reservations/resource-manager/readme.md
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/resourcegraph/resource-manager/readme.md
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/resourcehealth/resource-manager/readme.md
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/resources/resource-manager/readme.md - https://github.com/Azure/autorest.modelerfour/issues/283
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/resources/resource-manager/readme.md:--tag=package-resources-2019-10
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/scheduler/resource-manager/readme.md - https://github.com/Azure/autorest.csharp/issues/660
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/search/data-plane/Azure.Search/readme.md
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/search/data-plane/Microsoft.Azure.Search.Data/readme.md
|
||||
|
@ -186,7 +186,7 @@ https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b27
|
|||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/servicefabricmesh/resource-manager/readme.md - https://github.com/Azure/autorest.modelerfour/issues/257
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/signalr/resource-manager/readme.md
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/softwareplan/resource-manager/readme.md
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/sql/resource-manager/readme.md - https://github.com/Azure/autorest.modelerfour/issues/257
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/sql/resource-manager/readme.md - https://github.com/Azure/autorest.modelerfour/issues/285
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/sqlvirtualmachine/resource-manager/readme.md
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/storage/data-plane/readme.md - https://github.com/Azure/autorest.modelerfour/issues/257
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/storage/resource-manager/readme.md
|
||||
|
@ -201,12 +201,12 @@ https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b27
|
|||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/synapse/data-plane/readme.md
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/synapse/resource-manager/readme.md
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/timeseriesinsights/data-plane/readme.md
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/timeseriesinsights/resource-manager/readme.md
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/timeseriesinsights/resource-manager/readme.md
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/trafficmanager/resource-manager/readme.md
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/visualstudio/resource-manager/readme.md
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/vmwarecloudsimple/resource-manager/readme.md
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/vmwarevirtustream/resource-manager/readme.md
|
||||
#https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/web/resource-manager/readme.md - https://github.com/Azure/autorest.modelerfour/issues/283
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/web/resource-manager/readme.md
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/windowsesu/resource-manager/readme.md
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/windowsiot/resource-manager/readme.md
|
||||
https://github.com/Azure/azure-rest-api-specs/blob/d9cf7c7ed3d674ebd482836e82b274014245ae67/specification/workloadmonitor/resource-manager/readme.md
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -83,8 +83,8 @@ namespace CognitiveSearch.Models
|
|||
private const string PlLuceneValue = "pl.lucene";
|
||||
private const string PtBrMicrosoftValue = "pt-BR.microsoft";
|
||||
private const string PtBrLuceneValue = "pt-BR.lucene";
|
||||
private const string PtMicrosoftValue = "pt-PT.microsoft";
|
||||
private const string PtLuceneValue = "pt-PT.lucene";
|
||||
private const string PtPtMicrosoftValue = "pt-PT.microsoft";
|
||||
private const string PtPtLuceneValue = "pt-PT.lucene";
|
||||
private const string PaMicrosoftValue = "pa.microsoft";
|
||||
private const string RoMicrosoftValue = "ro.microsoft";
|
||||
private const string RoLuceneValue = "ro.lucene";
|
||||
|
@ -240,9 +240,9 @@ namespace CognitiveSearch.Models
|
|||
/// <summary> Lucene analyzer for Portuguese (Brazil). </summary>
|
||||
public static AnalyzerName PtBrLucene { get; } = new AnalyzerName(PtBrLuceneValue);
|
||||
/// <summary> Microsoft analyzer for Portuguese (Portugal). </summary>
|
||||
public static AnalyzerName PtMicrosoft { get; } = new AnalyzerName(PtMicrosoftValue);
|
||||
public static AnalyzerName PtPtMicrosoft { get; } = new AnalyzerName(PtPtMicrosoftValue);
|
||||
/// <summary> Lucene analyzer for Portuguese (Portugal). </summary>
|
||||
public static AnalyzerName PtLucene { get; } = new AnalyzerName(PtLuceneValue);
|
||||
public static AnalyzerName PtPtLucene { get; } = new AnalyzerName(PtPtLuceneValue);
|
||||
/// <summary> Microsoft analyzer for Punjabi. </summary>
|
||||
public static AnalyzerName PaMicrosoft { get; } = new AnalyzerName(PaMicrosoftValue);
|
||||
/// <summary> Microsoft analyzer for Romanian. </summary>
|
||||
|
|
|
@ -38,7 +38,7 @@ namespace CognitiveSearch.Models
|
|||
private const string KoValue = "ko";
|
||||
private const string NoValue = "no";
|
||||
private const string PlValue = "pl";
|
||||
private const string PtValue = "pt-PT";
|
||||
private const string PtPTValue = "pt-PT";
|
||||
private const string PtBRValue = "pt-BR";
|
||||
private const string RuValue = "ru";
|
||||
private const string EsValue = "es";
|
||||
|
@ -80,7 +80,7 @@ namespace CognitiveSearch.Models
|
|||
/// <summary> Polish. </summary>
|
||||
public static EntityRecognitionSkillLanguage Pl { get; } = new EntityRecognitionSkillLanguage(PlValue);
|
||||
/// <summary> Portuguese (Portugal). </summary>
|
||||
public static EntityRecognitionSkillLanguage Pt { get; } = new EntityRecognitionSkillLanguage(PtValue);
|
||||
public static EntityRecognitionSkillLanguage PtPT { get; } = new EntityRecognitionSkillLanguage(PtPTValue);
|
||||
/// <summary> Portuguese (Brazil). </summary>
|
||||
public static EntityRecognitionSkillLanguage PtBR { get; } = new EntityRecognitionSkillLanguage(PtBRValue);
|
||||
/// <summary> Russian. </summary>
|
||||
|
|
|
@ -32,7 +32,7 @@ namespace CognitiveSearch.Models
|
|||
private const string KoValue = "ko";
|
||||
private const string NoValue = "no";
|
||||
private const string PlValue = "pl";
|
||||
private const string PtValue = "pt-PT";
|
||||
private const string PtPTValue = "pt-PT";
|
||||
private const string PtBRValue = "pt-BR";
|
||||
private const string RuValue = "ru";
|
||||
private const string EsValue = "es";
|
||||
|
@ -61,7 +61,7 @@ namespace CognitiveSearch.Models
|
|||
/// <summary> Polish. </summary>
|
||||
public static KeyPhraseExtractionSkillLanguage Pl { get; } = new KeyPhraseExtractionSkillLanguage(PlValue);
|
||||
/// <summary> Portuguese (Portugal). </summary>
|
||||
public static KeyPhraseExtractionSkillLanguage Pt { get; } = new KeyPhraseExtractionSkillLanguage(PtValue);
|
||||
public static KeyPhraseExtractionSkillLanguage PtPT { get; } = new KeyPhraseExtractionSkillLanguage(PtPTValue);
|
||||
/// <summary> Portuguese (Brazil). </summary>
|
||||
public static KeyPhraseExtractionSkillLanguage PtBR { get; } = new KeyPhraseExtractionSkillLanguage(PtBRValue);
|
||||
/// <summary> Russian. </summary>
|
||||
|
|
|
@ -11,13 +11,13 @@ using Azure.Core;
|
|||
|
||||
namespace CognitiveSearch.Models
|
||||
{
|
||||
public partial class IndexSearchError
|
||||
public partial class SearchErrorAutoGenerated
|
||||
{
|
||||
internal static IndexSearchError DeserializeIndexSearchError(JsonElement element)
|
||||
internal static SearchErrorAutoGenerated DeserializeSearchErrorAutoGenerated(JsonElement element)
|
||||
{
|
||||
string code = default;
|
||||
string message = default;
|
||||
IReadOnlyList<IndexSearchError> details = default;
|
||||
IReadOnlyList<SearchErrorAutoGenerated> details = default;
|
||||
foreach (var property in element.EnumerateObject())
|
||||
{
|
||||
if (property.NameEquals("code"))
|
||||
|
@ -40,7 +40,7 @@ namespace CognitiveSearch.Models
|
|||
{
|
||||
continue;
|
||||
}
|
||||
List<IndexSearchError> array = new List<IndexSearchError>();
|
||||
List<SearchErrorAutoGenerated> array = new List<SearchErrorAutoGenerated>();
|
||||
foreach (var item in property.Value.EnumerateArray())
|
||||
{
|
||||
if (item.ValueKind == JsonValueKind.Null)
|
||||
|
@ -49,14 +49,14 @@ namespace CognitiveSearch.Models
|
|||
}
|
||||
else
|
||||
{
|
||||
array.Add(DeserializeIndexSearchError(item));
|
||||
array.Add(DeserializeSearchErrorAutoGenerated(item));
|
||||
}
|
||||
}
|
||||
details = array;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
return new IndexSearchError(code, message, details);
|
||||
return new SearchErrorAutoGenerated(code, message, details);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -11,11 +11,11 @@ using System.Collections.Generic;
|
|||
namespace CognitiveSearch.Models
|
||||
{
|
||||
/// <summary> Describes an error condition for the Azure Cognitive Search API. </summary>
|
||||
public partial class IndexSearchError
|
||||
public partial class SearchErrorAutoGenerated
|
||||
{
|
||||
/// <summary> Initializes a new instance of IndexSearchError. </summary>
|
||||
/// <summary> Initializes a new instance of SearchErrorAutoGenerated. </summary>
|
||||
/// <param name="message"> A human-readable representation of the error. </param>
|
||||
internal IndexSearchError(string message)
|
||||
internal SearchErrorAutoGenerated(string message)
|
||||
{
|
||||
if (message == null)
|
||||
{
|
||||
|
@ -25,11 +25,11 @@ namespace CognitiveSearch.Models
|
|||
Message = message;
|
||||
}
|
||||
|
||||
/// <summary> Initializes a new instance of IndexSearchError. </summary>
|
||||
/// <summary> Initializes a new instance of SearchErrorAutoGenerated. </summary>
|
||||
/// <param name="code"> One of a server-defined set of error codes. </param>
|
||||
/// <param name="message"> A human-readable representation of the error. </param>
|
||||
/// <param name="details"> An array of details about specific errors that led to this reported error. </param>
|
||||
internal IndexSearchError(string code, string message, IReadOnlyList<IndexSearchError> details)
|
||||
internal SearchErrorAutoGenerated(string code, string message, IReadOnlyList<SearchErrorAutoGenerated> details)
|
||||
{
|
||||
Code = code;
|
||||
Message = message;
|
||||
|
@ -41,6 +41,6 @@ namespace CognitiveSearch.Models
|
|||
/// <summary> A human-readable representation of the error. </summary>
|
||||
public string Message { get; }
|
||||
/// <summary> An array of details about specific errors that led to this reported error. </summary>
|
||||
public IReadOnlyList<IndexSearchError> Details { get; }
|
||||
public IReadOnlyList<SearchErrorAutoGenerated> Details { get; }
|
||||
}
|
||||
}
|
|
@ -31,7 +31,7 @@ namespace CognitiveSearch.Models
|
|||
private const string ItValue = "it";
|
||||
private const string NoValue = "no";
|
||||
private const string PlValue = "pl";
|
||||
private const string PtValue = "pt-PT";
|
||||
private const string PtPTValue = "pt-PT";
|
||||
private const string RuValue = "ru";
|
||||
private const string EsValue = "es";
|
||||
private const string SvValue = "sv";
|
||||
|
@ -58,7 +58,7 @@ namespace CognitiveSearch.Models
|
|||
/// <summary> Polish. </summary>
|
||||
public static SentimentSkillLanguage Pl { get; } = new SentimentSkillLanguage(PlValue);
|
||||
/// <summary> Portuguese (Portugal). </summary>
|
||||
public static SentimentSkillLanguage Pt { get; } = new SentimentSkillLanguage(PtValue);
|
||||
public static SentimentSkillLanguage PtPT { get; } = new SentimentSkillLanguage(PtPTValue);
|
||||
/// <summary> Russian. </summary>
|
||||
public static SentimentSkillLanguage Ru { get; } = new SentimentSkillLanguage(RuValue);
|
||||
/// <summary> Spanish. </summary>
|
||||
|
|
|
@ -10,15 +10,6 @@ input-file:
|
|||
- https://github.com/Azure/azure-rest-api-specs/blob/e606243e5297312781dd7dbfd7ab76d2329cc088/specification/search/data-plane/Azure.Search/preview/2019-05-06-preview/searchindex.json
|
||||
- https://github.com/Azure/azure-rest-api-specs/blob/e606243e5297312781dd7dbfd7ab76d2329cc088/specification/search/data-plane/Azure.Search/preview/2019-05-06-preview/searchservice.json
|
||||
namespace: Azure.CognitiveSearch
|
||||
```
|
||||
|
||||
## Swagger workarounds
|
||||
|
||||
SearchError is duplicated between two swaggers, rename one of them
|
||||
|
||||
``` yaml
|
||||
directive:
|
||||
- from: searchindex.json
|
||||
where: $.definitions.SearchError
|
||||
transform: $["x-ms-client-name"] = "IndexSearchError"
|
||||
modelerfour:
|
||||
lenient-model-deduplication: true
|
||||
```
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -35,6 +35,7 @@ namespace AutoRest.CSharp.V3.Generation.Types
|
|||
typeof(IDictionary<,>),
|
||||
isNullable,
|
||||
new CSharpType(typeof(string)), CreateType(dictionary.ElementType, false)),
|
||||
CredentialSchema credentialSchema => new CSharpType(typeof(string), isNullable),
|
||||
NumberSchema number => new CSharpType(ToFrameworkNumericType(number), isNullable),
|
||||
_ when ToFrameworkType(schema.Type) is Type type => new CSharpType(type, isNullable),
|
||||
_ => _library.FindTypeForSchema(schema).Type.WithNullable(isNullable)
|
||||
|
|
|
@ -436,16 +436,12 @@ namespace AutoRest.CSharp.V3.Output.Models.Types
|
|||
// Enumerates all schemas that were merged into this one, excludes the inherited schema
|
||||
private IEnumerable<ObjectSchema> GetCombinedSchemas()
|
||||
{
|
||||
var inherited = EnumerateHierarchy().Select(type => type._objectSchema).ToHashSet();
|
||||
|
||||
yield return _objectSchema;
|
||||
|
||||
foreach (var parent in _objectSchema.Parents!.All)
|
||||
{
|
||||
if (parent is ObjectSchema objectParent && !inherited.Contains(objectParent))
|
||||
if (parent is ObjectSchema objectParent)
|
||||
{
|
||||
// WORKAROUND: https://github.com/Azure/autorest.modelerfour/issues/257
|
||||
inherited.Add(objectParent);
|
||||
yield return objectParent;
|
||||
}
|
||||
}
|
||||
|
@ -468,24 +464,6 @@ namespace AutoRest.CSharp.V3.Output.Models.Types
|
|||
|
||||
foreach (var objectSchema in objectSchemas)
|
||||
{
|
||||
bool skip = false;
|
||||
|
||||
// Filter transitive schemas
|
||||
// https://github.com/Azure/autorest.modelerfour/issues/258
|
||||
foreach (var otherSchema in objectSchemas)
|
||||
{
|
||||
if (otherSchema.Parents!.All.Contains(objectSchema))
|
||||
{
|
||||
skip = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (skip)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
// Take first schema or the one with discriminator
|
||||
selectedSchema ??= objectSchema;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
## Configuration
|
||||
```yaml
|
||||
use-extension:
|
||||
"@autorest/modelerfour": "4.13.312"
|
||||
"@autorest/modelerfour": "4.13.351"
|
||||
modelerfour:
|
||||
always-create-content-type-parameter: true
|
||||
flatten-models: true
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -4,215 +4,215 @@ info: !<!Info>
|
|||
title: AutoRest Parameter Flattening
|
||||
schemas: !<!Schemas>
|
||||
strings:
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
header: originalHeader
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_3
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
summary: A set of tags.
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: RenamedPropertyString
|
||||
description: A description about the set of tags.
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
header: originalHeader
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_3
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
summary: A set of tags.
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: RenamedPropertyString
|
||||
description: A description about the set of tags.
|
||||
protocol: !<!Protocols> {}
|
||||
constants:
|
||||
- !<!ConstantSchema> &ref_5
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ConstantSchema> &ref_5
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
dictionaries:
|
||||
- !<!DictionarySchema> &ref_2
|
||||
type: dictionary
|
||||
elementType: *ref_1
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: RenamedProperty
|
||||
description: A description about the set of tags.
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!DictionarySchema> &ref_2
|
||||
type: dictionary
|
||||
elementType: *ref_1
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: RenamedProperty
|
||||
description: A description about the set of tags.
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_6
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
required: false
|
||||
serializedName: originalProperty
|
||||
- !<!ObjectSchema> &ref_6
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
required: false
|
||||
serializedName: originalProperty
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: renamedProperty
|
||||
description: A description about the set of tags.
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_3
|
||||
required: false
|
||||
serializedName: originalPropertyString
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: renamedPropertyString
|
||||
description: A description about the set of tags.
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- input
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: renamedProperty
|
||||
description: A description about the set of tags.
|
||||
name: RenamedSchema
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_3
|
||||
required: false
|
||||
serializedName: originalPropertyString
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: renamedPropertyString
|
||||
description: A description about the set of tags.
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- input
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: RenamedSchema
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_4
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: ''
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_4
|
||||
- !<!Parameter> &ref_8
|
||||
schema: *ref_1
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: renamedPathParameter
|
||||
description: ''
|
||||
serializedName: originalPathParameter
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: path
|
||||
- !<!Parameter> &ref_9
|
||||
schema: *ref_1
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: renamedQueryParameter
|
||||
description: ''
|
||||
serializedName: originalQueryParameter
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: query
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_5
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_7
|
||||
schema: *ref_6
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: renamedBodyParameter
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_7
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: '/originalOperation/{originalPathParameter}'
|
||||
method: patch
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters:
|
||||
- *ref_8
|
||||
- *ref_9
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_6
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
headers:
|
||||
- !<!HttpHeader>
|
||||
schema: *ref_1
|
||||
header: originalHeader
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
- !<!Parameter> &ref_4
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: RenamedOperation
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: ''
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_4
|
||||
- !<!Parameter> &ref_8
|
||||
schema: *ref_1
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: renamedPathParameter
|
||||
description: ''
|
||||
serializedName: originalPathParameter
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: path
|
||||
- !<!Parameter> &ref_9
|
||||
schema: *ref_1
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: renamedQueryParameter
|
||||
description: ''
|
||||
serializedName: originalQueryParameter
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: query
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_5
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_7
|
||||
schema: *ref_6
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: renamedBodyParameter
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_7
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: '/originalOperation/{originalPathParameter}'
|
||||
method: patch
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters:
|
||||
- *ref_8
|
||||
- *ref_9
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_6
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
headers:
|
||||
- !<!HttpHeader>
|
||||
schema: *ref_1
|
||||
header: originalHeader
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: RenamedOperation
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
security: !<!Security>
|
||||
authenticationRequired: false
|
||||
language: !<!Languages>
|
||||
|
|
|
@ -4,395 +4,365 @@ info: !<!Info>
|
|||
title: Schema mapping
|
||||
schemas: !<!Schemas>
|
||||
strings:
|
||||
- !<!StringSchema> &ref_17
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: BaseClassProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_12
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: BaseClassWithDiscriminatorProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_9
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SomePropertiesSomeProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_10
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SomePropertiesSomeOtherProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_14
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatInheritsFromBaseClassAndRedefinesAPropertyBaseClassProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_18
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatAlsoDefinesBaseClassPropertyBaseClassProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_5
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatInheritsFromSomePropertiesAndBaseClassAndRedefinesAPropertyBaseClassProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_1
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
children: !<!Relations>
|
||||
all:
|
||||
- !<!ObjectSchema> &ref_0
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!StringSchema> &ref_15
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
children: !<!Relations>
|
||||
all:
|
||||
- !<!ObjectSchema> &ref_11
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: BaseClassProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_11
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: BaseClassWithDiscriminatorProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_8
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SomePropertiesSomeProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_9
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SomePropertiesSomeOtherProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema>
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatInheritsFromBaseClassAndRedefinesAPropertyBaseClassProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_16
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatAlsoDefinesBaseClassPropertyBaseClassProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema>
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatInheritsFromSomePropertiesAndBaseClassAndRedefinesAPropertyBaseClassProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_1
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
children: !<!Relations>
|
||||
all:
|
||||
- !<!ObjectSchema> &ref_0
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
discriminatorValue: ClassThatInheritsFromBaseClassWithDiscriminator
|
||||
parents: !<!Relations>
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
children: !<!Relations>
|
||||
all:
|
||||
- *ref_0
|
||||
- *ref_1
|
||||
immediate:
|
||||
- *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatInheritsFromBaseClassWithDiscriminator
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ObjectSchema> &ref_3
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
discriminatorValue: ClassThatInheritsFromBaseClassWithDiscriminatorAndSomeProperties
|
||||
parents: !<!Relations>
|
||||
all:
|
||||
- *ref_0
|
||||
- !<!ObjectSchema> &ref_2
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
children: !<!Relations>
|
||||
all:
|
||||
- !<!ObjectSchema> &ref_7
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ObjectSchema> &ref_10
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parents: !<!Relations>
|
||||
all:
|
||||
discriminatorValue: ClassThatInheritsFromBaseClassWithDiscriminator
|
||||
parents: !<!Relations>
|
||||
all:
|
||||
- *ref_0
|
||||
- *ref_1
|
||||
- *ref_2
|
||||
- *ref_1
|
||||
- *ref_2
|
||||
immediate:
|
||||
- *ref_1
|
||||
- *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatInheritsFromBaseClassAndSomeProperties
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ObjectSchema> &ref_8
|
||||
type: object
|
||||
apiVersions:
|
||||
immediate:
|
||||
- *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatInheritsFromBaseClassWithDiscriminator
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ObjectSchema> &ref_3
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parents: !<!Relations>
|
||||
all:
|
||||
- *ref_1
|
||||
- *ref_2
|
||||
- *ref_1
|
||||
- *ref_2
|
||||
immediate:
|
||||
- *ref_1
|
||||
- *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatInheritsFromBaseClassAndSomePropertiesWithBaseClassOverride
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- *ref_3
|
||||
- !<!ObjectSchema> &ref_4
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
children: !<!Relations>
|
||||
all:
|
||||
- !<!ObjectSchema> &ref_6
|
||||
discriminatorValue: ClassThatInheritsFromBaseClassWithDiscriminatorAndSomeProperties
|
||||
parents: !<!Relations>
|
||||
all:
|
||||
- *ref_0
|
||||
- !<!ObjectSchema> &ref_2
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parents: !<!Relations>
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
children: !<!Relations>
|
||||
all:
|
||||
- *ref_4
|
||||
- *ref_2
|
||||
- *ref_1
|
||||
- *ref_2
|
||||
- *ref_1
|
||||
- !<!ObjectSchema> &ref_6
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parents: !<!Relations>
|
||||
all:
|
||||
- *ref_1
|
||||
- *ref_2
|
||||
immediate:
|
||||
- *ref_1
|
||||
- *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatInheritsFromBaseClassAndSomeProperties
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ObjectSchema> &ref_7
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parents: !<!Relations>
|
||||
all:
|
||||
- *ref_1
|
||||
- *ref_2
|
||||
immediate:
|
||||
- *ref_1
|
||||
- *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatInheritsFromBaseClassAndSomePropertiesWithBaseClassOverride
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- *ref_3
|
||||
- !<!ObjectSchema> &ref_4
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
children: !<!Relations>
|
||||
all:
|
||||
- !<!ObjectSchema> &ref_5
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parents: !<!Relations>
|
||||
all:
|
||||
- *ref_4
|
||||
- *ref_2
|
||||
- *ref_1
|
||||
immediate:
|
||||
- *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatInheritsFromSomePropertiesAndBaseClassAndRedefinesAProperty
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
immediate:
|
||||
- *ref_5
|
||||
parents: !<!Relations>
|
||||
all:
|
||||
- *ref_2
|
||||
- *ref_1
|
||||
immediate:
|
||||
- *ref_2
|
||||
- *ref_1
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatInheritsFromSomePropertiesAndBaseClass
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- *ref_5
|
||||
immediate:
|
||||
- *ref_4
|
||||
- *ref_6
|
||||
- *ref_7
|
||||
- *ref_3
|
||||
- *ref_4
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_5
|
||||
serializedName: BaseClassProperty
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: baseClassProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_8
|
||||
serializedName: SomeProperty
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: someProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_9
|
||||
serializedName: SomeOtherProperty
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: someOtherProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatInheritsFromSomePropertiesAndBaseClassAndRedefinesAProperty
|
||||
name: SomeProperties
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
immediate:
|
||||
- *ref_6
|
||||
parents: !<!Relations>
|
||||
all:
|
||||
- *ref_2
|
||||
- *ref_1
|
||||
immediate:
|
||||
- *ref_0
|
||||
- *ref_2
|
||||
- *ref_1
|
||||
immediate:
|
||||
- *ref_2
|
||||
- *ref_1
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatInheritsFromSomePropertiesAndBaseClass
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- *ref_6
|
||||
- *ref_6
|
||||
immediate:
|
||||
- *ref_7
|
||||
- *ref_8
|
||||
- *ref_3
|
||||
- *ref_4
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_9
|
||||
serializedName: SomeProperty
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: someProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_10
|
||||
serializedName: SomeOtherProperty
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: someOtherProperty
|
||||
name: ClassThatInheritsFromBaseClassWithDiscriminatorAndSomeProperties
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
immediate:
|
||||
- *ref_10
|
||||
- *ref_3
|
||||
discriminator: !<!Discriminator>
|
||||
all:
|
||||
ClassThatInheritsFromBaseClassWithDiscriminator: *ref_10
|
||||
ClassThatInheritsFromBaseClassWithDiscriminatorAndSomeProperties: *ref_3
|
||||
immediate:
|
||||
ClassThatInheritsFromBaseClassWithDiscriminator: *ref_10
|
||||
ClassThatInheritsFromBaseClassWithDiscriminatorAndSomeProperties: *ref_3
|
||||
property: !<!Property> &ref_12
|
||||
schema: *ref_11
|
||||
isDiscriminator: true
|
||||
required: true
|
||||
serializedName: DiscriminatorProperty
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SomeProperties
|
||||
name: discriminatorProperty
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- *ref_1
|
||||
- *ref_0
|
||||
- *ref_2
|
||||
discriminatorValue: BaseClassWithDiscriminator
|
||||
parents: !<!Relations>
|
||||
all:
|
||||
- *ref_1
|
||||
immediate:
|
||||
- *ref_0
|
||||
- *ref_2
|
||||
- *ref_1
|
||||
properties:
|
||||
- *ref_12
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatInheritsFromBaseClassWithDiscriminatorAndSomeProperties
|
||||
name: BaseClassWithDiscriminator
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
immediate:
|
||||
- *ref_11
|
||||
- *ref_3
|
||||
discriminator: !<!Discriminator>
|
||||
all:
|
||||
ClassThatInheritsFromBaseClassWithDiscriminator: *ref_11
|
||||
ClassThatInheritsFromBaseClassWithDiscriminatorAndSomeProperties: *ref_3
|
||||
immediate:
|
||||
ClassThatInheritsFromBaseClassWithDiscriminator: *ref_11
|
||||
ClassThatInheritsFromBaseClassWithDiscriminatorAndSomeProperties: *ref_3
|
||||
property: !<!Property> &ref_13
|
||||
schema: *ref_12
|
||||
isDiscriminator: true
|
||||
required: true
|
||||
serializedName: DiscriminatorProperty
|
||||
- *ref_6
|
||||
- *ref_7
|
||||
- !<!ObjectSchema> &ref_13
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parents: !<!Relations>
|
||||
all:
|
||||
- *ref_1
|
||||
immediate:
|
||||
- *ref_1
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: discriminatorProperty
|
||||
name: ClassThatInheritsFromBaseClass
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
discriminatorValue: BaseClassWithDiscriminator
|
||||
parents: !<!Relations>
|
||||
all:
|
||||
- *ref_1
|
||||
immediate:
|
||||
- *ref_1
|
||||
properties:
|
||||
- *ref_13
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: BaseClassWithDiscriminator
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- *ref_7
|
||||
- *ref_8
|
||||
- !<!ObjectSchema> &ref_15
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parents: !<!Relations>
|
||||
all:
|
||||
- *ref_1
|
||||
immediate:
|
||||
- *ref_1
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatInheritsFromBaseClass
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- *ref_11
|
||||
- *ref_3
|
||||
- !<!ObjectSchema> &ref_16
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parents: !<!Relations>
|
||||
all:
|
||||
- *ref_1
|
||||
immediate:
|
||||
- *ref_1
|
||||
properties:
|
||||
- *ref_10
|
||||
- *ref_3
|
||||
- !<!ObjectSchema> &ref_14
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parents: !<!Relations>
|
||||
all:
|
||||
- *ref_1
|
||||
immediate:
|
||||
- *ref_1
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatInheritsFromBaseClassAndRedefinesAProperty
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- *ref_4
|
||||
- *ref_5
|
||||
immediate:
|
||||
- *ref_0
|
||||
- *ref_6
|
||||
- *ref_7
|
||||
- *ref_13
|
||||
- *ref_14
|
||||
- *ref_4
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_14
|
||||
schema: *ref_15
|
||||
serializedName: BaseClassProperty
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: baseClassProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatInheritsFromBaseClassAndRedefinesAProperty
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- *ref_4
|
||||
- *ref_6
|
||||
- *ref_6
|
||||
immediate:
|
||||
- *ref_0
|
||||
- *ref_7
|
||||
- *ref_8
|
||||
- *ref_15
|
||||
- *ref_16
|
||||
- *ref_4
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_17
|
||||
serializedName: BaseClassProperty
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: baseClassProperty
|
||||
name: BaseClass
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: BaseClass
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- *ref_0
|
||||
- *ref_2
|
||||
- *ref_7
|
||||
- *ref_8
|
||||
- *ref_15
|
||||
- *ref_11
|
||||
- *ref_3
|
||||
- *ref_16
|
||||
- !<!ObjectSchema>
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_18
|
||||
serializedName: BaseClassProperty
|
||||
- *ref_0
|
||||
- *ref_2
|
||||
- *ref_6
|
||||
- *ref_7
|
||||
- *ref_13
|
||||
- *ref_10
|
||||
- *ref_3
|
||||
- *ref_14
|
||||
- !<!ObjectSchema>
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_16
|
||||
serializedName: BaseClassProperty
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: baseClassProperty
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: baseClassProperty
|
||||
name: ClassThatAlsoDefinesBaseClassProperty
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ClassThatAlsoDefinesBaseClassProperty
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- *ref_4
|
||||
- *ref_6
|
||||
- *ref_4
|
||||
- *ref_5
|
||||
operationGroups: []
|
||||
security: !<!Security>
|
||||
authenticationRequired: false
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -4,402 +4,402 @@ info: !<!Info>
|
|||
title: Serialization customization
|
||||
schemas: !<!Schemas>
|
||||
strings:
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ItemName
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
constants:
|
||||
- !<!ConstantSchema> &ref_10
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_11
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: !<!ArraySchema> &ref_3
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: !<!ObjectSchema> &ref_2
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: name
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ItemName
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
constants:
|
||||
- !<!ConstantSchema> &ref_10
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_11
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: !<!ArraySchema> &ref_3
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: !<!ObjectSchema> &ref_2
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: name
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: name
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- input
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Item
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: name
|
||||
description: ''
|
||||
name: AlwaysInitializeTestModelAlwaysInitializeList
|
||||
description: Array of Item
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- input
|
||||
- output
|
||||
required: false
|
||||
serializedName: AlwaysInitializeList
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Item
|
||||
name: alwaysInitializeList
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: AlwaysInitializeTestModelAlwaysInitializeList
|
||||
description: Array of Item
|
||||
protocol: !<!Protocols> {}
|
||||
required: false
|
||||
serializedName: AlwaysInitializeList
|
||||
- !<!Property>
|
||||
schema: !<!ArraySchema> &ref_4
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: AlwaysInitializeTestModelRequiredList
|
||||
description: Array of Item
|
||||
protocol: !<!Protocols> {}
|
||||
required: true
|
||||
serializedName: RequiredList
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: requiredList
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: !<!ArraySchema> &ref_5
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: AlwaysInitializeTestModelRequiredAlwaysInitializeList
|
||||
description: Array of Item
|
||||
protocol: !<!Protocols> {}
|
||||
required: true
|
||||
serializedName: RequiredAlwaysInitializeList
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: requiredAlwaysInitializeList
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: !<!ArraySchema> &ref_6
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: AlwaysInitializeTestModelDefaultList
|
||||
description: Array of Item
|
||||
protocol: !<!Protocols> {}
|
||||
required: false
|
||||
serializedName: DefaultList
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: defaultList
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
required: true
|
||||
serializedName: RequiredAlwaysInitializeObject
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: requiredAlwaysInitializeObject
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
required: false
|
||||
serializedName: AlwaysInitializeObject
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: alwaysInitializeObject
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
required: false
|
||||
serializedName: DefaultObject
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: defaultObject
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- input
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: alwaysInitializeList
|
||||
name: AlwaysInitializeTestModel
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: !<!ArraySchema> &ref_4
|
||||
type: array
|
||||
apiVersions:
|
||||
- *ref_2
|
||||
- !<!ObjectSchema> &ref_13
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: AlwaysInitializeTestModelRequiredList
|
||||
description: Array of Item
|
||||
protocol: !<!Protocols> {}
|
||||
required: true
|
||||
serializedName: RequiredList
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: !<!ArraySchema> &ref_7
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: EmptyAsUndefinedTestModelEmptyAsUndefinedList
|
||||
description: Array of Item
|
||||
protocol: !<!Protocols> {}
|
||||
serializedName: EmptyAsUndefinedList
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: emptyAsUndefinedList
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: !<!ArraySchema> &ref_8
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: EmptyAsUndefinedTestModelEmptyAsAlwaysInitializeList
|
||||
description: Array of Item
|
||||
protocol: !<!Protocols> {}
|
||||
serializedName: EmptyAsAlwaysInitializeList
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: emptyAsAlwaysInitializeList
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- input
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: requiredList
|
||||
name: EmptyAsUndefinedTestModel
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: !<!ArraySchema> &ref_5
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: AlwaysInitializeTestModelRequiredAlwaysInitializeList
|
||||
description: Array of Item
|
||||
protocol: !<!Protocols> {}
|
||||
required: true
|
||||
serializedName: RequiredAlwaysInitializeList
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: requiredAlwaysInitializeList
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: !<!ArraySchema> &ref_6
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: AlwaysInitializeTestModelDefaultList
|
||||
description: Array of Item
|
||||
protocol: !<!Protocols> {}
|
||||
required: false
|
||||
serializedName: DefaultList
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: defaultList
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
required: true
|
||||
serializedName: RequiredAlwaysInitializeObject
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: requiredAlwaysInitializeObject
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
required: false
|
||||
serializedName: AlwaysInitializeObject
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: alwaysInitializeObject
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
required: false
|
||||
serializedName: DefaultObject
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: defaultObject
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- input
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: AlwaysInitializeTestModel
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- *ref_2
|
||||
- !<!ObjectSchema> &ref_13
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: !<!ArraySchema> &ref_7
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: EmptyAsUndefinedTestModelEmptyAsUndefinedList
|
||||
description: Array of Item
|
||||
protocol: !<!Protocols> {}
|
||||
serializedName: EmptyAsUndefinedList
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: emptyAsUndefinedList
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: !<!ArraySchema> &ref_8
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: EmptyAsUndefinedTestModelEmptyAsAlwaysInitializeList
|
||||
description: Array of Item
|
||||
protocol: !<!Protocols> {}
|
||||
serializedName: EmptyAsAlwaysInitializeList
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: emptyAsAlwaysInitializeList
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- input
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: EmptyAsUndefinedTestModel
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
arrays:
|
||||
- *ref_3
|
||||
- *ref_4
|
||||
- *ref_5
|
||||
- *ref_6
|
||||
- *ref_7
|
||||
- *ref_8
|
||||
- *ref_3
|
||||
- *ref_4
|
||||
- *ref_5
|
||||
- *ref_6
|
||||
- *ref_7
|
||||
- *ref_8
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_9
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- !<!Parameter> &ref_9
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: ''
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_9
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_10
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
- !<!OperationGroup>
|
||||
$key: ''
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_9
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_10
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_12
|
||||
schema: *ref_11
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: model
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_12
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /op1
|
||||
method: patch
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_11
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_12
|
||||
schema: *ref_11
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: model
|
||||
name: Operation1
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_12
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /op1
|
||||
method: patch
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_11
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_9
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_10
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_14
|
||||
schema: *ref_13
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: model
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_14
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /op2
|
||||
method: patch
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_13
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Operation2
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Operation1
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_9
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_10
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_14
|
||||
schema: *ref_13
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: model
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_14
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /op2
|
||||
method: patch
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_13
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Operation2
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
security: !<!Security>
|
||||
authenticationRequired: false
|
||||
language: !<!Languages>
|
||||
|
|
|
@ -4,514 +4,514 @@ info: !<!Info>
|
|||
title: Schema mapping
|
||||
schemas: !<!Schemas>
|
||||
numbers:
|
||||
- !<!NumberSchema> &ref_1
|
||||
type: integer
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!NumberSchema> &ref_1
|
||||
type: integer
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
strings:
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ModelProperty
|
||||
description: .
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_5
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SecondModelStringProperty
|
||||
description: .
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ModelProperty
|
||||
description: .
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_5
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SecondModelStringProperty
|
||||
description: .
|
||||
protocol: !<!Protocols> {}
|
||||
choices:
|
||||
- !<!ChoiceSchema> &ref_3
|
||||
choices:
|
||||
- !<!ChoiceValue>
|
||||
value: apple
|
||||
language:
|
||||
- !<!ChoiceSchema> &ref_3
|
||||
choices:
|
||||
- !<!ChoiceValue>
|
||||
value: apple
|
||||
language:
|
||||
default:
|
||||
name: Apple
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: pear
|
||||
language:
|
||||
default:
|
||||
name: Pear
|
||||
description: ''
|
||||
type: choice
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
choiceType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Apple
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: pear
|
||||
language:
|
||||
name: Fruit
|
||||
description: Fruit
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ChoiceSchema> &ref_4
|
||||
choices:
|
||||
- !<!ChoiceValue>
|
||||
value: Monday
|
||||
language:
|
||||
default:
|
||||
name: Monday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Tuesday
|
||||
language:
|
||||
default:
|
||||
name: Tuesday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Wednesday
|
||||
language:
|
||||
default:
|
||||
name: Wednesday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Thursday
|
||||
language:
|
||||
default:
|
||||
name: Thursday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Friday
|
||||
language:
|
||||
default:
|
||||
name: Friday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Saturday
|
||||
language:
|
||||
default:
|
||||
name: Saturday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Sunday
|
||||
language:
|
||||
default:
|
||||
name: Sunday
|
||||
description: ''
|
||||
type: choice
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
choiceType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Pear
|
||||
description: ''
|
||||
type: choice
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
choiceType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Fruit
|
||||
description: Fruit
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ChoiceSchema> &ref_4
|
||||
choices:
|
||||
- !<!ChoiceValue>
|
||||
value: Monday
|
||||
language:
|
||||
default:
|
||||
name: Monday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Tuesday
|
||||
language:
|
||||
default:
|
||||
name: Tuesday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Wednesday
|
||||
language:
|
||||
default:
|
||||
name: Wednesday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Thursday
|
||||
language:
|
||||
default:
|
||||
name: Thursday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Friday
|
||||
language:
|
||||
default:
|
||||
name: Friday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Saturday
|
||||
language:
|
||||
default:
|
||||
name: Saturday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Sunday
|
||||
language:
|
||||
default:
|
||||
name: Sunday
|
||||
description: ''
|
||||
type: choice
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
choiceType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: DaysOfWeek
|
||||
description: Day of week
|
||||
protocol: !<!Protocols> {}
|
||||
name: DaysOfWeek
|
||||
description: Day of week
|
||||
protocol: !<!Protocols> {}
|
||||
constants:
|
||||
- !<!ConstantSchema> &ref_8
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ConstantSchema> &ref_8
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
dictionaries:
|
||||
- !<!DictionarySchema> &ref_6
|
||||
type: dictionary
|
||||
elementType: *ref_1
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SecondModelDictionaryProperty
|
||||
description: .
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!DictionarySchema> &ref_6
|
||||
type: dictionary
|
||||
elementType: *ref_1
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SecondModelDictionaryProperty
|
||||
description: .
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_9
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
required: false
|
||||
serializedName: ModelProperty
|
||||
- !<!ObjectSchema> &ref_9
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
required: false
|
||||
serializedName: ModelProperty
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: modelProperty
|
||||
description: .
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_3
|
||||
required: true
|
||||
serializedName: Fruit
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: fruit
|
||||
description: Fruit
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_4
|
||||
required: true
|
||||
serializedName: DaysOfWeek
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: daysOfWeek
|
||||
description: Day of week
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- input
|
||||
- output
|
||||
extensions:
|
||||
x-ms-flattened: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: modelProperty
|
||||
description: .
|
||||
name: Model
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_3
|
||||
required: true
|
||||
serializedName: Fruit
|
||||
- !<!ObjectSchema> &ref_11
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
flattenedNames:
|
||||
- ModelProperty
|
||||
- ModelProperty
|
||||
serializedName: ModelProperty
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: modelProperty
|
||||
description: .
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_3
|
||||
flattenedNames:
|
||||
- ModelProperty
|
||||
- Fruit
|
||||
serializedName: Fruit
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: fruit
|
||||
description: Fruit
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_4
|
||||
flattenedNames:
|
||||
- ModelProperty
|
||||
- DaysOfWeek
|
||||
serializedName: DaysOfWeek
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: daysOfWeek
|
||||
description: Day of week
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- input
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: fruit
|
||||
description: Fruit
|
||||
name: ModelStruct
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_4
|
||||
required: true
|
||||
serializedName: DaysOfWeek
|
||||
- !<!ObjectSchema> &ref_13
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_5
|
||||
serializedName: StringProperty
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: stringProperty
|
||||
description: .
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_6
|
||||
serializedName: DictionaryProperty
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: dictionaryProperty
|
||||
description: .
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_4
|
||||
serializedName: DaysOfWeek
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: daysOfWeek
|
||||
description: Day of week
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- input
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: daysOfWeek
|
||||
description: Day of week
|
||||
name: SecondModel
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- input
|
||||
- output
|
||||
extensions:
|
||||
x-ms-flattened: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Model
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ObjectSchema> &ref_11
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
flattenedNames:
|
||||
- ModelProperty
|
||||
- ModelProperty
|
||||
serializedName: ModelProperty
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: modelProperty
|
||||
description: .
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_3
|
||||
flattenedNames:
|
||||
- ModelProperty
|
||||
- Fruit
|
||||
serializedName: Fruit
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: fruit
|
||||
description: Fruit
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_4
|
||||
flattenedNames:
|
||||
- ModelProperty
|
||||
- DaysOfWeek
|
||||
serializedName: DaysOfWeek
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: daysOfWeek
|
||||
description: Day of week
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- input
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ModelStruct
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ObjectSchema> &ref_13
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_5
|
||||
serializedName: StringProperty
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: stringProperty
|
||||
description: .
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_6
|
||||
serializedName: DictionaryProperty
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: dictionaryProperty
|
||||
description: .
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_4
|
||||
serializedName: DaysOfWeek
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: daysOfWeek
|
||||
description: Day of week
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- input
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SecondModel
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_7
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: ''
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_7
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_8
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_10
|
||||
schema: *ref_9
|
||||
implementation: Method
|
||||
required: false
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: body
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_10
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /Operation/
|
||||
method: put
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_9
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
- !<!Parameter> &ref_7
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-long-running-operation: true
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Operation
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_7
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_8
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: ''
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_7
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_8
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_10
|
||||
schema: *ref_9
|
||||
implementation: Method
|
||||
required: false
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: body
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_10
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /Operation/
|
||||
method: put
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_9
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
extensions:
|
||||
x-ms-long-running-operation: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_12
|
||||
schema: *ref_11
|
||||
implementation: Method
|
||||
required: false
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: body
|
||||
name: Operation
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_12
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /OperationStruct/
|
||||
method: patch
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_11
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: OperationStruct
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_7
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_8
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_7
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_8
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_12
|
||||
schema: *ref_11
|
||||
implementation: Method
|
||||
required: false
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: body
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_12
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /OperationStruct/
|
||||
method: patch
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_11
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_14
|
||||
schema: *ref_13
|
||||
implementation: Method
|
||||
required: false
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: body
|
||||
name: OperationStruct
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_14
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /OperationSecondModel
|
||||
method: patch
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_13
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_7
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_8
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_14
|
||||
schema: *ref_13
|
||||
implementation: Method
|
||||
required: false
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: body
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_14
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /OperationSecondModel
|
||||
method: patch
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_13
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: OperationSecondModel
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: OperationSecondModel
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
security: !<!Security>
|
||||
authenticationRequired: false
|
||||
language: !<!Languages>
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -4,440 +4,440 @@ info: !<!Info>
|
|||
title: AutoRest Swagger BAT Byte Service
|
||||
schemas: !<!Schemas>
|
||||
numbers:
|
||||
- !<!NumberSchema> &ref_1
|
||||
type: integer
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!NumberSchema> &ref_1
|
||||
type: integer
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
strings:
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ErrorMessage
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ErrorMessage
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
constants:
|
||||
- !<!ConstantSchema> &ref_8
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ConstantSchema> &ref_8
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
byteArrays:
|
||||
- !<!ByteArraySchema> &ref_4
|
||||
type: byte-array
|
||||
format: byte
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ByteArray
|
||||
description: The null byte value
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ByteArraySchema> &ref_6
|
||||
type: byte-array
|
||||
format: byte
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ByteArray
|
||||
description: The empty byte value ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ByteArraySchema> &ref_7
|
||||
type: byte-array
|
||||
format: byte
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ByteArray
|
||||
description: Non-ascii base-64 encoded byte string hex(FF FE FD FC FB FA F9 F8 F7 F6)
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ByteArraySchema> &ref_9
|
||||
type: byte-array
|
||||
format: byte
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ByteArray
|
||||
description: Base64-encoded non-ascii byte string hex(FF FE FD FC FB FA F9 F8 F7 F6)
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ByteArraySchema> &ref_11
|
||||
type: byte-array
|
||||
format: byte
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ByteArray
|
||||
description: 'The invalid byte value ''::::SWAGGER::::'''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ByteArraySchema> &ref_4
|
||||
type: byte-array
|
||||
format: byte
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ByteArray
|
||||
description: The null byte value
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ByteArraySchema> &ref_6
|
||||
type: byte-array
|
||||
format: byte
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ByteArray
|
||||
description: The empty byte value ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ByteArraySchema> &ref_7
|
||||
type: byte-array
|
||||
format: byte
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ByteArray
|
||||
description: Non-ascii base-64 encoded byte string hex(FF FE FD FC FB FA F9 F8 F7 F6)
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ByteArraySchema> &ref_9
|
||||
type: byte-array
|
||||
format: byte
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ByteArray
|
||||
description: Base64-encoded non-ascii byte string hex(FF FE FD FC FB FA F9 F8 F7 F6)
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ByteArraySchema> &ref_11
|
||||
type: byte-array
|
||||
format: byte
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ByteArray
|
||||
description: 'The invalid byte value ''::::SWAGGER::::'''
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_5
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: status
|
||||
- !<!ObjectSchema> &ref_5
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: status
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: status
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
serializedName: message
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: message
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: status
|
||||
name: Error
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
serializedName: message
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: message
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Error
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_3
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- !<!Parameter> &ref_3
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: byte
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /byte/null
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetNull
|
||||
description: Get null byte value
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /byte/empty
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_6
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetEmpty
|
||||
description: Get empty byte value ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /byte/nonAscii
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_7
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetNonAscii
|
||||
description: Get non-ascii byte string hex(FF FE FD FC FB FA F9 F8 F7 F6)
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_8
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
- !<!OperationGroup>
|
||||
$key: byte
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /byte/null
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_10
|
||||
schema: *ref_9
|
||||
implementation: Method
|
||||
required: true
|
||||
name: GetNull
|
||||
description: Get null byte value
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /byte/empty
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_6
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: byteBody
|
||||
description: Base64-encoded non-ascii byte string hex(FF FE FD FC FB FA F9 F8 F7 F6)
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_10
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /byte/nonAscii
|
||||
method: put
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
name: GetEmpty
|
||||
description: Get empty byte value ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /byte/nonAscii
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_7
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetNonAscii
|
||||
description: Get non-ascii byte string hex(FF FE FD FC FB FA F9 F8 F7 F6)
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_8
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_10
|
||||
schema: *ref_9
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: byteBody
|
||||
description: Base64-encoded non-ascii byte string hex(FF FE FD FC FB FA F9 F8 F7 F6)
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_10
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /byte/nonAscii
|
||||
method: put
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: PutNonAscii
|
||||
description: Put non-ascii byte string hex(FF FE FD FC FB FA F9 F8 F7 F6)
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /byte/invalid
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_11
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetInvalid
|
||||
description: 'Get invalid byte value '':::SWAGGER::::'''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: PutNonAscii
|
||||
description: Put non-ascii byte string hex(FF FE FD FC FB FA F9 F8 F7 F6)
|
||||
name: Byte
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /byte/invalid
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_11
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetInvalid
|
||||
description: 'Get invalid byte value '':::SWAGGER::::'''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Byte
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
security: !<!Security>
|
||||
authenticationRequired: false
|
||||
language: !<!Languages>
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -4,344 +4,344 @@ info: !<!Info>
|
|||
title: AutoRest Duration Test Service
|
||||
schemas: !<!Schemas>
|
||||
numbers:
|
||||
- !<!NumberSchema> &ref_1
|
||||
type: integer
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!NumberSchema> &ref_1
|
||||
type: integer
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
strings:
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ErrorMessage
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ErrorMessage
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
constants:
|
||||
- !<!ConstantSchema> &ref_6
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_0
|
||||
- !<!ConstantSchema> &ref_6
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
durations:
|
||||
- !<!DurationSchema> &ref_4
|
||||
type: duration
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Duration
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_5
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: status
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: status
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
serializedName: message
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: message
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Error
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_3
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
durations:
|
||||
- !<!DurationSchema> &ref_4
|
||||
type: duration
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: duration
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /duration/null
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetNull
|
||||
description: Get null duration value
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_6
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_7
|
||||
schema: *ref_4
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: durationBody
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_7
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /duration/positiveduration
|
||||
method: put
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: PutPositiveDuration
|
||||
description: Put a positive duration value
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /duration/positiveduration
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetPositiveDuration
|
||||
description: Get a positive duration value
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /duration/invalid
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetInvalid
|
||||
description: Get an invalid duration value
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Duration
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_5
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: status
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: status
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
serializedName: message
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: message
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Error
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_3
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: duration
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /duration/null
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetNull
|
||||
description: Get null duration value
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_6
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_7
|
||||
schema: *ref_4
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: durationBody
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_7
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /duration/positiveduration
|
||||
method: put
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: PutPositiveDuration
|
||||
description: Put a positive duration value
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /duration/positiveduration
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetPositiveDuration
|
||||
description: Get a positive duration value
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /duration/invalid
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetInvalid
|
||||
description: Get an invalid duration value
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Duration
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
security: !<!Security>
|
||||
authenticationRequired: false
|
||||
language: !<!Languages>
|
||||
|
|
|
@ -4,247 +4,247 @@ info: !<!Info>
|
|||
title: AutoRest Swagger BAT File Service
|
||||
schemas: !<!Schemas>
|
||||
numbers:
|
||||
- !<!NumberSchema> &ref_0
|
||||
type: integer
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!NumberSchema> &ref_0
|
||||
type: integer
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
strings:
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ErrorMessage
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ErrorMessage
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_4
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_0
|
||||
serializedName: status
|
||||
- !<!ObjectSchema> &ref_4
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_0
|
||||
serializedName: status
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: status
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: message
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: message
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: status
|
||||
name: Error
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: message
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: message
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Error
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_3
|
||||
schema: *ref_2
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- !<!Parameter> &ref_3
|
||||
schema: *ref_2
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: files
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /files/stream/nonempty
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!BinaryResponse>
|
||||
binary: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpBinaryResponse>
|
||||
knownMediaType: binary
|
||||
mediaTypes:
|
||||
- image/png
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
- !<!OperationGroup>
|
||||
$key: files
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /files/stream/nonempty
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!BinaryResponse>
|
||||
binary: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpBinaryResponse>
|
||||
knownMediaType: binary
|
||||
mediaTypes:
|
||||
- image/png
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetFile
|
||||
description: Get file
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /files/stream/verylarge
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!BinaryResponse>
|
||||
binary: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpBinaryResponse>
|
||||
knownMediaType: binary
|
||||
mediaTypes:
|
||||
- image/png
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetFileLarge
|
||||
description: Get a large file
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /files/stream/empty
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!BinaryResponse>
|
||||
binary: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpBinaryResponse>
|
||||
knownMediaType: binary
|
||||
mediaTypes:
|
||||
- image/png
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetEmptyFile
|
||||
description: Get empty file
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetFile
|
||||
description: Get file
|
||||
name: Files
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /files/stream/verylarge
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!BinaryResponse>
|
||||
binary: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpBinaryResponse>
|
||||
knownMediaType: binary
|
||||
mediaTypes:
|
||||
- image/png
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetFileLarge
|
||||
description: Get a large file
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /files/stream/empty
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!BinaryResponse>
|
||||
binary: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpBinaryResponse>
|
||||
knownMediaType: binary
|
||||
mediaTypes:
|
||||
- image/png
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetEmptyFile
|
||||
description: Get empty file
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Files
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
security: !<!Security>
|
||||
authenticationRequired: false
|
||||
language: !<!Languages>
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -4,256 +4,256 @@ info: !<!Info>
|
|||
title: AutoRest Time Test Service
|
||||
schemas: !<!Schemas>
|
||||
numbers:
|
||||
- !<!NumberSchema> &ref_1
|
||||
type: integer
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!NumberSchema> &ref_1
|
||||
type: integer
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
strings:
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ErrorMessage
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_8
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ErrorMessage
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_8
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
constants:
|
||||
- !<!ConstantSchema> &ref_6
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ConstantSchema> &ref_6
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
times:
|
||||
- !<!TimeSchema> &ref_4
|
||||
type: time
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: time
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!TimeSchema> &ref_4
|
||||
type: time
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: time
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_5
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: status
|
||||
- !<!ObjectSchema> &ref_5
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: status
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: status
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
serializedName: message
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: message
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: status
|
||||
name: Error
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
serializedName: message
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: message
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Error
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_3
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- !<!Parameter> &ref_3
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: time
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /time/get
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Get
|
||||
description: 'Get time value "11:34:56"'
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_6
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
- !<!OperationGroup>
|
||||
$key: time
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /time/get
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_7
|
||||
schema: *ref_4
|
||||
implementation: Method
|
||||
required: true
|
||||
name: Get
|
||||
description: 'Get time value "11:34:56"'
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_6
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_7
|
||||
schema: *ref_4
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: timeBody
|
||||
description: 'Put time value "08:07:56" in parameter to pass testserver'
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_7
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /time/put
|
||||
method: put
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_8
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: timeBody
|
||||
description: 'Put time value "08:07:56" in parameter to pass testserver'
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_7
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /time/put
|
||||
method: put
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_8
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
name: Put
|
||||
description: 'Put time value "08:07:56"'
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Put
|
||||
description: 'Put time value "08:07:56"'
|
||||
name: Time
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Time
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
security: !<!Security>
|
||||
authenticationRequired: false
|
||||
language: !<!Languages>
|
||||
|
|
|
@ -4,252 +4,252 @@ info: !<!Info>
|
|||
title: AutoRest Parameterized Custom Host Test Client
|
||||
schemas: !<!Schemas>
|
||||
numbers:
|
||||
- !<!NumberSchema> &ref_0
|
||||
type: integer
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!NumberSchema> &ref_0
|
||||
type: integer
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
strings:
|
||||
- !<!StringSchema> &ref_3
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_6
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
defaultValue: v1
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ErrorMessage
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema>
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
defaultValue: host
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_3
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_6
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
defaultValue: v1
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ErrorMessage
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema>
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
defaultValue: host
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_11
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_0
|
||||
serializedName: status
|
||||
- !<!ObjectSchema> &ref_11
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_0
|
||||
serializedName: status
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: status
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: message
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: message
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: status
|
||||
name: Error
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: message
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: message
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Error
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_5
|
||||
schema: *ref_2
|
||||
implementation: Client
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-priority: 0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SubscriptionId
|
||||
description: The subscription id with value 'test12'.
|
||||
serializedName: subscriptionId
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: path
|
||||
- !<!Parameter> &ref_4
|
||||
schema: *ref_3
|
||||
clientDefaultValue: host
|
||||
implementation: Client
|
||||
required: true
|
||||
extensions:
|
||||
x-in: path
|
||||
x-ms-priority: 1
|
||||
x-ms-skip-url-encoding: true
|
||||
x-name: dnsSuffix
|
||||
x-required: true
|
||||
x-type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: DnsSuffix
|
||||
description: A string value that is used as a global part of the parameterized host. Default value 'host'.
|
||||
serializedName: dnsSuffix
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: paths
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- !<!Parameter> &ref_7
|
||||
schema: *ref_3
|
||||
implementation: Method
|
||||
required: true
|
||||
extensions:
|
||||
x-in: path
|
||||
x-ms-skip-url-encoding: true
|
||||
x-name: vault
|
||||
x-required: true
|
||||
x-type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: vault
|
||||
description: 'The vault name, e.g. https://myvault'
|
||||
serializedName: vault
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- !<!Parameter> &ref_8
|
||||
schema: *ref_3
|
||||
implementation: Method
|
||||
required: true
|
||||
extensions:
|
||||
x-in: path
|
||||
x-ms-skip-url-encoding: true
|
||||
x-name: secret
|
||||
x-required: true
|
||||
x-type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: secret
|
||||
description: Secret value.
|
||||
serializedName: secret
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- *ref_4
|
||||
- !<!Parameter> &ref_9
|
||||
schema: *ref_2
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: keyName
|
||||
description: The key name with value 'key1'.
|
||||
serializedName: keyName
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: path
|
||||
- *ref_5
|
||||
- !<!Parameter> &ref_10
|
||||
schema: *ref_6
|
||||
implementation: Method
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: keyVersion
|
||||
description: The key version. Default value 'v1'.
|
||||
serializedName: keyVersion
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: query
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: '/customuri/{subscriptionId}/{keyName}'
|
||||
method: get
|
||||
uri: '{vault}{secret}{dnsSuffix}'
|
||||
signatureParameters:
|
||||
- *ref_7
|
||||
- *ref_8
|
||||
- *ref_9
|
||||
- *ref_10
|
||||
responses:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_11
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
- !<!Parameter> &ref_5
|
||||
schema: *ref_2
|
||||
implementation: Client
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-priority: 0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetEmpty
|
||||
description: Get a 200 to test a valid base uri
|
||||
name: SubscriptionId
|
||||
description: The subscription id with value 'test12'.
|
||||
serializedName: subscriptionId
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: path
|
||||
- !<!Parameter> &ref_4
|
||||
schema: *ref_3
|
||||
clientDefaultValue: host
|
||||
implementation: Client
|
||||
required: true
|
||||
extensions:
|
||||
x-in: path
|
||||
x-ms-priority: 1
|
||||
x-ms-skip-url-encoding: true
|
||||
x-name: dnsSuffix
|
||||
x-required: true
|
||||
x-type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: DnsSuffix
|
||||
description: A string value that is used as a global part of the parameterized host. Default value 'host'.
|
||||
serializedName: dnsSuffix
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: paths
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- !<!Parameter> &ref_7
|
||||
schema: *ref_3
|
||||
implementation: Method
|
||||
required: true
|
||||
extensions:
|
||||
x-in: path
|
||||
x-ms-skip-url-encoding: true
|
||||
x-name: vault
|
||||
x-required: true
|
||||
x-type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: vault
|
||||
description: 'The vault name, e.g. https://myvault'
|
||||
serializedName: vault
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- !<!Parameter> &ref_8
|
||||
schema: *ref_3
|
||||
implementation: Method
|
||||
required: true
|
||||
extensions:
|
||||
x-in: path
|
||||
x-ms-skip-url-encoding: true
|
||||
x-name: secret
|
||||
x-required: true
|
||||
x-type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: secret
|
||||
description: Secret value.
|
||||
serializedName: secret
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- *ref_4
|
||||
- !<!Parameter> &ref_9
|
||||
schema: *ref_2
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: keyName
|
||||
description: The key name with value 'key1'.
|
||||
serializedName: keyName
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: path
|
||||
- *ref_5
|
||||
- !<!Parameter> &ref_10
|
||||
schema: *ref_6
|
||||
implementation: Method
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: keyVersion
|
||||
description: The key version. Default value 'v1'.
|
||||
serializedName: keyVersion
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: query
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: '/customuri/{subscriptionId}/{keyName}'
|
||||
method: get
|
||||
uri: '{vault}{secret}{dnsSuffix}'
|
||||
signatureParameters:
|
||||
- *ref_7
|
||||
- *ref_8
|
||||
- *ref_9
|
||||
- *ref_10
|
||||
responses:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_11
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetEmpty
|
||||
description: Get a 200 to test a valid base uri
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Paths
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Paths
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
security: !<!Security>
|
||||
authenticationRequired: false
|
||||
language: !<!Languages>
|
||||
|
|
|
@ -4,477 +4,477 @@ info: !<!Info>
|
|||
title: AutoRest Parameterized Host Test Paging Client
|
||||
schemas: !<!Schemas>
|
||||
numbers:
|
||||
- !<!NumberSchema> &ref_0
|
||||
type: integer
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!NumberSchema> &ref_0
|
||||
type: integer
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
strings:
|
||||
- !<!StringSchema> &ref_7
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ProductPropertiesName
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ProductResultNextLink
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_12
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema>
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
defaultValue: host
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_5
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ErrorMessage
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_10
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: !<!ArraySchema> &ref_6
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!StringSchema> &ref_7
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: !<!ObjectSchema> &ref_3
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: !<!ObjectSchema> &ref_4
|
||||
type: object
|
||||
apiVersions:
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ProductPropertiesName
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ProductResultNextLink
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_12
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema>
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
defaultValue: host
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_5
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ErrorMessage
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_10
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: !<!ArraySchema> &ref_6
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: !<!ObjectSchema> &ref_3
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_0
|
||||
serializedName: id
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: id
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: name
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: name
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: !<!ObjectSchema> &ref_4
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_0
|
||||
serializedName: id
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: id
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: name
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: name
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
extensions:
|
||||
x-internal-autorest-anonymous-schema:
|
||||
anonymous: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ProductProperties
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializedName: properties
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: properties
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
extensions:
|
||||
x-internal-autorest-anonymous-schema:
|
||||
anonymous: true
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ProductProperties
|
||||
name: Product
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializedName: properties
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: properties
|
||||
description: ''
|
||||
name: ProductResultValues
|
||||
description: Array of Product
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
serializedName: values
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Product
|
||||
name: values
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ProductResultValues
|
||||
description: Array of Product
|
||||
protocol: !<!Protocols> {}
|
||||
serializedName: values
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
serializedName: nextLink
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: nextLink
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: values
|
||||
name: ProductResult
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
serializedName: nextLink
|
||||
- *ref_3
|
||||
- *ref_4
|
||||
- !<!ObjectSchema>
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_0
|
||||
serializedName: status
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: status
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_5
|
||||
serializedName: message
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: message
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: nextLink
|
||||
name: Error
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ProductResult
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- *ref_3
|
||||
- *ref_4
|
||||
- !<!ObjectSchema>
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_0
|
||||
serializedName: status
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: status
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_5
|
||||
serializedName: message
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: message
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Error
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
arrays:
|
||||
- *ref_6
|
||||
- *ref_6
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_8
|
||||
schema: *ref_7
|
||||
clientDefaultValue: host
|
||||
implementation: Client
|
||||
required: true
|
||||
extensions:
|
||||
x-in: path
|
||||
x-ms-priority: 0
|
||||
x-ms-skip-url-encoding: true
|
||||
x-name: host
|
||||
x-required: true
|
||||
x-type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Host
|
||||
description: A string value that is used as a global part of the parameterized host
|
||||
serializedName: host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- !<!Parameter> &ref_8
|
||||
schema: *ref_7
|
||||
clientDefaultValue: host
|
||||
implementation: Client
|
||||
required: true
|
||||
extensions:
|
||||
x-in: path
|
||||
x-ms-priority: 0
|
||||
x-ms-skip-url-encoding: true
|
||||
x-name: host
|
||||
x-required: true
|
||||
x-type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Host
|
||||
description: A string value that is used as a global part of the parameterized host
|
||||
serializedName: host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: Paging
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- !<!Parameter> &ref_9
|
||||
schema: *ref_7
|
||||
implementation: Method
|
||||
required: true
|
||||
extensions:
|
||||
x-in: path
|
||||
x-ms-skip-url-encoding: true
|
||||
x-name: accountName
|
||||
x-required: true
|
||||
x-type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: accountName
|
||||
description: Account Name
|
||||
serializedName: accountName
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- *ref_8
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /paging/customurl/partialnextlink
|
||||
method: get
|
||||
uri: 'http://{accountName}{host}'
|
||||
signatureParameters:
|
||||
- *ref_9
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_10
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- default
|
||||
extensions:
|
||||
x-ms-pageable:
|
||||
itemName: values
|
||||
nextLinkName: nextLink
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetPagesPartialUrl
|
||||
description: 'A paging operation that combines custom url, paging and partial URL and expect to concat after host'
|
||||
paging:
|
||||
itemName: values
|
||||
nextLinkName: nextLink
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- !<!Parameter> &ref_11
|
||||
schema: *ref_7
|
||||
implementation: Method
|
||||
required: true
|
||||
extensions:
|
||||
x-in: path
|
||||
x-ms-skip-url-encoding: true
|
||||
x-name: accountName
|
||||
x-required: true
|
||||
x-type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: accountName
|
||||
description: Account Name
|
||||
serializedName: accountName
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- *ref_8
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /paging/customurl/partialnextlinkop
|
||||
method: get
|
||||
uri: 'http://{accountName}{host}'
|
||||
signatureParameters:
|
||||
- *ref_11
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_10
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- default
|
||||
extensions:
|
||||
x-ms-pageable:
|
||||
itemName: values
|
||||
nextLinkName: nextLink
|
||||
operationName: Paging_getPagesPartialUrlOperationNext
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetPagesPartialUrlOperation
|
||||
description: 'A paging operation that combines custom url, paging and partial URL with next operation'
|
||||
paging:
|
||||
group: Paging
|
||||
itemName: values
|
||||
member: GetPagesPartialUrlOperationNext
|
||||
nextLinkName: nextLink
|
||||
nextLinkOperation: !<!Operation> &ref_15
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- !<!Parameter> &ref_13
|
||||
schema: *ref_7
|
||||
implementation: Method
|
||||
required: true
|
||||
extensions:
|
||||
x-in: path
|
||||
x-ms-skip-url-encoding: true
|
||||
x-name: accountName
|
||||
x-required: true
|
||||
x-type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: accountName
|
||||
description: Account Name
|
||||
serializedName: accountName
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- *ref_8
|
||||
- !<!Parameter> &ref_14
|
||||
schema: *ref_12
|
||||
implementation: Method
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: nextLink
|
||||
description: Next link for the list operation.
|
||||
serializedName: nextLink
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: path
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: '/paging/customurl/{nextLink}'
|
||||
method: get
|
||||
uri: 'http://{accountName}{host}'
|
||||
signatureParameters:
|
||||
- *ref_13
|
||||
- *ref_14
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_10
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- default
|
||||
- !<!OperationGroup>
|
||||
$key: Paging
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- !<!Parameter> &ref_9
|
||||
schema: *ref_7
|
||||
implementation: Method
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-pageable:
|
||||
itemName: values
|
||||
nextLinkName: nextLink
|
||||
operationName: Paging_getPagesPartialUrlOperationNext
|
||||
x-in: path
|
||||
x-ms-skip-url-encoding: true
|
||||
x-name: accountName
|
||||
x-required: true
|
||||
x-type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetPagesPartialUrlOperationNext
|
||||
description: 'A paging operation that combines custom url, paging and partial URL'
|
||||
paging:
|
||||
group: Paging
|
||||
itemName: values
|
||||
member: GetPagesPartialUrlOperationNext
|
||||
nextLinkName: nextLink
|
||||
nextLinkOperation: *ref_15
|
||||
protocol: !<!Protocols> {}
|
||||
name: accountName
|
||||
description: Account Name
|
||||
serializedName: accountName
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- *ref_8
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /paging/customurl/partialnextlink
|
||||
method: get
|
||||
uri: 'http://{accountName}{host}'
|
||||
signatureParameters:
|
||||
- *ref_9
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_10
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- default
|
||||
extensions:
|
||||
x-ms-pageable:
|
||||
itemName: values
|
||||
nextLinkName: nextLink
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetPagesPartialUrl
|
||||
description: 'A paging operation that combines custom url, paging and partial URL and expect to concat after host'
|
||||
paging:
|
||||
itemName: values
|
||||
nextLinkName: nextLink
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- !<!Parameter> &ref_11
|
||||
schema: *ref_7
|
||||
implementation: Method
|
||||
required: true
|
||||
extensions:
|
||||
x-in: path
|
||||
x-ms-skip-url-encoding: true
|
||||
x-name: accountName
|
||||
x-required: true
|
||||
x-type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: accountName
|
||||
description: Account Name
|
||||
serializedName: accountName
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- *ref_8
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /paging/customurl/partialnextlinkop
|
||||
method: get
|
||||
uri: 'http://{accountName}{host}'
|
||||
signatureParameters:
|
||||
- *ref_11
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_10
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- default
|
||||
extensions:
|
||||
x-ms-pageable:
|
||||
itemName: values
|
||||
nextLinkName: nextLink
|
||||
operationName: Paging_getPagesPartialUrlOperationNext
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetPagesPartialUrlOperation
|
||||
description: 'A paging operation that combines custom url, paging and partial URL with next operation'
|
||||
paging:
|
||||
group: Paging
|
||||
itemName: values
|
||||
member: GetPagesPartialUrlOperationNext
|
||||
nextLinkName: nextLink
|
||||
nextLinkOperation: !<!Operation> &ref_15
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- !<!Parameter> &ref_13
|
||||
schema: *ref_7
|
||||
implementation: Method
|
||||
required: true
|
||||
extensions:
|
||||
x-in: path
|
||||
x-ms-skip-url-encoding: true
|
||||
x-name: accountName
|
||||
x-required: true
|
||||
x-type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: accountName
|
||||
description: Account Name
|
||||
serializedName: accountName
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- *ref_8
|
||||
- !<!Parameter> &ref_14
|
||||
schema: *ref_12
|
||||
implementation: Method
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: nextLink
|
||||
description: Next link for the list operation.
|
||||
serializedName: nextLink
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: path
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: '/paging/customurl/{nextLink}'
|
||||
method: get
|
||||
uri: 'http://{accountName}{host}'
|
||||
signatureParameters:
|
||||
- *ref_13
|
||||
- *ref_14
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_10
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- default
|
||||
extensions:
|
||||
x-ms-pageable:
|
||||
itemName: values
|
||||
nextLinkName: nextLink
|
||||
operationName: Paging_getPagesPartialUrlOperationNext
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetPagesPartialUrlOperationNext
|
||||
description: 'A paging operation that combines custom url, paging and partial URL'
|
||||
paging:
|
||||
group: Paging
|
||||
itemName: values
|
||||
member: GetPagesPartialUrlOperationNext
|
||||
nextLinkName: nextLink
|
||||
nextLinkOperation: *ref_15
|
||||
protocol: !<!Protocols> {}
|
||||
protocol: !<!Protocols> {}
|
||||
- *ref_15
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Paging
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- *ref_15
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Paging
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
security: !<!Security>
|
||||
authenticationRequired: false
|
||||
language: !<!Languages>
|
||||
|
|
|
@ -4,172 +4,172 @@ info: !<!Info>
|
|||
title: AutoRest Parameterized Host Test Client
|
||||
schemas: !<!Schemas>
|
||||
numbers:
|
||||
- !<!NumberSchema> &ref_0
|
||||
type: integer
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!NumberSchema> &ref_0
|
||||
type: integer
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
strings:
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ErrorMessage
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema>
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
defaultValue: host
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ErrorMessage
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema>
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
defaultValue: host
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_5
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_0
|
||||
serializedName: status
|
||||
- !<!ObjectSchema> &ref_5
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_0
|
||||
serializedName: status
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: status
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: message
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: message
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: status
|
||||
name: Error
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: message
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: message
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Error
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_3
|
||||
schema: *ref_2
|
||||
clientDefaultValue: host
|
||||
implementation: Client
|
||||
required: true
|
||||
extensions:
|
||||
x-in: path
|
||||
x-ms-priority: 0
|
||||
x-ms-skip-url-encoding: true
|
||||
x-name: host
|
||||
x-required: true
|
||||
x-type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Host
|
||||
description: A string value that is used as a global part of the parameterized host
|
||||
serializedName: host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: paths
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- !<!Parameter> &ref_4
|
||||
schema: *ref_2
|
||||
implementation: Method
|
||||
required: true
|
||||
extensions:
|
||||
x-in: path
|
||||
x-ms-skip-url-encoding: true
|
||||
x-name: accountName
|
||||
x-required: true
|
||||
x-type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: accountName
|
||||
description: Account Name
|
||||
serializedName: accountName
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /customuri
|
||||
method: get
|
||||
uri: 'http://{accountName}{host}'
|
||||
signatureParameters:
|
||||
- *ref_4
|
||||
responses:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
- !<!Parameter> &ref_3
|
||||
schema: *ref_2
|
||||
clientDefaultValue: host
|
||||
implementation: Client
|
||||
required: true
|
||||
extensions:
|
||||
x-in: path
|
||||
x-ms-priority: 0
|
||||
x-ms-skip-url-encoding: true
|
||||
x-name: host
|
||||
x-required: true
|
||||
x-type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetEmpty
|
||||
description: Get a 200 to test a valid base uri
|
||||
name: Host
|
||||
description: A string value that is used as a global part of the parameterized host
|
||||
serializedName: host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: paths
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- !<!Parameter> &ref_4
|
||||
schema: *ref_2
|
||||
implementation: Method
|
||||
required: true
|
||||
extensions:
|
||||
x-in: path
|
||||
x-ms-skip-url-encoding: true
|
||||
x-name: accountName
|
||||
x-required: true
|
||||
x-type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: accountName
|
||||
description: Account Name
|
||||
serializedName: accountName
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /customuri
|
||||
method: get
|
||||
uri: 'http://{accountName}{host}'
|
||||
signatureParameters:
|
||||
- *ref_4
|
||||
responses:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetEmpty
|
||||
description: Get a 200 to test a valid base uri
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Paths
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Paths
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
security: !<!Security>
|
||||
authenticationRequired: false
|
||||
language: !<!Languages>
|
||||
|
|
|
@ -4,319 +4,319 @@ info: !<!Info>
|
|||
title: PetStore Inc
|
||||
schemas: !<!Schemas>
|
||||
strings:
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_5
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: '2016-07-07'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: '2016-07-07'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: PetName
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
choices:
|
||||
- !<!ChoiceSchema> &ref_2
|
||||
choices:
|
||||
- !<!ChoiceValue>
|
||||
value: Monday
|
||||
language:
|
||||
default:
|
||||
name: Monday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Tuesday
|
||||
language:
|
||||
default:
|
||||
name: Tuesday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Wednesday
|
||||
language:
|
||||
default:
|
||||
name: Wednesday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Thursday
|
||||
language:
|
||||
default:
|
||||
name: Thursday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Friday
|
||||
language:
|
||||
default:
|
||||
name: Friday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Saturday
|
||||
language:
|
||||
default:
|
||||
name: Saturday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Sunday
|
||||
language:
|
||||
default:
|
||||
name: Sunday
|
||||
description: ''
|
||||
type: choice
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: '2016-07-07'
|
||||
choiceType: *ref_0
|
||||
defaultValue: Friday
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: DaysOfWeekExtensibleEnum
|
||||
description: Type of Pet
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ChoiceSchema> &ref_3
|
||||
choices:
|
||||
- !<!ChoiceValue>
|
||||
value: '1'
|
||||
language:
|
||||
default:
|
||||
name: One
|
||||
description: one
|
||||
- !<!ChoiceValue>
|
||||
value: '2'
|
||||
language:
|
||||
default:
|
||||
name: Two
|
||||
description: two
|
||||
- !<!ChoiceValue>
|
||||
value: '3'
|
||||
language:
|
||||
default:
|
||||
name: Three
|
||||
description: three
|
||||
type: choice
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: '2016-07-07'
|
||||
choiceType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: IntEnum
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
constants:
|
||||
- !<!ConstantSchema> &ref_8
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_7
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: '2016-07-07'
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
required: false
|
||||
serializedName: name
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: name
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_5
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: '2016-07-07'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
required: false
|
||||
serializedName: DaysOfWeek
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: '2016-07-07'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: daysOfWeek
|
||||
name: PetName
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
choices:
|
||||
- !<!ChoiceSchema> &ref_2
|
||||
choices:
|
||||
- !<!ChoiceValue>
|
||||
value: Monday
|
||||
language:
|
||||
default:
|
||||
name: Monday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Tuesday
|
||||
language:
|
||||
default:
|
||||
name: Tuesday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Wednesday
|
||||
language:
|
||||
default:
|
||||
name: Wednesday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Thursday
|
||||
language:
|
||||
default:
|
||||
name: Thursday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Friday
|
||||
language:
|
||||
default:
|
||||
name: Friday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Saturday
|
||||
language:
|
||||
default:
|
||||
name: Saturday
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: Sunday
|
||||
language:
|
||||
default:
|
||||
name: Sunday
|
||||
description: ''
|
||||
type: choice
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: '2016-07-07'
|
||||
choiceType: *ref_0
|
||||
defaultValue: Friday
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: DaysOfWeekExtensibleEnum
|
||||
description: Type of Pet
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_3
|
||||
required: true
|
||||
serializedName: IntEnum
|
||||
- !<!ChoiceSchema> &ref_3
|
||||
choices:
|
||||
- !<!ChoiceValue>
|
||||
value: '1'
|
||||
language:
|
||||
default:
|
||||
name: One
|
||||
description: one
|
||||
- !<!ChoiceValue>
|
||||
value: '2'
|
||||
language:
|
||||
default:
|
||||
name: Two
|
||||
description: two
|
||||
- !<!ChoiceValue>
|
||||
value: '3'
|
||||
language:
|
||||
default:
|
||||
name: Three
|
||||
description: three
|
||||
type: choice
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: '2016-07-07'
|
||||
choiceType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: intEnum
|
||||
name: IntEnum
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
- input
|
||||
constants:
|
||||
- !<!ConstantSchema> &ref_8
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_7
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: '2016-07-07'
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
required: false
|
||||
serializedName: name
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: name
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
required: false
|
||||
serializedName: DaysOfWeek
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: daysOfWeek
|
||||
description: Type of Pet
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_3
|
||||
required: true
|
||||
serializedName: IntEnum
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: intEnum
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
- input
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Pet
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_4
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: Pet
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: '2016-07-07'
|
||||
parameters:
|
||||
- *ref_4
|
||||
- !<!Parameter> &ref_6
|
||||
schema: *ref_5
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: petId
|
||||
description: Pet id
|
||||
serializedName: petId
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: path
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: '/extensibleenums/pet/{petId}'
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters:
|
||||
- *ref_6
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_7
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetByPetId
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: '2016-07-07'
|
||||
parameters:
|
||||
- *ref_4
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_8
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_9
|
||||
schema: *ref_7
|
||||
implementation: Method
|
||||
required: false
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: petParam
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_9
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /extensibleenums/pet/addPet
|
||||
method: post
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_7
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: AddPet
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Pet
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_4
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: Pet
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: '2016-07-07'
|
||||
parameters:
|
||||
- *ref_4
|
||||
- !<!Parameter> &ref_6
|
||||
schema: *ref_5
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: petId
|
||||
description: Pet id
|
||||
serializedName: petId
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: path
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: '/extensibleenums/pet/{petId}'
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters:
|
||||
- *ref_6
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_7
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetByPetId
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: '2016-07-07'
|
||||
parameters:
|
||||
- *ref_4
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_8
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_9
|
||||
schema: *ref_7
|
||||
implementation: Method
|
||||
required: false
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: petParam
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_9
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /extensibleenums/pet/addPet
|
||||
method: post
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_7
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: AddPet
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Pet
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
security: !<!Security>
|
||||
authenticationRequired: false
|
||||
language: !<!Languages>
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -4,255 +4,255 @@ info: !<!Info>
|
|||
title: Media Types Client
|
||||
schemas: !<!Schemas>
|
||||
strings:
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
maxLength: 2048
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SourcePathSource
|
||||
description: File source path.
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_10
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
sealedChoices:
|
||||
- !<!SealedChoiceSchema> &ref_3
|
||||
choices:
|
||||
- !<!ChoiceValue>
|
||||
value: application/pdf
|
||||
language:
|
||||
default:
|
||||
name: ApplicationPdf
|
||||
description: Content Type 'application/pdf'
|
||||
- !<!ChoiceValue>
|
||||
value: image/jpeg
|
||||
language:
|
||||
default:
|
||||
name: ImageJpeg
|
||||
description: Content Type 'image/jpeg'
|
||||
- !<!ChoiceValue>
|
||||
value: image/png
|
||||
language:
|
||||
default:
|
||||
name: ImagePng
|
||||
description: Content Type 'image/png'
|
||||
- !<!ChoiceValue>
|
||||
value: image/tiff
|
||||
language:
|
||||
default:
|
||||
name: ImageTiff
|
||||
description: Content Type 'image/tiff'
|
||||
type: sealed-choice
|
||||
choiceType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ContentType
|
||||
description: Content type for upload
|
||||
protocol: !<!Protocols> {}
|
||||
constants:
|
||||
- !<!ConstantSchema> &ref_7
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
binaries:
|
||||
- !<!BinarySchema> &ref_4
|
||||
type: binary
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: binary
|
||||
description: Uri or local path to source data.
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_8
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: source
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: source
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
maxLength: 2048
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SourcePathSource
|
||||
description: File source path.
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- input
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SourcePath
|
||||
description: Uri or local path to source data.
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_10
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
sealedChoices:
|
||||
- !<!SealedChoiceSchema> &ref_3
|
||||
choices:
|
||||
- !<!ChoiceValue>
|
||||
value: application/pdf
|
||||
language:
|
||||
default:
|
||||
name: ApplicationPdf
|
||||
description: Content Type 'application/pdf'
|
||||
- !<!ChoiceValue>
|
||||
value: image/jpeg
|
||||
language:
|
||||
default:
|
||||
name: ImageJpeg
|
||||
description: Content Type 'image/jpeg'
|
||||
- !<!ChoiceValue>
|
||||
value: image/png
|
||||
language:
|
||||
default:
|
||||
name: ImagePng
|
||||
description: Content Type 'image/png'
|
||||
- !<!ChoiceValue>
|
||||
value: image/tiff
|
||||
language:
|
||||
default:
|
||||
name: ImageTiff
|
||||
description: Content Type 'image/tiff'
|
||||
type: sealed-choice
|
||||
choiceType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ContentType
|
||||
description: Content type for upload
|
||||
protocol: !<!Protocols> {}
|
||||
constants:
|
||||
- !<!ConstantSchema> &ref_7
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
binaries:
|
||||
- !<!BinarySchema> &ref_4
|
||||
type: binary
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: binary
|
||||
description: Uri or local path to source data.
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_8
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: source
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: source
|
||||
description: File source path.
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- input
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SourcePath
|
||||
description: Uri or local path to source data.
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_2
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: ''
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
parameters:
|
||||
- *ref_2
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter> &ref_5
|
||||
schema: *ref_3
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Upload file type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_6
|
||||
schema: *ref_4
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: input
|
||||
description: Input parameter.
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: binary
|
||||
signatureParameters:
|
||||
- *ref_5
|
||||
- *ref_6
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpBinaryRequest>
|
||||
path: /mediatypes/analyze
|
||||
method: post
|
||||
binary: true
|
||||
knownMediaType: binary
|
||||
mediaTypes:
|
||||
- application/pdf
|
||||
- image/jpeg
|
||||
- image/png
|
||||
- image/tiff
|
||||
uri: '{$host}'
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_7
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_9
|
||||
schema: *ref_8
|
||||
implementation: Method
|
||||
required: false
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: input
|
||||
description: Input parameter.
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_9
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /mediatypes/analyze
|
||||
method: post
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_10
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
- !<!Parameter> &ref_2
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: AnalyzeBody
|
||||
description: 'Analyze body, that could be different media types.'
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: ''
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
parameters:
|
||||
- *ref_2
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter> &ref_5
|
||||
schema: *ref_3
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Upload file type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_6
|
||||
schema: *ref_4
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: input
|
||||
description: Input parameter.
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: binary
|
||||
signatureParameters:
|
||||
- *ref_5
|
||||
- *ref_6
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpBinaryRequest>
|
||||
path: /mediatypes/analyze
|
||||
method: post
|
||||
binary: true
|
||||
knownMediaType: binary
|
||||
mediaTypes:
|
||||
- application/pdf
|
||||
- image/jpeg
|
||||
- image/png
|
||||
- image/tiff
|
||||
uri: '{$host}'
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_7
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_9
|
||||
schema: *ref_8
|
||||
implementation: Method
|
||||
required: false
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: input
|
||||
description: Input parameter.
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_9
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /mediatypes/analyze
|
||||
method: post
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_10
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: AnalyzeBody
|
||||
description: 'Analyze body, that could be different media types.'
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
security: !<!Security>
|
||||
authenticationRequired: false
|
||||
language: !<!Languages>
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -4,386 +4,386 @@ info: !<!Info>
|
|||
title: Non String Enums Client
|
||||
schemas: !<!Schemas>
|
||||
numbers:
|
||||
- !<!NumberSchema> &ref_0
|
||||
type: integer
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: IntEnum
|
||||
description: List of integer enums
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!NumberSchema> &ref_1
|
||||
type: number
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: FloatEnum
|
||||
description: List of float enums
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!NumberSchema> &ref_0
|
||||
type: integer
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: IntEnum
|
||||
description: List of integer enums
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!NumberSchema> &ref_1
|
||||
type: number
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: FloatEnum
|
||||
description: List of float enums
|
||||
protocol: !<!Protocols> {}
|
||||
strings:
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_7
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
choices:
|
||||
- !<!ChoiceSchema> &ref_5
|
||||
choices:
|
||||
- !<!ChoiceValue>
|
||||
value: 200
|
||||
language:
|
||||
default:
|
||||
name: TwoHundred
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: 403
|
||||
language:
|
||||
default:
|
||||
name: FourHundredThree
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: 405
|
||||
language:
|
||||
default:
|
||||
name: FourHundredFive
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: 406
|
||||
language:
|
||||
default:
|
||||
name: FourHundredSix
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: 429
|
||||
language:
|
||||
default:
|
||||
name: FourHundredTwentyNine
|
||||
description: ''
|
||||
type: choice
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
choiceType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: IntEnum
|
||||
description: List of integer enums
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ChoiceSchema> &ref_8
|
||||
choices:
|
||||
- !<!ChoiceValue>
|
||||
value: 200.4
|
||||
language:
|
||||
default:
|
||||
name: TwoHundred4
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: 403.4
|
||||
language:
|
||||
default:
|
||||
name: FourHundredThree4
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: 405.3
|
||||
language:
|
||||
default:
|
||||
name: FourHundredFive3
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: 406.2
|
||||
language:
|
||||
default:
|
||||
name: FourHundredSix2
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: 429.1
|
||||
language:
|
||||
default:
|
||||
name: FourHundredTwentyNine1
|
||||
description: ''
|
||||
type: choice
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
choiceType: *ref_1
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: FloatEnum
|
||||
description: List of float enums
|
||||
protocol: !<!Protocols> {}
|
||||
constants:
|
||||
- !<!ConstantSchema> &ref_4
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_3
|
||||
schema: *ref_2
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_7
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: Int
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_4
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_6
|
||||
schema: *ref_5
|
||||
implementation: Method
|
||||
required: false
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: input
|
||||
description: Input int enum.
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_6
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /nonStringEnums/int/put
|
||||
method: put
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_7
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Put
|
||||
description: Put an int enum
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /nonStringEnums/int/get
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Get
|
||||
description: Get an int enum
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
name: Int
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
choices:
|
||||
- !<!ChoiceSchema> &ref_5
|
||||
choices:
|
||||
- !<!ChoiceValue>
|
||||
value: 200
|
||||
language:
|
||||
default:
|
||||
name: TwoHundred
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: 403
|
||||
language:
|
||||
default:
|
||||
name: FourHundredThree
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: 405
|
||||
language:
|
||||
default:
|
||||
name: FourHundredFive
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: 406
|
||||
language:
|
||||
default:
|
||||
name: FourHundredSix
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: 429
|
||||
language:
|
||||
default:
|
||||
name: FourHundredTwentyNine
|
||||
description: ''
|
||||
type: choice
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
choiceType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: IntEnum
|
||||
description: List of integer enums
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ChoiceSchema> &ref_8
|
||||
choices:
|
||||
- !<!ChoiceValue>
|
||||
value: 200.4
|
||||
language:
|
||||
default:
|
||||
name: TwoHundred4
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: 403.4
|
||||
language:
|
||||
default:
|
||||
name: FourHundredThree4
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: 405.3
|
||||
language:
|
||||
default:
|
||||
name: FourHundredFive3
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: 406.2
|
||||
language:
|
||||
default:
|
||||
name: FourHundredSix2
|
||||
description: ''
|
||||
- !<!ChoiceValue>
|
||||
value: 429.1
|
||||
language:
|
||||
default:
|
||||
name: FourHundredTwentyNine1
|
||||
description: ''
|
||||
type: choice
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
choiceType: *ref_1
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: FloatEnum
|
||||
description: List of float enums
|
||||
protocol: !<!Protocols> {}
|
||||
constants:
|
||||
- !<!ConstantSchema> &ref_4
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_3
|
||||
schema: *ref_2
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: Int
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_4
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
- !<!OperationGroup>
|
||||
$key: Float
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_4
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_9
|
||||
schema: *ref_8
|
||||
implementation: Method
|
||||
required: false
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: input
|
||||
description: Input float enum.
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_9
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /nonStringEnums/float/put
|
||||
method: put
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_7
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_6
|
||||
schema: *ref_5
|
||||
implementation: Method
|
||||
required: false
|
||||
name: Put
|
||||
description: Put a float enum
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /nonStringEnums/float/get
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_8
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: input
|
||||
description: Input int enum.
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_6
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /nonStringEnums/int/put
|
||||
method: put
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_7
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
name: Get
|
||||
description: Get a float enum
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Put
|
||||
description: Put an int enum
|
||||
name: Float
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /nonStringEnums/int/get
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_5
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Get
|
||||
description: Get an int enum
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Int
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!OperationGroup>
|
||||
$key: Float
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_4
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_9
|
||||
schema: *ref_8
|
||||
implementation: Method
|
||||
required: false
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: input
|
||||
description: Input float enum.
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_9
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /nonStringEnums/float/put
|
||||
method: put
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_7
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Put
|
||||
description: Put a float enum
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2.0-preview
|
||||
parameters:
|
||||
- *ref_3
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /nonStringEnums/float/get
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_8
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Get
|
||||
description: Get a float enum
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Float
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
security: !<!Security>
|
||||
authenticationRequired: false
|
||||
language: !<!Languages>
|
||||
|
|
|
@ -4,187 +4,187 @@ info: !<!Info>
|
|||
title: Object Type Client
|
||||
schemas: !<!Schemas>
|
||||
strings:
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
constants:
|
||||
- !<!ConstantSchema> &ref_3
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ConstantSchema> &ref_3
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: application/json
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApplicationJson
|
||||
description: Content Type 'application/json'
|
||||
protocol: !<!Protocols> {}
|
||||
any:
|
||||
- !<!AnySchema> &ref_2
|
||||
type: any
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: any
|
||||
description: Any object
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!AnySchema> &ref_2
|
||||
type: any
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: any
|
||||
description: Any object
|
||||
protocol: !<!Protocols> {}
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_1
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- !<!Parameter> &ref_1
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: ''
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_1
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /objectType/get
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Get
|
||||
description: 'Basic get that returns an object. Returns object { ''message'': ''An object was successfully returned'' }'
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_1
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_3
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
- !<!OperationGroup>
|
||||
$key: ''
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_1
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /objectType/get
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_4
|
||||
schema: *ref_2
|
||||
implementation: Method
|
||||
required: true
|
||||
name: Get
|
||||
description: 'Basic get that returns an object. Returns object { ''message'': ''An object was successfully returned'' }'
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_1
|
||||
requests:
|
||||
- !<!Request>
|
||||
parameters:
|
||||
- !<!Parameter>
|
||||
schema: *ref_3
|
||||
implementation: Method
|
||||
origin: 'modelerfour:synthesized/content-type'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: contentType
|
||||
description: Body Parameter content-type
|
||||
serializedName: Content-Type
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: header
|
||||
- !<!Parameter> &ref_4
|
||||
schema: *ref_2
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: putObject
|
||||
description: 'Pass in {''foo'': ''bar''} for a 200, anything else for an object error'
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /objectType/put
|
||||
method: put
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: putObject
|
||||
description: 'Pass in {''foo'': ''bar''} for a 200, anything else for an object error'
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: body
|
||||
style: json
|
||||
signatureParameters:
|
||||
- *ref_4
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpWithBodyRequest>
|
||||
path: /objectType/put
|
||||
method: put
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
uri: '{$host}'
|
||||
signatureParameters: []
|
||||
responses:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
name: Put
|
||||
description: 'Basic put that puts an object. Pass in {''foo'': ''bar''} to get a 200 and anything else to get an object error.'
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Put
|
||||
description: 'Basic put that puts an object. Pass in {''foo'': ''bar''} to get a 200 and anything else to get an object error.'
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
security: !<!Security>
|
||||
authenticationRequired: false
|
||||
language: !<!Languages>
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -4,257 +4,257 @@ info: !<!Info>
|
|||
title: Microsoft Azure Test Url
|
||||
schemas: !<!Schemas>
|
||||
numbers:
|
||||
- !<!NumberSchema> &ref_3
|
||||
type: integer
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
strings:
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_5
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2014-04-01-preview
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2014-04-01-preview
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SampleResourceGroupName
|
||||
description: resource group name 'testgroup101'
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2014-04-01-preview
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SampleResourceGroupLocation
|
||||
description: resource group location 'West US'
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_4
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2014-04-01-preview
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ErrorMessage
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
constants:
|
||||
- !<!ConstantSchema> &ref_6
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: 2014-04-01-preview
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ApiVersion20140401Preview
|
||||
description: Api Version (2014-04-01-preview)
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_11
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2014-04-01-preview
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: name
|
||||
- !<!NumberSchema> &ref_3
|
||||
type: integer
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: name
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
strings:
|
||||
- !<!StringSchema> &ref_0
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_5
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2014-04-01-preview
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2014-04-01-preview
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SampleResourceGroupName
|
||||
description: resource group name 'testgroup101'
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
serializedName: location
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2014-04-01-preview
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: location
|
||||
name: SampleResourceGroupLocation
|
||||
description: resource group location 'West US'
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SampleResourceGroup
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ObjectSchema> &ref_12
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2014-04-01-preview
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_3
|
||||
serializedName: code
|
||||
- !<!StringSchema> &ref_4
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2014-04-01-preview
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: code
|
||||
name: ErrorMessage
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_4
|
||||
serializedName: message
|
||||
constants:
|
||||
- !<!ConstantSchema> &ref_6
|
||||
type: constant
|
||||
value: !<!ConstantValue>
|
||||
value: 2014-04-01-preview
|
||||
valueType: *ref_0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: message
|
||||
description: ''
|
||||
name: ApiVersion20140401Preview
|
||||
description: Api Version (2014-04-01-preview)
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_11
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2014-04-01-preview
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: name
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: name
|
||||
description: resource group name 'testgroup101'
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_2
|
||||
serializedName: location
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: location
|
||||
description: resource group location 'West US'
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SampleResourceGroup
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ObjectSchema> &ref_12
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2014-04-01-preview
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_3
|
||||
serializedName: code
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: code
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_4
|
||||
serializedName: message
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: message
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Error
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Error
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_8
|
||||
schema: *ref_5
|
||||
implementation: Client
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-priority: 0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: SubscriptionId
|
||||
description: Subscription Id.
|
||||
serializedName: subscriptionId
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: path
|
||||
- !<!Parameter> &ref_7
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'https://management.azure.com'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- !<!Parameter> &ref_9
|
||||
schema: *ref_6
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/api-version'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: apiVersion
|
||||
description: Api Version
|
||||
serializedName: api-version
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: query
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: group
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2014-04-01-preview
|
||||
parameters:
|
||||
- *ref_7
|
||||
- *ref_8
|
||||
- !<!Parameter> &ref_10
|
||||
schema: *ref_5
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: resourceGroupName
|
||||
description: Resource Group name 'testgroup101'.
|
||||
serializedName: resourceGroupName
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: path
|
||||
- *ref_9
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}'
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters:
|
||||
- *ref_10
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_11
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_12
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
- !<!Parameter> &ref_8
|
||||
schema: *ref_5
|
||||
implementation: Client
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-priority: 0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetSampleResourceGroup
|
||||
description: Provides a resouce group with name 'testgroup101' and location 'West US'.
|
||||
name: SubscriptionId
|
||||
description: Subscription Id.
|
||||
serializedName: subscriptionId
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: path
|
||||
- !<!Parameter> &ref_7
|
||||
schema: *ref_0
|
||||
clientDefaultValue: 'https://management.azure.com'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- !<!Parameter> &ref_9
|
||||
schema: *ref_6
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/api-version'
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: apiVersion
|
||||
description: Api Version
|
||||
serializedName: api-version
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: query
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: group
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 2014-04-01-preview
|
||||
parameters:
|
||||
- *ref_7
|
||||
- *ref_8
|
||||
- !<!Parameter> &ref_10
|
||||
schema: *ref_5
|
||||
implementation: Method
|
||||
required: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: resourceGroupName
|
||||
description: Resource Group name 'testgroup101'.
|
||||
serializedName: resourceGroupName
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: path
|
||||
- *ref_9
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}'
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters:
|
||||
- *ref_10
|
||||
responses:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_11
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_12
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: GetSampleResourceGroup
|
||||
description: Provides a resouce group with name 'testgroup101' and location 'West US'.
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Group
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Group
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
security: !<!Security>
|
||||
authenticationRequired: false
|
||||
language: !<!Languages>
|
||||
|
|
|
@ -4,325 +4,325 @@ info: !<!Info>
|
|||
title: AutoRest Url Mutli Collection Format Test Service
|
||||
schemas: !<!Schemas>
|
||||
numbers:
|
||||
- !<!NumberSchema> &ref_0
|
||||
type: integer
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!NumberSchema> &ref_0
|
||||
type: integer
|
||||
precision: 32
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Integer
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
strings:
|
||||
- !<!StringSchema> &ref_4
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Get0ItemsItem
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ErrorMessage
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_3
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_4
|
||||
type: string
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: simple string
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_2
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Get0ItemsItem
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_1
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ErrorMessage
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!StringSchema> &ref_3
|
||||
type: string
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: String
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
objects:
|
||||
- !<!ObjectSchema> &ref_8
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_0
|
||||
serializedName: status
|
||||
- !<!ObjectSchema> &ref_8
|
||||
type: object
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
properties:
|
||||
- !<!Property>
|
||||
schema: *ref_0
|
||||
serializedName: status
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: status
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: message
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: message
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: status
|
||||
name: Error
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Property>
|
||||
schema: *ref_1
|
||||
serializedName: message
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: message
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
serializationFormats:
|
||||
- json
|
||||
usage:
|
||||
- output
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Error
|
||||
description: ''
|
||||
namespace: ''
|
||||
protocol: !<!Protocols> {}
|
||||
arrays:
|
||||
- !<!ArraySchema> &ref_6
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ArrayOfGet0ItemsItem
|
||||
description: Array of Get0ItemsItem
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ArraySchema> &ref_9
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: *ref_3
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ArrayOfString
|
||||
description: Array of String
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ArraySchema> &ref_11
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: *ref_3
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ArrayOfString
|
||||
description: Array of String
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ArraySchema> &ref_6
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: *ref_2
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ArrayOfGet0ItemsItem
|
||||
description: Array of Get0ItemsItem
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ArraySchema> &ref_9
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: *ref_3
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ArrayOfString
|
||||
description: Array of String
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!ArraySchema> &ref_11
|
||||
type: array
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
elementType: *ref_3
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ArrayOfString
|
||||
description: Array of String
|
||||
protocol: !<!Protocols> {}
|
||||
globalParameters:
|
||||
- !<!Parameter> &ref_5
|
||||
schema: *ref_4
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
- !<!Parameter> &ref_5
|
||||
schema: *ref_4
|
||||
clientDefaultValue: 'http://localhost:3000'
|
||||
implementation: Client
|
||||
origin: 'modelerfour:synthesized/host'
|
||||
required: true
|
||||
extensions:
|
||||
x-ms-skip-url-encoding: true
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: $host
|
||||
description: server parameter
|
||||
serializedName: $host
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: uri
|
||||
operationGroups:
|
||||
- !<!OperationGroup>
|
||||
$key: queries
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_5
|
||||
- !<!Parameter> &ref_7
|
||||
schema: *ref_6
|
||||
implementation: Method
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: arrayQuery
|
||||
description: a null array of string using the multi-array format
|
||||
serializedName: arrayQuery
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: query
|
||||
style: form
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /queries/array/multi/string/null
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters:
|
||||
- *ref_7
|
||||
responses:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_8
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
- !<!OperationGroup>
|
||||
$key: queries
|
||||
operations:
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_5
|
||||
- !<!Parameter> &ref_7
|
||||
schema: *ref_6
|
||||
implementation: Method
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: arrayQuery
|
||||
description: a null array of string using the multi-array format
|
||||
serializedName: arrayQuery
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: query
|
||||
style: form
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /queries/array/multi/string/null
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters:
|
||||
- *ref_7
|
||||
responses:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_8
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ArrayStringMultiNull
|
||||
description: Get a null array of string using the multi-array format
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_5
|
||||
- !<!Parameter> &ref_10
|
||||
schema: *ref_9
|
||||
implementation: Method
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: arrayQuery
|
||||
description: 'an empty array [] of string using the multi-array format'
|
||||
serializedName: arrayQuery
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: query
|
||||
style: form
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /queries/array/multi/string/empty
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters:
|
||||
- *ref_10
|
||||
responses:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_8
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ArrayStringMultiEmpty
|
||||
description: 'Get an empty array [] of string using the multi-array format'
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_5
|
||||
- !<!Parameter> &ref_12
|
||||
schema: *ref_11
|
||||
implementation: Method
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: arrayQuery
|
||||
description: 'an array of string [''ArrayQuery1'', ''begin!*''();:@ &=+$,/?#[]end'' , null, ''''] using the mult-array format'
|
||||
serializedName: arrayQuery
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: query
|
||||
style: form
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /queries/array/multi/string/valid
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters:
|
||||
- *ref_12
|
||||
responses:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_8
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ArrayStringMultiValid
|
||||
description: 'Get an array of string [''ArrayQuery1'', ''begin!*''();:@ &=+$,/?#[]end'' , null, ''''] using the mult-array format'
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ArrayStringMultiNull
|
||||
description: Get a null array of string using the multi-array format
|
||||
name: Queries
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_5
|
||||
- !<!Parameter> &ref_10
|
||||
schema: *ref_9
|
||||
implementation: Method
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: arrayQuery
|
||||
description: 'an empty array [] of string using the multi-array format'
|
||||
serializedName: arrayQuery
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: query
|
||||
style: form
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /queries/array/multi/string/empty
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters:
|
||||
- *ref_10
|
||||
responses:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_8
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ArrayStringMultiEmpty
|
||||
description: 'Get an empty array [] of string using the multi-array format'
|
||||
protocol: !<!Protocols> {}
|
||||
- !<!Operation>
|
||||
apiVersions:
|
||||
- !<!ApiVersion>
|
||||
version: 1.0.0
|
||||
parameters:
|
||||
- *ref_5
|
||||
- !<!Parameter> &ref_12
|
||||
schema: *ref_11
|
||||
implementation: Method
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: arrayQuery
|
||||
description: 'an array of string [''ArrayQuery1'', ''begin!*''();:@ &=+$,/?#[]end'' , null, ''''] using the mult-array format'
|
||||
serializedName: arrayQuery
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpParameter>
|
||||
in: query
|
||||
style: form
|
||||
requests:
|
||||
- !<!Request>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpRequest>
|
||||
path: /queries/array/multi/string/valid
|
||||
method: get
|
||||
uri: '{$host}'
|
||||
signatureParameters:
|
||||
- *ref_12
|
||||
responses:
|
||||
- !<!Response>
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
statusCodes:
|
||||
- '200'
|
||||
exceptions:
|
||||
- !<!SchemaResponse>
|
||||
schema: *ref_8
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ''
|
||||
description: ''
|
||||
protocol: !<!Protocols>
|
||||
http: !<!HttpResponse>
|
||||
knownMediaType: json
|
||||
mediaTypes:
|
||||
- application/json
|
||||
statusCodes:
|
||||
- default
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: ArrayStringMultiValid
|
||||
description: 'Get an array of string [''ArrayQuery1'', ''begin!*''();:@ &=+$,/?#[]end'' , null, ''''] using the mult-array format'
|
||||
protocol: !<!Protocols> {}
|
||||
language: !<!Languages>
|
||||
default:
|
||||
name: Queries
|
||||
description: ''
|
||||
protocol: !<!Protocols> {}
|
||||
security: !<!Security>
|
||||
authenticationRequired: false
|
||||
language: !<!Languages>
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче