Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Storage] Re-generate autorest with version 5.0.1 #5688

Merged
merged 3 commits into from Oct 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/storage/storage-blob/package.json
Expand Up @@ -21,7 +21,7 @@
},
"scripts": {
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
"build:autorest": "autorest ./swagger/README.md --typescript --use=@microsoft.azure/autorest.typescript@5.0.0",
"build:autorest": "autorest ./swagger/README.md --typescript --use=@microsoft.azure/autorest.typescript@5.0.1",
"build:browserzip": "gulp zip",
"build:es6": "tsc -p tsconfig.json",
"build:nodebrowser": "rollup -c 2>&1",
Expand Down
Expand Up @@ -161,7 +161,8 @@ const createOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.AppendBlobCreateHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.AppendBlobCreateHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -211,7 +212,8 @@ const appendBlockOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.AppendBlobAppendBlockHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.AppendBlobAppendBlockHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -257,7 +259,8 @@ const appendBlockFromUrlOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.AppendBlobAppendBlockFromUrlHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.AppendBlobAppendBlockFromUrlHeaders
}
},
isXML: true,
Expand Down
60 changes: 40 additions & 20 deletions sdk/storage/storage-blob/src/generated/src/operations/blob.ts
Expand Up @@ -655,7 +655,8 @@ const downloadOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobDownloadHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlobDownloadHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -689,7 +690,8 @@ const getPropertiesOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobGetPropertiesHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlobGetPropertiesHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -721,7 +723,8 @@ const deleteMethodOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobDeleteHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlobDeleteHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -756,7 +759,8 @@ const setAccessControlOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobSetAccessControlHeaders
},
default: {
bodyMapper: Mappers.DataLakeStorageError
bodyMapper: Mappers.DataLakeStorageError,
headersMapper: Mappers.BlobSetAccessControlHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -788,7 +792,8 @@ const getAccessControlOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobGetAccessControlHeaders
},
default: {
bodyMapper: Mappers.DataLakeStorageError
bodyMapper: Mappers.DataLakeStorageError,
headersMapper: Mappers.BlobGetAccessControlHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -833,7 +838,8 @@ const renameOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobRenameHeaders
},
default: {
bodyMapper: Mappers.DataLakeStorageError
bodyMapper: Mappers.DataLakeStorageError,
headersMapper: Mappers.BlobRenameHeaders
}
},
isXML: true,
Expand All @@ -859,7 +865,8 @@ const undeleteOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobUndeleteHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlobUndeleteHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -896,7 +903,8 @@ const setHTTPHeadersOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobSetHTTPHeadersHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlobSetHTTPHeadersHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -931,7 +939,8 @@ const setMetadataOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobSetMetadataHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlobSetMetadataHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -964,7 +973,8 @@ const acquireLeaseOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobAcquireLeaseHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlobAcquireLeaseHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -996,7 +1006,8 @@ const releaseLeaseOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobReleaseLeaseHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlobReleaseLeaseHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -1028,7 +1039,8 @@ const renewLeaseOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobRenewLeaseHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlobRenewLeaseHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -1061,7 +1073,8 @@ const changeLeaseOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobChangeLeaseHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlobChangeLeaseHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -1093,7 +1106,8 @@ const breakLeaseOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobBreakLeaseHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlobBreakLeaseHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -1128,7 +1142,8 @@ const createSnapshotOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobCreateSnapshotHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlobCreateSnapshotHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -1166,7 +1181,8 @@ const startCopyFromURLOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobStartCopyFromURLHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlobStartCopyFromURLHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -1204,7 +1220,8 @@ const copyFromURLOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobCopyFromURLHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlobCopyFromURLHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -1233,7 +1250,8 @@ const abortCopyFromURLOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobAbortCopyFromURLHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlobAbortCopyFromURLHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -1265,7 +1283,8 @@ const setTierOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobSetTierHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlobSetTierHeaders
}
},
isXML: true,
Expand All @@ -1290,7 +1309,8 @@ const getAccountInfoOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlobGetAccountInfoHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlobGetAccountInfoHeaders
}
},
isXML: true,
Expand Down
15 changes: 10 additions & 5 deletions sdk/storage/storage-blob/src/generated/src/operations/blockBlob.ts
Expand Up @@ -266,7 +266,8 @@ const uploadOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlockBlobUploadHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlockBlobUploadHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -311,7 +312,8 @@ const stageBlockOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlockBlobStageBlockHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlockBlobStageBlockHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -351,7 +353,8 @@ const stageBlockFromURLOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlockBlobStageBlockFromURLHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlockBlobStageBlockFromURLHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -403,7 +406,8 @@ const commitBlockListOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlockBlobCommitBlockListHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlockBlobCommitBlockListHeaders
}
},
isXML: true,
Expand Down Expand Up @@ -433,7 +437,8 @@ const getBlockListOperationSpec: coreHttp.OperationSpec = {
headersMapper: Mappers.BlockBlobGetBlockListHeaders
},
default: {
bodyMapper: Mappers.StorageError
bodyMapper: Mappers.StorageError,
headersMapper: Mappers.BlockBlobGetBlockListHeaders
}
},
isXML: true,
Expand Down