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
+50-1Lines changed: 50 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,56 @@
13
13
14
14
classDefaultApiImpl(DefaultApi):
15
15
asyncdefget_manifest_template(self) ->str:
16
-
return"Hello World"
16
+
return"""version: "0.1.0"
17
+
18
+
definitions:
19
+
selector:
20
+
extractor:
21
+
field_pointer: []
22
+
requester:
23
+
url_base: "https://example.com"
24
+
http_method: "GET"
25
+
authenticator:
26
+
type: BearerAuthenticator
27
+
api_token: "{{ config['api_key'] }}"
28
+
retriever:
29
+
record_selector:
30
+
$ref: "*ref(definitions.selector)"
31
+
paginator:
32
+
type: NoPagination
33
+
requester:
34
+
$ref: "*ref(definitions.requester)"
35
+
base_stream:
36
+
retriever:
37
+
$ref: "*ref(definitions.retriever)"
38
+
customers_stream:
39
+
$ref: "*ref(definitions.base_stream)"
40
+
$options:
41
+
name: "customers"
42
+
primary_key: "id"
43
+
path: "/example"
44
+
45
+
streams:
46
+
- "*ref(definitions.customers_stream)"
47
+
48
+
check:
49
+
stream_names:
50
+
- "customers"
51
+
52
+
spec:
53
+
documentation_url: https://docsurl.com
54
+
connection_specification:
55
+
title: Source Name Spec # 'TODO: Replace this with the name of your source.'
56
+
type: object
57
+
required:
58
+
- api_key
59
+
additionalProperties: true
60
+
properties:
61
+
# 'TODO: This schema defines the configuration required for the source. This usually involves metadata such as database and/or authentication information.':
0 commit comments