Skip to content

Commit

Permalink
Minor updates to ADL specs (#253)
Browse files Browse the repository at this point in the history
* Remove requirement on subscriptionId

These clients don't need a subscriptionId.

* Need to make contents required since this is a PUT.

Will add extensions that make it optional in C# and zero it out to an
empty stream.

* update documentation to reflect param required

* undo this temp change

Issue: Azure/autorest#884 is tracking support
for this being an optional param properly and not resulting in a null
reference. So I will keep this spec as is.

* Change this name to be more descriptive.

* does not need to be modeled as a string.

Makes this more obvious to end users and easier to understand.

* fix all enums to be enums.

* Add new API version for job

This API version changes the format for dates and timespan objects to be
ISO compliant.

* missed version change here as well.

* temp commit to remove the required flag

We need a way to have template parameters not be required when they are
in the host. I will work with Amar for this next week.

* Revert "temp commit to remove the required flag"

This reverts commit be8b7bf.

* Add missing enum value

* Missed one.

* Add in new functionality

Switch over to MSLISTSTATUS which gives more flexibility for listing
files/folders.

* Work around for issue: 903

explicitly calling out our chunked transfer APIs until issue:
Azure/autorest#903 is resolved.

* addressed comments from Amar.
  • Loading branch information
begoldsm authored and amarzavery committed Apr 20, 2016
1 parent 4181e44 commit 706cb8f
Show file tree
Hide file tree
Showing 4 changed files with 1,083 additions and 191 deletions.
104 changes: 11 additions & 93 deletions arm-datalake-analytics/catalog/2015-10-01-preview/swagger/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -118,9 +115,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -155,9 +149,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -192,9 +183,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -228,9 +216,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -286,7 +271,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. Optional."
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories?$expand=Products would expand Product data in line with each Category entry. Optional."
},
{
"name": "$select",
Expand All @@ -311,9 +296,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -353,9 +335,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -411,7 +390,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. Optional."
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories?$expand=Products would expand Product data in line with each Category entry. Optional."
},
{
"name": "$select",
Expand All @@ -436,9 +415,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -485,9 +461,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -550,7 +523,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. Optional."
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories?$expand=Products would expand Product data in line with each Category entry. Optional."
},
{
"name": "$select",
Expand All @@ -575,9 +548,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -624,9 +594,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -689,7 +656,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. Optional."
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories?$expand=Products would expand Product data in line with each Category entry. Optional."
},
{
"name": "$select",
Expand All @@ -714,9 +681,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -763,9 +727,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -828,7 +789,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. Optional."
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories?$expand=Products would expand Product data in line with each Category entry. Optional."
},
{
"name": "$select",
Expand All @@ -853,9 +814,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -909,9 +867,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -981,7 +936,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. Optional."
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories?$expand=Products would expand Product data in line with each Category entry. Optional."
},
{
"name": "$select",
Expand All @@ -1006,9 +961,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -1074,7 +1026,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. Optional."
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories?$expand=Products would expand Product data in line with each Category entry. Optional."
},
{
"name": "$select",
Expand All @@ -1099,9 +1051,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -1149,9 +1098,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -1214,7 +1160,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. Optional."
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories?$expand=Products would expand Product data in line with each Category entry. Optional."
},
{
"name": "$select",
Expand All @@ -1239,9 +1185,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -1281,9 +1224,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -1339,7 +1279,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. Optional."
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories?$expand=Products would expand Product data in line with each Category entry. Optional."
},
{
"name": "$select",
Expand All @@ -1364,9 +1304,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -1406,9 +1343,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -1464,7 +1398,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. Optional."
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories?$expand=Products would expand Product data in line with each Category entry. Optional."
},
{
"name": "$select",
Expand All @@ -1489,9 +1423,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -1524,9 +1455,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -1575,7 +1503,7 @@
"in": "query",
"required": false,
"type": "string",
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories/$expand=Products would expand Product data in line with each Category entry. Optional."
"description": "OData expansion. Expand related resources in line with the retrieved resources, e.g. Categories?$expand=Products would expand Product data in line with each Category entry. Optional."
},
{
"name": "$select",
Expand All @@ -1600,9 +1528,6 @@
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
Expand Down Expand Up @@ -2525,13 +2450,6 @@
}
},
"parameters": {
"SubscriptionIdParameter": {
"name": "subscriptionId",
"in": "header",
"required": true,
"type": "string",
"description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
},
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
Expand Down
Loading

0 comments on commit 706cb8f

Please sign in to comment.