Skip to content

Commit

Permalink
feat(cubeclient): Granularity is an optional field
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Nov 2, 2021
1 parent cd2b4ac commit c381570
Show file tree
Hide file tree
Showing 23 changed files with 169 additions and 176 deletions.
7 changes: 3 additions & 4 deletions packages/cubejs-api-gateway/openspec.yml
Expand Up @@ -13,7 +13,7 @@ paths:
"200":
description: "successful operation"
content:
application/json:
application/json:
schema:
$ref: "#/components/schemas/V1MetaResponse"
"/v1/load":
Expand Down Expand Up @@ -113,7 +113,7 @@ components:
properties:
cubes:
type: "array"
items:
items:
$ref: "#/components/schemas/V1CubeMeta"
V1LoadResultAnnotation:
type: "object"
Expand Down Expand Up @@ -202,15 +202,14 @@ components:
type: "object"
required:
- "dimension"
- "granularity"
properties:
dimension:
type: "string"
granularity:
type: "string"
dateRange:
type: "object"
# Dont work in rust code-gen
# Don't work in rust code-gen
# oneOf:
# - type: "string"
# - type: "array"
Expand Down

0 comments on commit c381570

Please sign in to comment.