Skip to content

Commit

Permalink
Generated from 94667089d429b4f1aca38e60f85b13f5c0039219 (#108)
Browse files Browse the repository at this point in the history
Align File swagger with the Blob swagger
  • Loading branch information
openapi-sdkautomation[bot] authored and SDK Automation committed Oct 18, 2019
1 parent 70be78e commit 6588e88
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
3 changes: 2 additions & 1 deletion sdk/storage/arm-storage/src/models/fileServicesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export {
BaseResource,
BlobContainer,
BlobServiceProperties,
CloudError,
CorsRule,
CorsRules,
CustomDomain,
Expand All @@ -23,6 +22,8 @@ export {
EncryptionService,
EncryptionServices,
Endpoints,
ErrorResponse,
ErrorResponseBody,
FileServiceItems,
FileServiceProperties,
FileShare,
Expand Down
3 changes: 2 additions & 1 deletion sdk/storage/arm-storage/src/models/fileSharesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export {
BaseResource,
BlobContainer,
BlobServiceProperties,
CloudError,
CorsRule,
CorsRules,
CustomDomain,
Expand All @@ -23,6 +22,8 @@ export {
EncryptionService,
EncryptionServices,
Endpoints,
ErrorResponse,
ErrorResponseBody,
FileServiceProperties,
FileShare,
FileShareItem,
Expand Down
6 changes: 3 additions & 3 deletions sdk/storage/arm-storage/src/operations/fileServices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const listOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.FileServiceItems
},
default: {
bodyMapper: Mappers.CloudError
bodyMapper: Mappers.ErrorResponse
}
},
serializer
Expand Down Expand Up @@ -211,7 +211,7 @@ const setServicePropertiesOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.FileServiceProperties
},
default: {
bodyMapper: Mappers.CloudError
bodyMapper: Mappers.ErrorResponse
}
},
serializer
Expand All @@ -237,7 +237,7 @@ const getServicePropertiesOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.FileServiceProperties
},
default: {
bodyMapper: Mappers.CloudError
bodyMapper: Mappers.ErrorResponse
}
},
serializer
Expand Down
12 changes: 6 additions & 6 deletions sdk/storage/arm-storage/src/operations/fileShares.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ const listOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.FileShareItems
},
default: {
bodyMapper: Mappers.CloudError
bodyMapper: Mappers.ErrorResponse
}
},
serializer
Expand Down Expand Up @@ -384,7 +384,7 @@ const createOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.FileShare
},
default: {
bodyMapper: Mappers.CloudError
bodyMapper: Mappers.ErrorResponse
}
},
serializer
Expand Down Expand Up @@ -426,7 +426,7 @@ const updateOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.FileShare
},
default: {
bodyMapper: Mappers.CloudError
bodyMapper: Mappers.ErrorResponse
}
},
serializer
Expand All @@ -452,7 +452,7 @@ const getOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.FileShare
},
default: {
bodyMapper: Mappers.CloudError
bodyMapper: Mappers.ErrorResponse
}
},
serializer
Expand All @@ -477,7 +477,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
200: {},
204: {},
default: {
bodyMapper: Mappers.CloudError
bodyMapper: Mappers.ErrorResponse
}
},
serializer
Expand All @@ -498,7 +498,7 @@ const listNextOperationSpec: msRest.OperationSpec = {
bodyMapper: Mappers.FileShareItems
},
default: {
bodyMapper: Mappers.CloudError
bodyMapper: Mappers.ErrorResponse
}
},
serializer
Expand Down

0 comments on commit 6588e88

Please sign in to comment.