Skip to content

Commit e0391b9

Browse files
committed
remove examples from request_body
1 parent f30770b commit e0391b9

File tree

2 files changed

+0
-52
lines changed

2 files changed

+0
-52
lines changed

airbyte_cdk/sources/declarative/declarative_component_schema.yaml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2140,30 +2140,6 @@ definitions:
21402140
- stream_interval
21412141
- stream_partition
21422142
- stream_slice
2143-
examples:
2144-
- type: RequestBodyJsonObject
2145-
value:
2146-
sort_order: "ASC"
2147-
sort_field: "CREATED_AT"
2148-
- type: RequestBodyJsonObject
2149-
value:
2150-
key: "{{ config['value'] }}"
2151-
- type: RequestBodyJsonObject
2152-
value:
2153-
sort:
2154-
field: "updated_at"
2155-
order: "ascending"
2156-
- type: RequestBodyPlainText
2157-
value: "plain_text_body"
2158-
- type: RequestBodyUrlEncodedForm
2159-
value:
2160-
param1: "value1"
2161-
param2: "{{ config['param2_value'] }}"
2162-
- type: RequestBodyGraphQL
2163-
value:
2164-
query:
2165-
param1: "value1"
2166-
param2: "{{ config['param2_value'] }}"
21672143
error_handler:
21682144
title: Error Handler
21692145
description: Error handler component that defines how to handle errors.

airbyte_cdk/sources/declarative/models/declarative_component_schema.py

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2595,34 +2595,6 @@ class HttpRequester(BaseModelWithDeprecations):
25952595
] = Field(
25962596
None,
25972597
description="Specifies how to populate the body of the request with a payload. Can contain nested objects.",
2598-
examples=[
2599-
{
2600-
"type": "RequestBodyJsonObject",
2601-
"value": {"sort_order": "ASC", "sort_field": "CREATED_AT"},
2602-
},
2603-
{
2604-
"type": "RequestBodyJsonObject",
2605-
"value": {"key": "{{ config['value'] }}"},
2606-
},
2607-
{
2608-
"type": "RequestBodyJsonObject",
2609-
"value": {"sort": {"field": "updated_at", "order": "ascending"}},
2610-
},
2611-
{"type": "RequestBodyPlainText", "value": "plain_text_body"},
2612-
{
2613-
"type": "RequestBodyUrlEncodedForm",
2614-
"value": {"param1": "value1", "param2": "{{ config['param2_value'] }}"},
2615-
},
2616-
{
2617-
"type": "RequestBodyGraphQL",
2618-
"value": {
2619-
"query": {
2620-
"param1": "value1",
2621-
"param2": "{{ config['param2_value'] }}",
2622-
}
2623-
},
2624-
},
2625-
],
26262598
title="Request Body",
26272599
)
26282600
error_handler: Optional[

0 commit comments

Comments
 (0)