Skip to content

Commit 54b6bff

Browse files
committed
undo default value changes
1 parent 6991d8d commit 54b6bff

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

airbyte_cdk/sources/declarative/declarative_component_schema.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,7 +1355,7 @@ definitions:
13551355
type: array
13561356
items:
13571357
type: string
1358-
default: ["access_token"]
1358+
default: ["credentials", "access_token"]
13591359
examples:
13601360
- ["credentials", "access_token"]
13611361
- ["access_token"]
@@ -1365,7 +1365,7 @@ definitions:
13651365
type: array
13661366
items:
13671367
type: string
1368-
default: ["refresh_token"]
1368+
default: ["credentials", "refresh_token"]
13691369
examples:
13701370
- ["credentials", "refresh_token"]
13711371
- ["refresh_token"]
@@ -1375,7 +1375,7 @@ definitions:
13751375
type: array
13761376
items:
13771377
type: string
1378-
default: ["token_expiry_date"]
1378+
default: ["credentials", "token_expiry_date"]
13791379
examples:
13801380
- ["credentials", "token_expiry_date"]
13811381
refresh_token_error_status_codes:

airbyte_cdk/sources/declarative/models/declarative_component_schema.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -477,19 +477,19 @@ class RefreshTokenUpdater(BaseModel):
477477
title="Refresh Token Property Name",
478478
)
479479
access_token_config_path: Optional[List[str]] = Field(
480-
["access_token"],
480+
["credentials", "access_token"],
481481
description="Config path to the access token. Make sure the field actually exists in the config.",
482482
examples=[["credentials", "access_token"], ["access_token"]],
483483
title="Config Path To Access Token",
484484
)
485485
refresh_token_config_path: Optional[List[str]] = Field(
486-
["refresh_token"],
486+
["credentials", "refresh_token"],
487487
description="Config path to the access token. Make sure the field actually exists in the config.",
488488
examples=[["credentials", "refresh_token"], ["refresh_token"]],
489489
title="Config Path To Refresh Token",
490490
)
491491
token_expiry_date_config_path: Optional[List[str]] = Field(
492-
["token_expiry_date"],
492+
["credentials", "token_expiry_date"],
493493
description="Config path to the expiry date. Make sure actually exists in the config.",
494494
examples=[["credentials", "token_expiry_date"]],
495495
title="Config Path To Expiry Date",

0 commit comments

Comments
 (0)