You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: airbyte-connector-builder-server/connector_builder/impl/default_api.py
+47-47Lines changed: 47 additions & 47 deletions
Original file line number
Diff line number
Diff line change
@@ -30,53 +30,53 @@ class DefaultApiImpl(DefaultApi):
30
30
asyncdefget_manifest_template(self) ->str:
31
31
return"""version: "0.1.0"
32
32
33
-
definitions:
34
-
selector:
35
-
extractor:
36
-
field_pointer: []
37
-
requester:
38
-
url_base: "https://example.com"
39
-
http_method: "GET"
40
-
authenticator:
41
-
type: BearerAuthenticator
42
-
api_token: "{{ config['api_key'] }}"
43
-
retriever:
44
-
record_selector:
45
-
$ref: "*ref(definitions.selector)"
46
-
paginator:
47
-
type: NoPagination
48
-
requester:
49
-
$ref: "*ref(definitions.requester)"
50
-
base_stream:
51
-
retriever:
52
-
$ref: "*ref(definitions.retriever)"
53
-
customers_stream:
54
-
$ref: "*ref(definitions.base_stream)"
55
-
$options:
56
-
name: "customers"
57
-
primary_key: "id"
58
-
path: "/example"
59
-
60
-
streams:
61
-
- "*ref(definitions.customers_stream)"
62
-
63
-
check:
64
-
stream_names:
65
-
- "customers"
66
-
67
-
spec:
68
-
documentation_url: https://docsurl.com
69
-
connection_specification:
70
-
title: Source Name Spec # 'TODO: Replace this with the name of your source.'
71
-
type: object
72
-
required:
73
-
- api_key
74
-
additionalProperties: true
75
-
properties:
76
-
# 'TODO: This schema defines the configuration required for the source. This usually involves metadata such as database and/or authentication information.':
77
-
api_key:
78
-
type: string
79
-
description: API Key
33
+
definitions:
34
+
selector:
35
+
extractor:
36
+
field_pointer: []
37
+
requester:
38
+
url_base: "https://example.com"
39
+
http_method: "GET"
40
+
authenticator:
41
+
type: BearerAuthenticator
42
+
api_token: "{{ config['api_key'] }}"
43
+
retriever:
44
+
record_selector:
45
+
$ref: "*ref(definitions.selector)"
46
+
paginator:
47
+
type: NoPagination
48
+
requester:
49
+
$ref: "*ref(definitions.requester)"
50
+
base_stream:
51
+
retriever:
52
+
$ref: "*ref(definitions.retriever)"
53
+
customers_stream:
54
+
$ref: "*ref(definitions.base_stream)"
55
+
$options:
56
+
name: "customers"
57
+
primary_key: "id"
58
+
path: "/example"
59
+
60
+
streams:
61
+
- "*ref(definitions.customers_stream)"
62
+
63
+
check:
64
+
stream_names:
65
+
- "customers"
66
+
67
+
spec:
68
+
documentation_url: https://docsurl.com
69
+
connection_specification:
70
+
title: Source Name Spec # 'TODO: Replace this with the name of your source.'
71
+
type: object
72
+
required:
73
+
- api_key
74
+
additionalProperties: true
75
+
properties:
76
+
# 'TODO: This schema defines the configuration required for the source. This usually involves metadata such as database and/or authentication information.':
0 commit comments