Skip to content

Commit

Permalink
chore: update swagger.json from lightdash
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 9, 2024
1 parent 47752da commit 2826c14
Showing 1 changed file with 44 additions and 21 deletions.
65 changes: 44 additions & 21 deletions swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -4226,14 +4226,6 @@
"UpdateDBProjectGroupAccess": {
"$ref": "#/components/schemas/Pick_DBProjectGroupAccess.role_"
},
"Record_string._value-ResultValue--__": {
"properties": {},
"type": "object",
"description": "Construct a type with a set of properties K of type T"
},
"ResultRow": {
"$ref": "#/components/schemas/Record_string._value-ResultValue--__"
},
"Record_string.Field-or-TableCalculation-or-CustomDimension-or-Metric_": {
"properties": {},
"type": "object",
Expand All @@ -4242,31 +4234,62 @@
"ItemsMap": {
"$ref": "#/components/schemas/Record_string.Field-or-TableCalculation-or-CustomDimension-or-Metric_"
},
"MetricsExplorerQueryResults": {
"MetricExploreDataPoint": {
"properties": {
"fields": {
"$ref": "#/components/schemas/ItemsMap"
"compareMetric": {
"type": "number",
"format": "double",
"nullable": true
},
"comparisonRows": {
"items": {
"$ref": "#/components/schemas/ResultRow"
},
"type": "array"
"metric": {
"type": "number",
"format": "double",
"nullable": true
},
"rows": {
"date": {
"type": "string",
"format": "date-time"
}
},
"required": ["compareMetric", "metric", "date"],
"type": "object"
},
"MetricExploreDataPointWithDateValue": {
"allOf": [
{
"$ref": "#/components/schemas/MetricExploreDataPoint"
},
{
"properties": {
"dateValue": {
"type": "number",
"format": "double"
}
},
"required": ["dateValue"],
"type": "object"
}
]
},
"MetricsExplorerQueryResults": {
"properties": {
"results": {
"items": {
"$ref": "#/components/schemas/ResultRow"
"$ref": "#/components/schemas/MetricExploreDataPointWithDateValue"
},
"type": "array"
},
"comparisonMetric": {
"fields": {
"$ref": "#/components/schemas/ItemsMap"
},
"compareMetric": {
"$ref": "#/components/schemas/MetricWithAssociatedTimeDimension"
},
"metric": {
"$ref": "#/components/schemas/MetricWithAssociatedTimeDimension"
}
},
"required": ["fields", "rows", "metric"],
"required": ["results", "fields", "metric"],
"type": "object"
},
"ApiMetricsExplorerQueryResults": {
Expand Down Expand Up @@ -14432,7 +14455,7 @@
}
],
"requestBody": {
"required": false,
"required": true,
"content": {
"application/json": {
"schema": {
Expand Down

0 comments on commit 2826c14

Please sign in to comment.