Skip to content

Commit 243451f

Browse files
committed
poe assemble
1 parent 0b3a30f commit 243451f

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
@@ -1307,6 +1307,12 @@ class InjectInto(Enum):
13071307

13081308
class RequestOption(BaseModel):
13091309
type: Literal["RequestOption"]
1310+
inject_into: InjectInto = Field(
1311+
...,
1312+
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.",
1313+
examples=["request_parameter", "header", "body_data", "body_json"],
1314+
title="Inject Into",
1315+
)
13101316
field_name: Optional[str] = Field(
13111317
None,
13121318
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.",
@@ -1319,12 +1325,6 @@ class RequestOption(BaseModel):
13191325
examples=[["data", "viewer", "id"]],
13201326
title="Field Path",
13211327
)
1322-
inject_into: InjectInto = Field(
1323-
...,
1324-
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.",
1325-
examples=["request_parameter", "header", "body_data", "body_json"],
1326-
title="Inject Into",
1327-
)
13281328

13291329

13301330
class Schemas(BaseModel):

0 commit comments

Comments
 (0)