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

[Microsoft.StorageSync] Update 2020-03-01 and 2020-09-01 specifications to address swagger correctness and completeness items. #16041

Merged
merged 5 commits into from
Oct 8, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
Fix semantic validation error for 2020-09-01 and fix a typo in 2020-0…
…3-01
  • Loading branch information
anpint committed Sep 14, 2021
commit 6cf58185b894c29680ece82fcd705f000d51b86d
Original file line number Diff line number Diff line change
Expand Up @@ -3099,7 +3099,7 @@
"tags": [
"Operation Status"
],
"operationId": "LocationOperationStatus_Get",
"operationId": "LocationOperationStatus",
"description": "Get Operation status",
"x-ms-examples": {
"Workflows_Get": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3071,63 +3071,63 @@
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/locations/{locationName}/operations/{operationId}": {
"get": {
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
},
{
"name": "locationName",
"in": "path",
"required": true,
"type": "string",
"description": "The desired region to obtain information from."
},
"/subscriptions/{subscriptionId}/providers/Microsoft.StorageSync/locations/{locationName}/operations/{operationId}": {
"get": {
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
},
{
"name": "locationName",
"in": "path",
"required": true,
"type": "string",
"description": "The desired region to obtain information from."
},
{
"name": "operationId",
"in": "path",
"description": "operation Id",
"required": true,
"type": "string"
}
],
"tags": [
"Operation Status"
],
"operationId": "LocationOperationStatus",
"description": "Get Operation status",
"x-ms-examples": {
"Workflows_Get": {
"$ref": "./examples/LocationOperationStatus_Get.json"
}
},
{
"name": "operationId",
"in": "path",
"description": "operation Id",
"required": true,
"type": "string"
}
],
"tags": [
"Operation Status"
],
"operationId": "LocationOperationStatus",
"description": "Get Operation status",
"x-ms-examples": {
"Workflows_Get": {
"$ref": "./examples/LocationOperationStatus_Get.json"
}
},
"responses": {
"200": {
"description": "Operation Status",
"schema": {
"$ref": "#/definitions/LocationOperationStatus"
},
"headers": {
"x-ms-request-id": {
"description": "request id.",
"type": "string"
"responses": {
"200": {
"description": "Operation Status",
"schema": {
"$ref": "#/definitions/LocationOperationStatus"
},
"x-ms-correlation-request-id": {
"description": "correlation request id.",
"type": "string"
"headers": {
"x-ms-request-id": {
"description": "request id.",
"type": "string"
},
"x-ms-correlation-request-id": {
"description": "correlation request id.",
"type": "string"
}
}
},
"default": {
"description": "Error message indicating why the operation failed.",
"schema": {
"$ref": "#/definitions/StorageSyncError"
}
}
},
"default": {
"description": "Error message indicating why the operation failed.",
"schema": {
"$ref": "#/definitions/StorageSyncError"
}
}
}
Expand Down