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

AAS - Fix Swagger Correctness Issue V4 #12531

Merged
merged 10 commits into from
Jan 22, 2021
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@
"$ref": "#/definitions/AnalysisServicesServer"
}
},
"202": {
"description": "Preparing. The operation is still completing.",
"schema": {
"$ref": "#/definitions/AnalysisServicesServer"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -569,6 +575,9 @@
"202": {
"description": "Accepted. The operation is ongoing."
},
"204": {
"description": "No Content."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -708,6 +717,108 @@
"description": "The origin",
"type": "string",
"readOnly": true
},
"properties": {
"description": "Additional properties to expose performance metrics to shoebox.",
"properties": {
"serviceSpecification": {
"description": "Performance metrics to shoebox.",
"properties": {
"metricSpecifications": {
"description": "The metric specifications.",
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/definitions/MetricSpecifications"
}
},
"logSpecifications": {
"description": "The log specifications.",
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/definitions/LogSpecifications"
}
}
}
}
}
}
}
},
"MetricSpecifications": {
"description": "Available operation metric specification for exposing performance metrics to shoebox.",
"type": "object",
"properties": {
"name": {
"description": "The name of metric.",
"type": "string",
"readOnly": true
},
"displayName": {
"description": "The displayed name of metric.",
"type": "string",
"readOnly": true
},
"displayDescription": {
"description": "The displayed description of metric.",
"type": "string",
"readOnly": true
},
"unit": {
"description": "The unit of the metric.",
"type": "string",
"readOnly": true
},
"aggregationType": {
"description": "The aggregation type of metric.",
"type": "string",
"readOnly": true
},
"dimensions": {
"description": "The dimensions of metric.",
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/definitions/MetricDimensions"
}
}
}
},
"LogSpecifications": {
"description": "The log metric specification for exposing performance metrics to shoebox.",
"type": "object",
"properties": {
"name": {
"description": "The name of metric.",
"type": "string",
"readOnly": true
},
"displayName": {
"description": "The displayed name of log.",
"type": "string",
"readOnly": true
},
"blobDuration": {
"description": "The blob duration for the log.",
"type": "string",
"readOnly": true
}
}
},
"MetricDimensions": {
"description": "Metric dimension.",
"type": "object",
"properties": {
"name": {
"description": "Dimension name.",
"type": "string",
"readOnly": true
},
"displayName": {
"description": "Dimension display name.",
"type": "string",
"readOnly": true
}
}
},
Expand Down Expand Up @@ -1175,6 +1286,11 @@
"type": "integer",
"format": "int32"
},
"timeStamp": {
"description": "the timestamp for the error.",
"type": "string",
"readOnly": true
},
"details": {
"readOnly": true,
"type": "array",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,108 @@
"description": "The origin",
"type": "string",
"readOnly": true
},
"properties": {
"description": "Additional properties to expose performance metrics to shoebox.",
"properties": {
"serviceSpecification": {
"description": "Performance metrics to shoebox.",
"properties": {
"metricSpecifications": {
"description": "The metric specifications.",
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/definitions/MetricSpecifications"
}
},
"logSpecifications": {
"description": "The log specifications.",
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/definitions/LogSpecifications"
}
}
}
}
}
}
}
},
"MetricSpecifications": {
"description": "Available operation metric specification for exposing performance metrics to shoebox.",
"type": "object",
"properties": {
"name": {
"description": "The name of metric.",
"type": "string",
"readOnly": true
},
"displayName": {
"description": "The displayed name of metric.",
"type": "string",
"readOnly": true
},
"displayDescription": {
"description": "The displayed description of metric.",
"type": "string",
"readOnly": true
},
"unit": {
"description": "The unit of the metric.",
"type": "string",
"readOnly": true
},
"aggregationType": {
"description": "The aggregation type of metric.",
"type": "string",
"readOnly": true
},
"dimensions": {
"description": "The dimensions of metric.",
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/definitions/MetricDimensions"
}
}
}
},
"LogSpecifications": {
"description": "The log metric specification for exposing performance metrics to shoebox.",
"type": "object",
"properties": {
"name": {
"description": "The name of metric.",
"type": "string",
"readOnly": true
},
"displayName": {
"description": "The displayed name of log.",
"type": "string",
"readOnly": true
},
"blobDuration": {
"description": "The blob duration for the log.",
"type": "string",
"readOnly": true
}
}
},
"MetricDimensions": {
"description": "Metric dimension.",
"type": "object",
"properties": {
"name": {
"description": "Dimension name.",
"type": "string",
"readOnly": true
},
"displayName": {
"description": "Dimension display name.",
"type": "string",
"readOnly": true
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@
"$ref": "#/definitions/AnalysisServicesServer"
}
},
"202": {
"description": "Preparing. The operation is still completing.",
"schema": {
"$ref": "#/definitions/AnalysisServicesServer"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -850,6 +856,108 @@
"description": "The origin",
"type": "string",
"readOnly": true
},
"properties": {
"description": "Additional properties to expose performance metrics to shoebox.",
"properties": {
"serviceSpecification": {
"description": "Performance metrics to shoebox.",
"properties": {
"metricSpecifications": {
"description": "The metric specifications.",
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/definitions/MetricSpecifications"
}
},
"logSpecifications": {
"description": "The log specifications.",
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/definitions/LogSpecifications"
}
}
}
}
}
}
}
},
"MetricSpecifications": {
"description": "Available operation metric specification for exposing performance metrics to shoebox.",
"type": "object",
"properties": {
"name": {
"description": "The name of metric.",
"type": "string",
"readOnly": true
},
"displayName": {
"description": "The displayed name of metric.",
"type": "string",
"readOnly": true
},
"displayDescription": {
"description": "The displayed description of metric.",
"type": "string",
"readOnly": true
},
"unit": {
"description": "The unit of the metric.",
"type": "string",
"readOnly": true
},
"aggregationType": {
"description": "The aggregation type of metric.",
"type": "string",
"readOnly": true
},
"dimensions": {
"description": "The dimensions of metric.",
"type": "array",
"readOnly": true,
"items": {
"$ref": "#/definitions/MetricDimensions"
}
}
}
},
"LogSpecifications": {
"description": "The log metric specification for exposing performance metrics to shoebox.",
"type": "object",
"properties": {
"name": {
"description": "The name of metric.",
"type": "string",
"readOnly": true
},
"displayName": {
"description": "The displayed name of log.",
"type": "string",
"readOnly": true
},
"blobDuration": {
"description": "The blob duration for the log.",
"type": "string",
"readOnly": true
}
}
},
"MetricDimensions": {
"description": "Metric dimension.",
"type": "object",
"properties": {
"name": {
"description": "Dimension name.",
"type": "string",
"readOnly": true
},
"displayName": {
"description": "Dimension display name.",
"type": "string",
"readOnly": true
}
}
},
Expand Down Expand Up @@ -1439,6 +1547,11 @@
"type": "integer",
"format": "int32"
},
"timeStamp": {
"description": "the timestamp for the error.",
"type": "string",
"readOnly": true
},
"details": {
"readOnly": true,
"type": "array",
Expand Down
Loading