Update openapi spec to latest version
@@ -618,7 +618,7 @@ components:
properties:
type:
description: The type of the dataset.
- type: enum
+ type: string
enum: [DB_TABLE]
physicalName:
description: The **physical** name of the table.
@@ -636,11 +636,12 @@ components:
description: The name of the field.
type: string
type:
- description: The type of the field.
- type: enum
+ $ref: '#/components/schemas/fieldType'
tags:
description: List of tags.
type: array
+ items:
+ $ref: '#/components/schemas/tag'
description:
description: The description of the field.
type: string
@@ -650,6 +651,8 @@ components:
tags:
description: List of tags.
type: array
+ items:
+ $ref: '#/components/schemas/tag'
description:
description: The description of the table.
type: string
@@ -678,7 +681,7 @@ components:
properties:
type:
description: The type of the dataset.
- type: enum
+ type: string
enum: [STREAM]
physicalName:
description: The **physical** name of the stream.
@@ -700,10 +703,12 @@ components:
type: string
type:
description: The type of the field.
- type: enum
+ type: string
tags:
description: List of tags.
type: array
+ items:
+ $ref: '#/components/schemas/tag'
description:
description: The description of the field.
type: string
@@ -713,6 +718,8 @@ components:
tags:
description: List of tags.
type: array
+ items:
+ $ref: '#/components/schemas/tag'
description:
description: The description of the stream.
type: string
@@ -778,17 +785,20 @@ components:
description: The name of the field.
type: string
type:
- description: The type of the field.
- type: enum
+ $ref: '#/components/schemas/fieldType'
tags:
description: List of tags.
type: array
+ items:
+ $ref: '#/components/schemas/tag'
description:
description: The description of the field.
type: string
tags:
description: List of tags.
type: array
+ items:
+ $ref: '#/components/schemas/tag'
lastModifiedAt:
description: An [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp representing the date/time the dataset was last modified by a successful run.
type: string
@@ -1221,7 +1231,6 @@ components:
durationMs: 4250894125
args: {'email': 'me@example.com', 'emailOnFailure': 'false', 'emailOnRetry': 'true', 'retries': '1'}
-
runAsFailed:
type: object
properties:
@@ -1337,3 +1346,7 @@ components:
items:
$ref: '#/components/schemas/runAsCompleted'
+ fieldType:
+ description: The type of the field.
+ type: string
+ enum: [ARRAY, BIGINT, BINARY, BOOL, BOOLEAN, BPCHAR, CHAR, CHARACTER, DATE, DATETIME, DECIMAL, DOUBLE, FLOAT, FLOAT4, FLOAT8, GEOMETRY, INT, INT2, INT4, INT8, INTEGER, NCHAR, NUMBER, NUMERIC, NVARCHAR, OBJECT, REAL, SMALLINT, STRING, TEXT, TIME, TIMESTAMP, TIMESTAMPTZ, TIMESTAMP_LTZ, TIMESTAMP_NTZ, TIMESTAMP_TZ, VARBINARY, VARCHAR, VARIANT, VARYING]
\ No newline at end of file
