diff --git a/airbyte_cdk/sources/declarative/declarative_component_schema.yaml b/airbyte_cdk/sources/declarative/declarative_component_schema.yaml index bac932c06..85faaca6a 100644 --- a/airbyte_cdk/sources/declarative/declarative_component_schema.yaml +++ b/airbyte_cdk/sources/declarative/declarative_component_schema.yaml @@ -1838,6 +1838,7 @@ definitions: "$ref": "#/definitions/RequestOption" page_token_option: title: Inject Page Token Into Outgoing HTTP Request + description: Inject the page token into the outgoing HTTP requests by inserting it into either the request URL path or a field on the request. anyOf: - "$ref": "#/definitions/RequestOption" - "$ref": "#/definitions/RequestPath" @@ -3486,7 +3487,7 @@ definitions: - [["content", "html"], ["content", "plain_text"]] RequestPath: title: Request Path - description: Specifies where in the request path a component's value should be inserted. + description: The URL path to be used for the HTTP request. type: object required: - type diff --git a/airbyte_cdk/sources/declarative/models/declarative_component_schema.py b/airbyte_cdk/sources/declarative/models/declarative_component_schema.py index e20a6a672..0de10753f 100644 --- a/airbyte_cdk/sources/declarative/models/declarative_component_schema.py +++ b/airbyte_cdk/sources/declarative/models/declarative_component_schema.py @@ -2002,7 +2002,9 @@ class DefaultPaginator(BaseModel): None, title="Inject Page Size Into Outgoing HTTP Request" ) page_token_option: Optional[Union[RequestOption, RequestPath]] = Field( - None, title="Inject Page Token Into Outgoing HTTP Request" + None, + description="Inject the page token into the outgoing HTTP requests by inserting it into either the request URL path or a field on the request.", + title="Inject Page Token Into Outgoing HTTP Request", ) parameters: Optional[Dict[str, Any]] = Field(None, alias="$parameters")