Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
d0aa7ba
Add ServiceBus AzureResourceSchema acceptance test
Aug 19, 2016
2257cfc
Merge branch 'master' of https://github.com/Azure/autorest
Sep 14, 2016
c5ae962
Merge branch 'master' of https://github.com/Azure/autorest
Sep 30, 2016
a58fdb1
Add insights swagger spec test
Sep 30, 2016
0ac6b75
Merge branch 'master' of https://github.com/Azure/autorest
Sep 30, 2016
5820c36
Merge branch 'master' of https://github.com/Azure/autorest
Oct 3, 2016
e36e4a9
Merge branch 'master' of https://github.com/Azure/autorest
Oct 3, 2016
c5ec427
Merge branch 'master' of https://github.com/Azure/autorest
Oct 3, 2016
25d45b1
Merge branch 'master' of https://github.com/Azure/autorest
Oct 7, 2016
887a021
Merge branch 'master' into dev/daschult/AddInsightsSwaggerSpecTest
Oct 7, 2016
0f2ce11
Add minLength and maxLength support to schema generator
Oct 10, 2016
bdd0f23
Merge branch 'master' of https://github.com/Azure/autorest
Oct 10, 2016
5d244d8
Fixing logic to add missing schema resources
Oct 11, 2016
82e1298
Merge branch 'master' into AddMinLengthAndMaxLengthSupportToSchemaGen…
Oct 13, 2016
3198f41
Merge branch 'master' into dev/daschult/AddInsightsSwaggerSpecTest
Oct 13, 2016
bb89261
Working on discriminator stuff
Oct 13, 2016
796a137
Merge branch 'master' of https://github.com/Azure/autorest
Oct 14, 2016
2150c6e
Change schemas that only have an 'object' type definition to be empty
Oct 14, 2016
6f5e46b
Merge branch 'master' of https://github.com/Azure/autorest
Oct 15, 2016
3e93720
Merge branch 'master' of https://github.com/Azure/autorest
Oct 17, 2016
d1edc6d
Merge branch 'master' of https://github.com/daschult/autorest
Oct 17, 2016
4f4c8a9
Merge branch 'master' into AddMinLengthAndMaxLengthSupportToSchemaGen…
Oct 17, 2016
84d4df0
Merge branch 'master' into dev/daschult/AddInsightsSwaggerSpecTest
Oct 17, 2016
2a3b122
Merge branch 'dev/daschult/AddInsightsSwaggerSpecTest' of https://git…
Oct 17, 2016
43c0f52
Add compute test with extension properties
Oct 17, 2016
3a0b0f9
Merge in minLength and maxLength support, add vm extensions to swagge…
Oct 17, 2016
79d068c
Add additional enum values for extensionType discriminator
Oct 27, 2016
7a72d38
Merge branch 'master' of https://github.com/Azure/autorest
Oct 27, 2016
d988807
Merge branch 'master' into dev/daschult/AddInsightsSwaggerSpecTest
Oct 27, 2016
f6240b1
Merge branch 'master' into tmp
Jan 11, 2017
248dbfb
missing test files
Jan 11, 2017
ad8e144
Merge pull request #1 from olydis/dev/daschult/AddInsightsSwaggerSpec…
Jan 11, 2017
fcd10c9
Update SwaggerSpecHelper.cs
olydis Jan 12, 2017
4b93148
Update SwaggerSpecHelper.cs
olydis Jan 12, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ public static void CognitiveServices_2016_02_01_preview()
RunSwaggerTest("CognitiveServices", "2016-02-01-preview", "cognitiveservices.json");
}

[Fact]
public static void CommitmentPlans_2016_05_01_preview()
{
RunSwaggerTest("CommitmentPlans", "2016-05-01-preview", "commitmentplans.json");
}

[Fact]
public static void Compute_2015_06_15()
{
Expand All @@ -64,6 +70,12 @@ public static void Compute_2016_03_30()
RunSwaggerTest("Compute", "2016-03-30", "compute.json");
}

[Fact]
public static void Compute_2016_03_30b()
{
RunSwaggerTest("Compute", "2016-03-30b", "compute.json");
}

[Fact]
public static void ContainerService_2016_03_30()
{
Expand Down Expand Up @@ -100,6 +112,12 @@ public static void Dns_2016_04_01()
RunSwaggerTest("DNS", "2016-04-01", "dns.json");
}

[Fact]
public static void Insights_2016_03_01()
{
RunSwaggerTest("Insights", "2016-03-01", "insightsManagementClient.json");
}

[Fact]
public static void Logic_2015_02_01_preview()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,6 @@
"description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters."
},
"properties": {
"oneOf": [
{
"type": "object"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Must exist in the request. Must not be null."
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"id": "http://schema.management.azure.com/schemas/2016-05-01-preview/Microsoft.MachineLearning.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.MachineLearning",
"description": "Microsoft MachineLearning Resource Types",
"resourceDefinitions": {
"commitmentPlans": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.MachineLearning/commitmentPlans"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2016-05-01-preview"
]
},
"location": {
"type": "string",
"description": "Resource location."
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "User-defined tags for the resource."
},
"etag": {
"type": "string",
"description": "An entity tag used to enforce optimistic concurrency."
},
"sku": {
"oneOf": [
{
"$ref": "#/definitions/ResourceSku"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "The commitment plan SKU."
}
},
"required": [
"type",
"apiVersion",
"location"
],
"description": "Microsoft.MachineLearning/commitmentPlans"
}
},
"definitions": {
"ResourceSku": {
"type": "object",
"properties": {
"capacity": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "The scale-out capacity of the resource. 1 is 1x, 2 is 2x, etc. This impacts the quantities and cost of any commitment plan resource."
},
"name": {
"type": "string",
"description": "The SKU name. Along with tier, uniquely identifies the SKU."
},
"tier": {
"type": "string",
"description": "The SKU tier. Along with name, uniquely identifies the SKU."
}
},
"description": "The SKU of a resource."
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1263,25 +1263,9 @@
"description": "Gets or sets whether the extension handler should be automatically upgraded across minor versions."
},
"settings": {
"oneOf": [
{
"type": "object"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Gets or sets Json formatted public settings for the extension."
},
"protectedSettings": {
"oneOf": [
{
"type": "object"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Gets or sets Json formatted protected settings for the extension."
},
"provisioningState": {
Expand Down Expand Up @@ -1505,25 +1489,9 @@
"description": "Gets or sets whether the extension handler should be automatically upgraded across minor versions."
},
"settings": {
"oneOf": [
{
"type": "object"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Gets or sets Json formatted public settings for the extension."
},
"protectedSettings": {
"oneOf": [
{
"type": "object"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Gets or sets Json formatted protected settings for the extension."
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1261,25 +1261,9 @@
"description": "whether the extension handler should be automatically upgraded across minor versions."
},
"settings": {
"oneOf": [
{
"type": "object"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Json formatted public settings for the extension."
},
"protectedSettings": {
"oneOf": [
{
"type": "object"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Json formatted protected settings for the extension."
},
"instanceView": {
Expand Down Expand Up @@ -1495,25 +1479,9 @@
"description": "whether the extension handler should be automatically upgraded across minor versions."
},
"settings": {
"oneOf": [
{
"type": "object"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Json formatted public settings for the extension."
},
"protectedSettings": {
"oneOf": [
{
"type": "object"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "Json formatted protected settings for the extension."
}
},
Expand Down
Loading