Skip to content

Commit 8be3833

Browse files
authored
fix: update decoder title & descriptions for improved tooltip (#434)
1 parent 274d1f2 commit 8be3833

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

Diff for: airbyte_cdk/sources/declarative/declarative_component_schema.yaml

+14-9
Original file line numberDiff line numberDiff line change
@@ -2197,7 +2197,8 @@ definitions:
21972197
type: object
21982198
additionalProperties: true
21992199
JsonDecoder:
2200-
title: Json Decoder
2200+
title: JSON
2201+
description: Select 'JSON' if the response is formatted as a JSON object.
22012202
type: object
22022203
required:
22032204
- type
@@ -2206,8 +2207,8 @@ definitions:
22062207
type: string
22072208
enum: [JsonDecoder]
22082209
JsonlDecoder:
2209-
title: JSONL Decoder
2210-
description: Use this if the response consists of JSON objects separated by new lines (`\n`) in JSONL format.
2210+
title: JSON Lines
2211+
description: Select 'JSON Lines' if the response consists of JSON objects separated by new lines ('\n') in JSONL format.
22112212
type: object
22122213
required:
22132214
- type
@@ -2332,8 +2333,8 @@ definitions:
23322333
type: object
23332334
additionalProperties: true
23342335
IterableDecoder:
2335-
title: Iterable Decoder
2336-
description: Use this if the response consists of strings separated by new lines (`\n`). The Decoder will wrap each row into a JSON object with the `record` key.
2336+
title: Iterable
2337+
description: Select 'Iterable' if the response consists of strings separated by new lines (`\n`). The string will then be wrapped into a JSON object with the `record` key.
23372338
type: object
23382339
required:
23392340
- type
@@ -2342,8 +2343,8 @@ definitions:
23422343
type: string
23432344
enum: [IterableDecoder]
23442345
XmlDecoder:
2345-
title: XML Decoder
2346-
description: Use this if the response is XML.
2346+
title: XML
2347+
description: Select 'XML' if the response consists of XML-formatted data.
23472348
type: object
23482349
required:
23492350
- type
@@ -2374,8 +2375,8 @@ definitions:
23742375
type: object
23752376
additionalProperties: true
23762377
ZipfileDecoder:
2377-
title: Zipfile Decoder
2378-
description: Decoder for response data that is returned as zipfile(s).
2378+
title: ZIP File
2379+
description: Select 'ZIP file' for response data that is returned as a zipfile. Requires specifying an inner data type/decoder to parse the unzipped data.
23792380
type: object
23802381
additionalProperties: true
23812382
required:
@@ -3281,6 +3282,8 @@ definitions:
32813282
type: object
32823283
additionalProperties: true
32833284
GzipDecoder:
3285+
title: gzip
3286+
description: Select 'gzip' for response data that is compressed with gzip. Requires specifying an inner data type/decoder to parse the decompressed data.
32843287
type: object
32853288
required:
32863289
- type
@@ -3296,6 +3299,8 @@ definitions:
32963299
- "$ref": "#/definitions/JsonDecoder"
32973300
- "$ref": "#/definitions/JsonlDecoder"
32983301
CsvDecoder:
3302+
title: CSV
3303+
description: "Select 'CSV' for response data that is formatted as CSV (comma-separated values). Can specify an encoding (default: 'utf-8') and a delimiter (default: ',')."
32993304
type: object
33003305
required:
33013306
- type

0 commit comments

Comments
 (0)