Skip to content

Commit d42bdbe

Browse files
committed
poe assemble
1 parent a48742c commit d42bdbe

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

airbyte_cdk/sources/declarative/models/declarative_component_schema.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,6 +1305,12 @@ class InjectInto(Enum):
13051305

13061306
class RequestOption(BaseModel):
13071307
type: Literal["RequestOption"]
1308+
inject_into: InjectInto = Field(
1309+
...,
1310+
description="Configures where the descriptor should be set on the HTTP requests. Note that request parameters that are already encoded in the URL path will not be duplicated.",
1311+
examples=["request_parameter", "header", "body_data", "body_json"],
1312+
title="Inject Into",
1313+
)
13081314
field_name: Optional[str] = Field(
13091315
None,
13101316
description="Configures which key should be used in the location that the descriptor is being injected into. We hope to eventually deprecate this field in favor of `field_path` for all request_options, but must currently maintain it for backwards compatibility in the Builder.",
@@ -1317,12 +1323,6 @@ class RequestOption(BaseModel):
13171323
examples=[["data", "viewer", "id"]],
13181324
title="Field Path",
13191325
)
1320-
inject_into: InjectInto = Field(
1321-
...,
1322-
description="Configures where the descriptor should be set on the HTTP requests. Note that request parameters that are already encoded in the URL path will not be duplicated.",
1323-
examples=["request_parameter", "header", "body_data", "body_json"],
1324-
title="Inject Into",
1325-
)
13261326

13271327

13281328
class Schemas(BaseModel):

0 commit comments

Comments
 (0)