Skip to content

Commit 794aaa5

Browse files
lmossmanakashkulk
authored andcommitted
fix indentation of manifest template (#19523)
1 parent f06c80c commit 794aaa5

File tree

1 file changed

+47
-47
lines changed

1 file changed

+47
-47
lines changed

airbyte-connector-builder-server/connector_builder/impl/default_api.py

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -30,53 +30,53 @@ class DefaultApiImpl(DefaultApi):
3030
async def get_manifest_template(self) -> str:
3131
return """version: "0.1.0"
3232
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.':
77+
api_key:
78+
type: string
79+
description: API Key
8080
"""
8181

8282
async def list_streams(self, streams_list_request_body: StreamsListRequestBody = Body(None, description="")) -> StreamsListRead:

0 commit comments

Comments
 (0)