Skip to content

Commit e8b776c

Browse files
committed
feat(api-gateway): Declare type field for CubeMeta
1 parent 9346f21 commit e8b776c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/cubejs-api-gateway/openspec.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ components:
151151
type: "object"
152152
required:
153153
- name
154+
- type
154155
- measures
155156
- dimensions
156157
- segments
@@ -159,6 +160,8 @@ components:
159160
type: "string"
160161
title:
161162
type: "string"
163+
type:
164+
$ref: "#/components/schemas/V1CubeMetaType"
162165
description:
163166
type: "string"
164167
measures:
@@ -177,6 +180,11 @@ components:
177180
type: "array"
178181
items:
179182
$ref: "#/components/schemas/V1CubeMetaJoin"
183+
V1CubeMetaType:
184+
type: "string"
185+
enum:
186+
- "cube"
187+
- "view"
180188
V1MetaResponse:
181189
type: "object"
182190
properties:

0 commit comments

Comments
 (0)