Skip to content

Commit ec426de

Browse files
committed
reorder anyOf options and add titles
1 parent ba231d7 commit ec426de

File tree

1 file changed

+21
-18
lines changed

1 file changed

+21
-18
lines changed

airbyte_cdk/sources/declarative/declarative_component_schema.yaml

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1948,10 +1948,10 @@ definitions:
19481948
title: Request Body Payload (Non-JSON)
19491949
description: Specifies how to populate the body of the request with a non-JSON payload. Plain text will be sent as is, whereas objects will be converted to a urlencoded form.
19501950
anyOf:
1951-
- type: string
19521951
- type: object
19531952
additionalProperties:
19541953
type: string
1954+
- type: string
19551955
interpolation_context:
19561956
- next_page_token
19571957
- stream_interval
@@ -1966,9 +1966,9 @@ definitions:
19661966
title: Request Body JSON Payload
19671967
description: Specifies how to populate the body of the request with a JSON payload. Can contain nested objects.
19681968
anyOf:
1969-
- type: string
19701969
- type: object
19711970
additionalProperties: true
1971+
- type: string
19721972
interpolation_context:
19731973
- next_page_token
19741974
- stream_interval
@@ -1985,10 +1985,10 @@ definitions:
19851985
title: Request Headers
19861986
description: Return any non-auth headers. Authentication headers will overwrite any overlapping headers returned from this method.
19871987
anyOf:
1988-
- type: string
19891988
- type: object
19901989
additionalProperties:
19911990
type: string
1991+
- type: string
19921992
interpolation_context:
19931993
- next_page_token
19941994
- stream_interval
@@ -2001,14 +2001,14 @@ definitions:
20012001
title: Query Parameters
20022002
description: Specifies the query parameters that should be set on an outgoing HTTP request given the inputs.
20032003
anyOf:
2004-
- type: string
2005-
title: Interpolated Value
20062004
- type: object
20072005
title: Key/Value Pairs
20082006
additionalProperties:
20092007
anyOf:
20102008
- type: string
20112009
- $ref: "#/definitions/QueryProperties"
2010+
- type: string
2011+
title: Interpolated Value
20122012
interpolation_context:
20132013
- next_page_token
20142014
- stream_interval
@@ -3018,10 +3018,13 @@ definitions:
30183018
description: The stream field to be used to distinguish unique records. Can either be a single field, an array of fields representing a composite key, or an array of arrays representing a composite key where the fields are nested fields.
30193019
anyOf:
30203020
- type: string
3021+
title: Single Key
30213022
- type: array
3023+
title: Composite Key
30223024
items:
30233025
type: string
30243026
- type: array
3027+
title: Composite Key of Nested Fields
30253028
items:
30263029
type: array
30273030
items:
@@ -3412,29 +3415,29 @@ definitions:
34123415
description: PartitionRouter component that describes how to partition the stream, enabling incremental syncs and checkpointing.
34133416
default: []
34143417
anyOf:
3415-
- "$ref": "#/definitions/CustomPartitionRouter"
34163418
- "$ref": "#/definitions/ListPartitionRouter"
34173419
- "$ref": "#/definitions/SubstreamPartitionRouter"
34183420
- "$ref": "#/definitions/GroupingPartitionRouter"
3421+
- "$ref": "#/definitions/CustomPartitionRouter"
34193422
- type: array
34203423
items:
34213424
anyOf:
3422-
- "$ref": "#/definitions/CustomPartitionRouter"
34233425
- "$ref": "#/definitions/ListPartitionRouter"
34243426
- "$ref": "#/definitions/SubstreamPartitionRouter"
34253427
- "$ref": "#/definitions/GroupingPartitionRouter"
3428+
- "$ref": "#/definitions/CustomPartitionRouter"
34263429
decoder:
34273430
title: Decoder
34283431
description: Component decoding the response so records can be extracted.
34293432
anyOf:
3430-
- "$ref": "#/definitions/CustomDecoder"
34313433
- "$ref": "#/definitions/CsvDecoder"
34323434
- "$ref": "#/definitions/GzipDecoder"
34333435
- "$ref": "#/definitions/JsonDecoder"
34343436
- "$ref": "#/definitions/JsonlDecoder"
34353437
- "$ref": "#/definitions/IterableDecoder"
34363438
- "$ref": "#/definitions/XmlDecoder"
34373439
- "$ref": "#/definitions/ZipfileDecoder"
3440+
- "$ref": "#/definitions/CustomDecoder"
34383441
$parameters:
34393442
type: object
34403443
additionalProperties: true
@@ -3542,13 +3545,13 @@ definitions:
35423545
creation_requester:
35433546
description: Requester component that describes how to prepare HTTP requests to send to the source API to create the async server-side job.
35443547
anyOf:
3545-
- "$ref": "#/definitions/CustomRequester"
35463548
- "$ref": "#/definitions/HttpRequester"
3549+
- "$ref": "#/definitions/CustomRequester"
35473550
polling_requester:
35483551
description: Requester component that describes how to prepare HTTP requests to send to the source API to fetch the status of the running async job.
35493552
anyOf:
3550-
- "$ref": "#/definitions/CustomRequester"
35513553
- "$ref": "#/definitions/HttpRequester"
3554+
- "$ref": "#/definitions/CustomRequester"
35523555
polling_job_timeout:
35533556
description: The time in minutes after which the single Async Job should be considered as Timed Out.
35543557
anyOf:
@@ -3559,13 +3562,13 @@ definitions:
35593562
download_target_requester:
35603563
description: Requester component that describes how to prepare HTTP requests to send to the source API to extract the url from polling response by the completed async job.
35613564
anyOf:
3562-
- "$ref": "#/definitions/CustomRequester"
35633565
- "$ref": "#/definitions/HttpRequester"
3566+
- "$ref": "#/definitions/CustomRequester"
35643567
download_requester:
35653568
description: Requester component that describes how to prepare HTTP requests to send to the source API to download the data provided by the completed async job.
35663569
anyOf:
3567-
- "$ref": "#/definitions/CustomRequester"
35683570
- "$ref": "#/definitions/HttpRequester"
3571+
- "$ref": "#/definitions/CustomRequester"
35693572
download_paginator:
35703573
description: Paginator component that describes how to navigate through the API's pages during download.
35713574
anyOf:
@@ -3574,53 +3577,53 @@ definitions:
35743577
abort_requester:
35753578
description: Requester component that describes how to prepare HTTP requests to send to the source API to abort a job once it is timed out from the source's perspective.
35763579
anyOf:
3577-
- "$ref": "#/definitions/CustomRequester"
35783580
- "$ref": "#/definitions/HttpRequester"
3581+
- "$ref": "#/definitions/CustomRequester"
35793582
delete_requester:
35803583
description: Requester component that describes how to prepare HTTP requests to send to the source API to delete a job once the records are extracted.
35813584
anyOf:
3582-
- "$ref": "#/definitions/CustomRequester"
35833585
- "$ref": "#/definitions/HttpRequester"
3586+
- "$ref": "#/definitions/CustomRequester"
35843587
partition_router:
35853588
title: Partition Router
35863589
description: PartitionRouter component that describes how to partition the stream, enabling incremental syncs and checkpointing.
35873590
default: []
35883591
anyOf:
3589-
- "$ref": "#/definitions/CustomPartitionRouter"
35903592
- "$ref": "#/definitions/ListPartitionRouter"
35913593
- "$ref": "#/definitions/SubstreamPartitionRouter"
35923594
- "$ref": "#/definitions/GroupingPartitionRouter"
3595+
- "$ref": "#/definitions/CustomPartitionRouter"
35933596
- type: array
35943597
items:
35953598
anyOf:
3596-
- "$ref": "#/definitions/CustomPartitionRouter"
35973599
- "$ref": "#/definitions/ListPartitionRouter"
35983600
- "$ref": "#/definitions/SubstreamPartitionRouter"
35993601
- "$ref": "#/definitions/GroupingPartitionRouter"
3602+
- "$ref": "#/definitions/CustomPartitionRouter"
36003603
decoder:
36013604
title: Decoder
36023605
description: Component decoding the response so records can be extracted.
36033606
anyOf:
3604-
- "$ref": "#/definitions/CustomDecoder"
36053607
- "$ref": "#/definitions/CsvDecoder"
36063608
- "$ref": "#/definitions/GzipDecoder"
36073609
- "$ref": "#/definitions/JsonDecoder"
36083610
- "$ref": "#/definitions/JsonlDecoder"
36093611
- "$ref": "#/definitions/IterableDecoder"
36103612
- "$ref": "#/definitions/XmlDecoder"
36113613
- "$ref": "#/definitions/ZipfileDecoder"
3614+
- "$ref": "#/definitions/CustomDecoder"
36123615
download_decoder:
36133616
title: Download Decoder
36143617
description: Component decoding the download response so records can be extracted.
36153618
anyOf:
3616-
- "$ref": "#/definitions/CustomDecoder"
36173619
- "$ref": "#/definitions/CsvDecoder"
36183620
- "$ref": "#/definitions/GzipDecoder"
36193621
- "$ref": "#/definitions/JsonDecoder"
36203622
- "$ref": "#/definitions/JsonlDecoder"
36213623
- "$ref": "#/definitions/IterableDecoder"
36223624
- "$ref": "#/definitions/XmlDecoder"
36233625
- "$ref": "#/definitions/ZipfileDecoder"
3626+
- "$ref": "#/definitions/CustomDecoder"
36243627
$parameters:
36253628
type: object
36263629
additionalProperties: true

0 commit comments

Comments
 (0)